Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxSetDIInvertLines

Where is some example to use DAQmxSetDIInvertLines() function?

 

Regards,

I'm converting DAQ to DAQmx..from Parkoz.com
0 Kudos
Message 1 of 2
(3,136 Views)

Hi anarkie,

 

You can find information about this function in the NI-DAQmx C Reference Help.  The Help is installed with DAQmx and can be found at Start >> All Programs >> National Instruments >> NI-DAQ >>Text-Based Code Support >> NI-DAQmx C Reference Help.  I searched for DAQmxSetDIInvertLine and found help for the syntax of this function and a brief description of what the function does.  I would also suggest looking at the example programs located at  Start >> All Programs >> National Instruments >> NI-DAQ >>Text-Based Code Support >>ANSI C Examples.  These examples will give you a good starting point for using DAQmx. I would take a look at the Read Dig Chan example, located in the C examples at Digital >> Read Values >> Read Dig Chan.  You will notice that at the beginning, the task and channel are created.  Once these are created, you will be able to use the DAQmxSetDIInvertLines function.  I have added an attachment modified from the Read Dig Chan that does exactly this.  

Regards,
Jim Schwartz
0 Kudos
Message 2 of 2
(3,110 Views)