LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent help needed!!

Hi guys,

I need some help urgently. In my code, I have included a "Display message to user express VI" inside a case structure to display the warning message when the motor RPM is less than or equal to 10000. The issue I am having is, whenever the warning message pops-up, the code execution pauses until I click OK in the warning message window. What I'd like to see is, the code must continue to run without pausing when the warning message is displayed. I would like to see the graph updating and the data recording to a file continue without any interrution when the warning message is displayed.

 

I need to fix this issue ASAP. I can think of one way of doing this by using the producer-consumer architecture. But that requires some coding and modifications to my current code. Due to lack of time I need to look for alternative methods of doing this. Any idea how to get this done? I have attached my code. Please have a look at it and let me know how to resolve this issue. If you can show a screen shot of your solution, it'll be easy for me to understand as I am new to labview platform. Any help is greatly appreciated.

 

Thanks,

Raj

0 Kudos
Message 1 of 2
(2,220 Views)

Hi Raj,

 

you're a funny guy. You already noticed, that you need some code changes, but instead of making them you rather wait for someone else to do your job?

 

"the code must continue to run without pausing when the warning message is displayed."

Get rid of the ExpressVI!

 

"I need to fix this issue ASAP"

Then program it ASAP!

 

"But that requires some coding and modifications to my current code. Due to lack of time I need to look for alternative methods of doing this."

Ok, you know you have to change the code, but you want hints on how to avoid code changes??? Come on...

 

More hints:

- Use parallel loops for measurement and UI handling (inclusive the warning dialog). That way any UI stuff will not pause your measurement loops...

- A blinking LED might be more intuitive to warn a user than an annoying dialog, that has to be acknowledged to close...

Best regards,
GerdW


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