LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

QMH launcher VI freezes and makes a ringing sound.

I am preparing for the CLA exam and hence training on the use of QMH. To do so, I didn't want to dive straight into the CLA sample exams as they are time consuming and and a straight dive wouldn't help me understand the QMH concept and how it works. Therefore, I made up a small program for pre-checking the temperature before starting a temperature test and then instucting the operator about the type of test to run according to the temperature setting.

If the set temperature is within the dangerous range, the test sould stop.

Notice that there are 4 modules, the User module, the Controller module, the Display module, and the Error module.  The problem is when I run the Launcher Vi with the "Enable Time Delay?" control set to false, the program freezes and I can't proceed, it also makes a ringing sound.

The solution I found is to delay just the Use module by 50ms and it run perfecly.

The zipped directory of the program is attached, can someone from the community out there explain to me why it freezes without the time delay.

I found the solution but I don't understand why it doesn't work with the time delay set to OFF.

The other question is: Do I have to include the time delay to User Console module  in my CLA exam? and if I don't will I be marked down?

0 Kudos
Message 1 of 4
(764 Views)

@Blocka04 wrote:

I am preparing for the CLA exam and hence training on the use of QMH. To do so, I didn't want to dive straight into the CLA sample exams as they are time consuming and and a straight dive wouldn't help me understand the QMH concept and how it works. Therefore, I made up a small program for pre-checking the temperature before starting a temperature test and then instucting the operator about the type of test to run according to the temperature setting.

If the set temperature is within the dangerous range, the test sould stop.

Notice that there are 4 modules, the User module, the Controller module, the Display module, and the Error module.  The problem is when I run the Launcher Vi with the "Enable Time Delay?" control set to false, the program freezes and I can't proceed, it also makes a ringing sound.

The solution I found is to delay just the Use module by 50ms and it run perfecly.

The zipped directory of the program is attached, can someone from the community out there explain to me why it freezes without the time delay.

I found the solution but I don't understand why it doesn't work with the time delay set to OFF.

The other question is: Do I have to include the time delay to User Console module  in my CLA exam? and if I don't will I be marked down?


So you're telling me that you are attempting a CLA exam and you don't know how to implement a CHM?  Forgive my astonishment, but if you are going for your CLA, surely you must be able to troubleshoot this issue.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(722 Views)

Thanks for your reply, but that is why I said I am attempting. 

0 Kudos
Message 3 of 4
(665 Views)

Both Display and User UIs are set to be modal. That does not work. If you want to show both UIs, use the window properties to show when called or do it programmatically.

0 Kudos
Message 4 of 4
(653 Views)