Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Merge I/O lines?

Is there any way to merge I/O lines? 

 

Here is my issue.  I have 40 thermistors, i want to be able to toggle them individually to either read air speed or temperature.  For this i have to run them with 2 seperate scanned write blocks.  One block will use the PID to vary the current, the other block has a non-changing current of 100uA. 

 

Is there any way to create and manipulate an array of I/O lines?

0 Kudos
Message 1 of 3
(4,493 Views)

You can create a DAQmx task with multiple channels (lines) in it.  You can then write to the task using a 1D array of booleans.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(4,476 Views)

i'll give that a try thanks

0 Kudos
Message 3 of 3
(4,464 Views)