Page 1 of 1

Read dynamically created file object

Posted: 19 May 2022, 07:21
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!

Re: Read dynamically created file object

Posted: 27 May 2022, 09:06
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