DELIB API reference | Seite
87
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
Содержание USB-OPTOIN-8
Страница 1: ...Hardware Description Dezember USB RELAIS 8 OPTOIN 8 2012 ...
Страница 5: ...INDEX Index 5 Seite 6 Appendix 98 6 1 Revisions 98 6 2 Copyrights and trademarks 99 ...
Страница 6: ...I Introduction Seite 6 Introduction ...
Страница 8: ...II Hardware description Seite 8 Hardware description ...
Страница 11: ...Hardware description Seite 11 2 2 2 Product pictures USB RELAIS 8 USB RELAIS 8_A USB RELAIS 8_B ...
Страница 12: ...Hardware description Seite 12 2 2 3 Overview screen ...
Страница 16: ...Hardware description Seite 16 2 3 2 Product pictures USB OPTOIN 8 USB OPTOIN 8_A USB OPTOIN 8_B ...
Страница 17: ...Hardware description Seite 17 2 3 3 Overview screen ...
Страница 20: ...Hardware description Seite 20 ...
Страница 21: ...III Firmware update Seite 21 Firmware update ...
Страница 24: ...Firmware update Seite 24 After successful update procedure the message FLASH OK appears ...
Страница 25: ...IV Software Seite 25 Software ...
Страница 39: ...Software Seite 39 Check under Projekte und Projektmappen Erweiterte Buildkonfigurationen anzeigen ...
Страница 48: ...Software Seite 48 Choose the option create VIs for DLL and press continue ...
Страница 49: ...Software Seite 49 In the next window choose the path to the delib h and delib dll and press continue ...
Страница 50: ...Software Seite 50 Press continue again The Header File will now be analized Afterwards press continue ...
Страница 51: ...Software Seite 51 Follow the instructions and configurate the name and the saving location for the VIs ...
Страница 52: ...Software Seite 52 In the new window choose Easy error correction in the drop down menu and press continue ...
Страница 67: ...V DELIB API reference Seite 67 DELIB API reference ...
Страница 97: ...VI Appendix Seite 97 Appendix ...