LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error in Comparison

Solved!
Go to solution

Hello, my name is Matias. I am from Argentina, ORT school. First of all, i should tell you, i am not an expert when it comes to English, so if there is something you do not understand let me know, jeje. Me and my team are working in a project, with labview program. We are having trouble when comparing some types of data.I do not know how to explain it, so i am going to show you an example. This is not our program, is just an example that shows the problem we are having. If you prefer i can upload the full program.

Thanks in advance

0 Kudos
Message 1 of 3
(2,864 Views)
Solution
Accepted by topic author ort

The Or function will not accept dynamic data for both terminals. You need to convert the dynamic data to "real" data using the Convert From Dynamic Data VI. You can insert this function in the wire coming from your DAQ Assistant. In your case you're just acquiring one sample, so you want to convert to a scalar. See attached modification.

0 Kudos
Message 2 of 3
(2,846 Views)

Thank you ,you save my life

0 Kudos
Message 3 of 3
(2,839 Views)