LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert voltage form analog input of daq to True and false (0=fasle 0.1-10 = true)

Solved!
Go to solution

i want to use for on LED or Picture

 

Ex reciece 10 V from ai0 for show LED or Picture on front panel

 

Help me please

0 Kudos
Message 1 of 6
(2,903 Views)

Hi

 

Is it  what you want to do:

 

show True value on the boolean when you receive any data in the range 0.1 to 10V?

show False value on the boolean when you receive 0V?

 

What is the device you are reading from? what is the data type you are reading? is it a single integer value/array of data or waveform data?

what is the rate at which you are sampling the data? how many samples are you reading at a time and how often are you reading it?

 

post a code if you have started with one.

 

did you try the comparison function 'equal to 0' or 'not equal to 0'?

 

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 2 of 6
(2,896 Views)
Solution
Accepted by topic author KKSS

As for the comparision part, it should look like this.

Comparisoin.png

 

As Freelance LV  quoted earlier,you should provide additional info to get apt solution

0 Kudos
Message 3 of 6
(2,894 Views)

that is iwant to do but i don know how to pull input form daq

0 Kudos
Message 4 of 6
(2,884 Views)

mydaq is 6122 ai0.x

voltage single integer

sample 1k

read 100

0 Kudos
Message 5 of 6
(2,882 Views)

Can you please post your vi ?

0 Kudos
Message 6 of 6
(2,878 Views)