I have an encoder function which has an IP and SDI input interface.
Dependent of the input interface, I need to send a specific command to my device. How can I know in my profile load script which input interface is in use?
Hi Jens,
From your reservation, you can get the service definition used.
From that service definition, you can get the node for which your profile load script is running.
From that node object, you can use the GetConnectedResources method, to find out which resources are connected to your interface.
Based on this, you should be able to detect which interface type is used.
Optionally you can pass an interface type and interface name to the GetConnectedResources method, to find out which one has any connected resources.