From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneous digital input

Welcome,

I am using NI USB-6259 device. I have created an access library for this device using native C. The problem appears when I want to create a task with two digital channels: e.g. line0:3 and line4:7. This is continously working task so I register an everyNSamplesEvent callback for each channel. This callback returns data for both channels. At least it should. The behaviour of this callback is quite strange because the change state on lines 4:7 returns proper data (for both channels) but changing state of lines 0:3 returns always 0 for this channel. So if I want to see the state of first channel I have to force the digital state change on the second one. What is the problem and how can I fix it?

The driver version installed: DAQmx 8.7.1

 

Regards,

Dariusz Boczkowski 

0 Kudos
Message 1 of 1
(3,278 Views)