NMX_DigitalIoConfig_1

<< Click to Display Table of Contents >>

Navigation:  NmxDLL Reference Guide > API (programming interface) > Static Measurement (Non-Realtime) >

NMX_DigitalIoConfig_1

This function is used to disable or enable the automatic reset of digital outputs after a communication timeout.

By default this is enabled, which means that all outputs are set to low, if there is a breakdown of the communication between the NMX DLL and the digital output.

 

Definition


NMX_STATUS NMX_DigitalIoConfig_1(

 NMX_PHANDLE pHandle,

 unsigned char ucOutputResetEnabled);

 

Parameter


pHandle

Connection Handle.

ucOutputResetEnabled

0 -> Resetting the digital outputs to low state after communication breakdown is disabled.
1 -> Default: Resetting the digital outputs to low state after communication breakdown is enabled.

 

Typical function call (C example)


NMX_DigitalIoConfig_1(pHandle, 0);

 

.Net DLL specific implementation


NMX_MSTATUS DigitalIoConfig_1(

                 System::IntPtr pHandle,

                 System::Byte ucOutputResetEnabled);

 

Comments


By default, the state of all digital outputs is automatically set to low after communication breakdown is enabled. This means: if the communication breaks down: all outputs are set to low.