152
Irinos IR Users Manual © 2015 - 2016 Messtechnik Sachs GmbH, Germany
Measurement / Control via MscDll
if (result != MSC_STATUS_SUCCESS) return -107;
result = MSC_GetPosition(pDevice, opcRDM2, &nSymplesDyn2);
if (result != MSC_STATUS_SUCCESS) return -207;
Sleep(50);
// Take a break for 50 ms
} while ( (nSamplesDyn1 < 10000) && (nSamplesDyn2 < 5000) );
// Inactivate trigger 1
ansiString = “
#1#
”;
WriteCommandStr(opcIT, ansiString);
// Inactivate trigger 2
ansiString = “
#2#
”;
WriteCommandStr(opcIT, ansiString);
// All measurement values are available now and can be
evaluated.
Notes
o
In this example, both dynamic measurements are started
simultaneously. They can also be started independently.
o
The time-triggered measurements are stopped in different ways:
measurement 1 is stopped after a certain time, measurement 2 is
stopped after a certain number of samples have been taken. Using
the time-triggered dynamic measurement, both methods are
equal.
In reality, one would use either of these methods for both
measurements.
o
The do-while-loop is finished, if all dynamic measurements are
finished. Since the first dynamic measurement stops earlier, it
would be possible to evaluate its measurement values earlier.
o
Measurement channel T2 is used in both dynamic measurements.
This is not a problem, since both dynamic measurements use an
independent recording of the measurement values.
8.10 Bit I/O
The exchange of Bit I/O data is similar to the static measurement.
The following figure shows the steps for the start of the Bit I/O data
exchange:
Содержание Irinos IR
Страница 2: ......
Страница 7: ...Introduction...
Страница 15: ...Safety instructions...
Страница 22: ......
Страница 23: ...System overview...
Страница 39: ...Product descriptions...
Страница 64: ......
Страница 65: ...Pin assignment...
Страница 92: ......
Страница 93: ...Mounting Cabling...
Страница 109: ...Setup...
Страница 118: ...118 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Setup...
Страница 120: ......
Страница 121: ...Measurement Control via MscDll...
Страница 168: ......
Страница 169: ...Troubleshooting and first aid...
Страница 186: ...186 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Troubleshooting and first aid...
Страница 187: ...Maintenance cleaning and disposal...
Страница 190: ......
Страница 191: ...Application notes...
Страница 198: ......
Страница 199: ...Specifications dimensions...
Страница 209: ...209 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Страница 210: ...210 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Страница 211: ...211 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...
Страница 212: ...212 Irinos IR Users Manual 2015 2016 Messtechnik Sachs GmbH Germany Specifications dimensions...