Read dynamically created file object

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
dadidag
Jr. Member
Jr. Member
Posts: 2
Joined: 10 Dec 2019, 08:19

Read dynamically created file object

Post by dadidag »

Hi all,

I need to read a file from a server using GenerateFileForRead-Method. The server generates the State-Machine-object and the File-Object dynamically, GFFR returns me the NodeIds of both objects.
Using re-browse I "see" the State-Machine object in the browse-tree but not the file-Object, so I can't call methods of the file-object.

I tried tu use "Add custom node" and used the NodeId of the File-object, but nothing happened.

Q1: what is "Add custom node" good for at all?
Q2: is there a way to call methods of the file-object when only the NodeId of the File-object is known?

Help would be greatly appreciated!

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Read dynamically created file object

Post by Support Team »

Hi,

no the AddCustomNode is not the right way, it is just a (simplified) example for adding node to a server, which of course the server must have implemented.

If you cant see the expected node there might be 2 possible reasons.
1) the server does not have this node, or is missing proper reference to this node
2) the server has assigned certain "access rights" on this node, which you don't have
Best regards
Unified Automation Support Team

Post Reply