06-11-2015 07:32 AM
Hello,
I am trying to make labview display an error message if daq assistant is inputting more then 1amp of current, but if it is less then 1 amp of current i want the program to continue on normally. I am not sure how to program this since the comparison operators output a boolean value in labview. Is there a way on how I can change it so it will output the data coming from DAQ assistant?
I appreciate all the help!
06-11-2015 07:35 AM
You're going to want to go through some training.
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Specifically what you are looking for is after a comparision is done, do this IF the condition, ELSE do something else. That can easily be done with a case structure which chooses to execute one of two cases when a boolean is used. The Select function can also be used to select one of two values of data, which are of the same data type. Not sure if that would be useful. When you have something you should post it so we can better help.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-11-2015 08:19 AM
I figured it out. It just took some creative thinking from me. I had the knowledge but I just couldn't put all the pieces together.
How I did it is using a case structure inside a while loop. And then have an or boolean turn off the program.
Thank you for your help though!