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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 Analog Input don't work together

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
(494 Views)

@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
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 12 of 14
(490 Views)

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

0 Kudos
Message 13 of 14
(469 Views)

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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 14
(467 Views)