LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying message to user when an error occurs

I have multimeter HP 34401A and i need display message to user when wrong port will be choosen. I have 2 simple examples how do this, but i dont know is this correct to handle error like that. Anyone can confirm or give me better solution?

Download All
0 Kudos
Message 1 of 2
(2,381 Views)

Whenever you are sharing the code, try to use Lower VErsion because not all the users will have the latest Version.

 

To answer your question, simply connect the error wire to a case structure even with error code you can decide the case and inside the case of error place an Message Pop up VI.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 2
(2,309 Views)