LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you sample a mux channel, save the data in a digital indicator on interface, then sample the next channel

I'm using labview 6.1. I want to sample a channel, see if the voltage is within a designated range, post a flag of either good or bad to the interface, and post the voltage measured on the interface, before reading the next channel. I'm a VERY new user to labview and these trivial tasks seem very hard to figure out. Thanks in advance for any help
0 Kudos
Message 1 of 2
(2,589 Views)
Justing,

To accomplish this task, I would suggest that you use AI Sample Channel.vi (Functions >> Data Acquisition >> Analog Input) to acquire the data and the In Range and Coerce function (Functions >> Comparison) to determine if it is within the designated range. I have created a quick example implementing this architecture and attached it below.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 2
(2,589 Views)