DELIB API reference |
Seite
67
5.4. Setting Digital outputs
5.4.1. DapiDOSet1_WithTimer
Description
This function sets a digital output (ch) to a value (data - 0 or 1) for a specified
time in msec.
Definition
void DapiDOSet1_WithTimer(ULONG handle, ULONG ch, ULONG data, ULONG
time_ms);
Parameters
handle=This is the handle of an opened module
ch=Specifies the number of the output, from which it begins to write to (0, 32,
64, ..)
data=Specifies the data values, to write to the outputs
time_ms=Specifies the time, in which an output is set [ms]
Return value
None
Remarks
This function is only supported by our RO-O8-R8 module.
This function will lose its validity, if it is overwritten with other values.
If you want to deactivate this function, you will have to overwrite it with
time_ms=0.
Example program
DapiDOSet1_WithTimer(handle, 2, 1, 1000);
//Setting channel 2 for 1000msec to 1
Содержание ETH-TTL-64
Страница 1: ...Hardware Description Juli ETH TTL 64 2019 ...
Страница 5: ...I Introduction Seite 5 Introduction ...
Страница 7: ...II Hardware description Seite 7 Hardware description ...
Страница 13: ...Hardware description Seite 13 2 4 Overview screen ETH TTL 64 ...
Страница 17: ...Hardware description Seite 17 problem is solved ...
Страница 19: ...III Software Seite 19 Software ...
Страница 29: ...Software Seite 29 Choose the option create VIs for DLL and press continue ...
Страница 30: ...Software Seite 30 In the next window choose the path to the delib h and delib dll and press continue ...
Страница 31: ...Software Seite 31 Press continue again The Header File will now be analized Afterwards press continue ...
Страница 32: ...Software Seite 32 Follow the instructions and configurate the name and the saving location for the VIs ...
Страница 33: ...Software Seite 33 In the new window choose Easy error correction in the drop down menu and press continue ...
Страница 39: ...Software Seite 39 ...
Страница 40: ...IV Hardware Seite 40 Hardware ...
Страница 46: ...Hardware Seite 46 Geben Sie hier den Text ein ...
Страница 47: ...V DELIB API reference Seite 47 DELIB API reference ...
Страница 79: ...VI Appendix Seite 79 Appendix ...