LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading values from an array element and sending a digital output to a designated channel depending on the value read from the array

Solved!
Go to solution

hi everyone

 

could anybody help me before i pull out my hair. Here is my problem#

 

I am reading 3 values from a 3 element array i.e. 1,2,3 . these values are then compared to a constant value , example if the first array element is 1 and it satisfies the comparison condition then send a digital output to that designated channel on the DAQ

 

I want to be able to send a value from a array to its corresponding comparison and then onto its designated channel on the DAQ, the whole point of this is due to the fact the array element will not always read in the value 1,2,3 i.e. could be 2,3,1

 

below is a the vi I have so far

 

if somebody could help it would be much appreciated 

 

all the best

 

mark 

 

0 Kudos
Message 1 of 4
(4,580 Views)
Solution
Accepted by topic author Tomber

Take some time to explore the many examples included with LabVIEW that cover the fundamentals.

 -  array indexing

 - reading a spreadsheet file

 

Download All
Message 2 of 4
(4,551 Views)

hi jeff

 

that is very similar to what i done , i eventually sorted it out but again i would like to thank you for taking the time to reply.

 

all the best

 

Mark

Message 3 of 4
(4,537 Views)

Mark,

Why are using express Vi's to do simple comparisons?

 

Alan

0 Kudos
Message 4 of 4
(4,510 Views)