05-21-2023 05:24 PM
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?
05-22-2023 01:39 AM - edited 05-22-2023 01:49 AM
@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.
05-25-2023 12:30 PM
Thanks for your reply, but that is why I said I am attempting.
05-25-2023 03:09 PM
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.