This function counts all configured devices (i.e. Irinos-Systems) and returns the number of systems available.
Definition
MSC_STATUS
MSC_EnumerateDevices(
unsigned long* DeviceNumber
);
Parameter
DeviceNumber
Returns the number of systems available.
Return value
If successful, MSC_STATUS_SUCCESS will be returned. In case of an error, an error code will be returned.
Comments
The MscDll is able to communicate with multiple Irinos-Systems simultaneously. However, typically only 1 Irinos-System is used, which results in the value 1 for the parameter DeviceNumber.
The behaviour of this function depends on the setup in the configuration file. If new devices are added this function must be called again to open it.
This function does not search for Irinos-Boxes. It searches for Irinos-Systems (Irinos-Boxes with Ethernet interface).
See also