Method objects (ICommand nodes in GenICam) can be bound in exactly the same way however special care must be taken as their names contain information about the argument list of the method:
if(triggerSoftware.isValid)
{
TDMR_ERROR result = (TDMR_ERROR)triggerSoftware.call();
if(result != TDMR_ERROR.DMR_NO_ERROR)
{
}
}
else
{
}
bool bindComponent(Component access, String name)
Binds an access object to an internal driver object.
Definition ComponentLocatorBase.cs:77
A class to locate components within the driver.
Definition DeviceComponentLocator.cs:74
This class and its functions represent an actual device detected by this interface in the current sys...
Definition Device.cs:91
An base class for exceptions generated by Impact Acquire.
Definition Exceptions.cs:9
static String getErrorCodeAsString(int errorCode)
Returns a string representation of a error.
Definition Exceptions.cs:48
A class to call arbitrary driver functions.
Definition Method.cs:17
This namespace contains classes and functions belonging to the image acquisition module of this SDK.
Definition Enumerations.cs:2
Definition Enumerations.cs:2
Definition Enumerations.cs:2