LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 Analog Input don't work together

Highlighted

thank you for your reply .. but i done this .. i can't get the other data
everytime i get the data from the first bin can't extract the other value

0 Kudos
Message 11 of 14
(133 Views)
Highlighted

@El-Awny wrote:

 ( The indicator is a numeric data of 1 sensor not an array )


You answered your question right here.  If you tell the "From DDT" to convert to a single scalar value, that's all you will get.  You'll need a 1D array of scalars if you are reading 1 sample from 2 channels.  

 

BTW, this code doesn't have two channels configured. 


aputman
LabVIEW 2017
LabVIEW Programming
0 Kudos
Message 12 of 14
(129 Views)
Highlighted

I can't get it.
Is there anyway to get the data from the 2 analog inputs together ?

0 Kudos
Message 13 of 14
(108 Views)
Highlighted

Hi El-Awny,

 

open the Example Finder from LabVIEW help menu.

Look for DAQmx examples.

Choose an example explaining how to read multiple analog inputs… (like "Analog Input - Voltage and Thermocouple in a Single Task")

 

Isn't this the most forward way to learn about a feature in LabVIEW?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win10+cRIO
Message 14 of 14
(106 Views)