127
Irinos IR Users Manual © 2015 - 2016 Messtechnik Sachs GmbH, Germany
Measurement / Control via MscDll
o
The function
MSC_EnumerateDevices
lists all the Irinos-Systems
available. This takes about 2-3 seconds. The number of systems
found will be returned. Usually only one Irinos-System is
connected, which results in a return value of 1. If no Irinos-System
can be found, 0 is returned.
o
The function
MSC_GetDeviceInfo
returns a string, which identifies
the Irinos-System.
o
The function
MSC_OpenDevice
opens the connection to the Irinos-
System.
o
The connection is initialized using the function
MSC_InitDevice
.
o
The function
MSC_Start
starts the data exchange between the
MscDll and the Irinos-System. Various timeouts are defined within
this function call. Additionally the send-period is defined, which
determines how often data is updated. The reference manual
shows some examples.
The send-period determines, how often static measurement
values are updated. For most applications a value of 1 (= 1ms) is
appropriate.
In case establishing the connection fails, typically either an invalid
network configuration or an invalid IP address in the configuration
file MSC.cfg is the reason.
It is adviced to check the system structure after the
connection has been established.
8.6
Closing the connection
A connection to the Irinos-System must always be closed before
the application (measurement software) is closed. Otherwise an
exception can occur. The following figure shows the steps necessary
for closing the connection:
Summary of Contents for Irinos IR
Page 2: ......
Page 7: ...Introduction...
Page 15: ...Safety instructions...
Page 22: ......
Page 23: ...System overview...
Page 39: ...Product descriptions...
Page 64: ......
Page 65: ...Pin assignment...
Page 92: ......
Page 93: ...Mounting Cabling...
Page 109: ...Setup...
Page 118: ...118 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Setup...
Page 120: ......
Page 121: ...Measurement Control via MscDll...
Page 168: ......
Page 169: ...Troubleshooting and first aid...
Page 187: ...Maintenance cleaning and disposal...
Page 190: ......
Page 191: ...Application notes...
Page 198: ......
Page 199: ...Specifications dimensions...
Page 209: ...209 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 210: ...210 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 211: ...211 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Page 212: ...212 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...