LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i expand my labview program to read 8 analog inputs?

I am an electronic tech learning labview, The program I developed drives a solenoid high for three seconds, takes an analog reading, and then goes low and takes another reading.

Program seems to work well. I would like to expand it to drive 4 solenoids and read 4 analog channels. Any sugggestions on how to create multiple instances and info on other design implementations would be appreciated. Thanks in advance. I have attached vi.

JohnG.

0 Kudos
Message 1 of 2
(2,525 Views)
You can define multiple channels in your DaqMX controls.  In your write and read statements, you change them from 1 channel to N channels.  You will need to send in an array on the Write Booleans, and the output of the Read Analog will also be an array.
0 Kudos
Message 2 of 2
(2,503 Views)