LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display a message to a user using sub vi and NOT the display message to user function.

Solved!
Go to solution

Hello, I need to make a labview program where it displays colors using rgb to color function depending on the input of a string through a case function. I need to display a message if its an invalid input and I am able to get a message using a sub vi but it keeps opening because I am using a wait function inside a case structure to run it. The hints I was given is I need a case structure, sequence, wait function, and sub vi but I do not have the sequence still.

 

I have a download if anyone is able to look at it.

Thanks ahead of time for looking and checking out my post 🙂

labviewproblem.PNG

0 Kudos
Message 1 of 2
(554 Views)
Solution
Accepted by topic author beepimajeep

Hi beepi,

 


@beepimajeep wrote:

The hints I was given is I need a case structure, sequence, wait function, and sub vi but I do not have the sequence still.


My suggestion: use an event structure inside the big while loop.

Now you can only execute the code when the string input changes…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(537 Views)