Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ change detection function that returns a BCD to indicate which lines have had state changes

Hi,

It was recommended to me to use the DAQ change detection function that returns a BCD to indicate which lines have had state changes. Does anyone know of this function, and it it is DAQmx or Traditional DAQ?

Thank you.

Danielle

0 Kudos
Message 1 of 4
(5,501 Views)

 

Danielle,

 

Check out this link which gives an overview of change detection using NI-DAQmx. It depends mostly on your hardware.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAn9SAG&l=en-US

 

 

Brad S. | National Instruments | CLA
0 Kudos
Message 2 of 4
(5,461 Views)

Hi Brad,

I saw that white paper before. I am just looking for the name of the method described above. I have a USB 6509. I am using C, not labview.

Best,

Danielle

0 Kudos
Message 3 of 4
(5,454 Views)

 

There are text based examples that install when you install DAQmx. They are located at Start » All Programs » National Instruments » NI-DAQ » Text-Based Code Support » ANSI C Examples » Digital » Read Examples. There will be examples on how to do change detection in C. 

 

 

If they are not installed follow the instructions here to install them.

https://www.ni.com/en/support/documentation/supplemental/18/ni-daqmx-example-locations-for-labview-a...

 

Here is a link to the C Reference Help for DAQmx Functions

https://www.ni.com/docs/en-US/bundle/ni-daqmx-c-api-ref/page/cdaqmx/help_file_title.html

Brad S. | National Instruments | CLA
0 Kudos
Message 4 of 4
(5,436 Views)