LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add sound to the general error handler

Solved!
Go to solution

I'm looking for an easy way to create an audible indication (a beep or something) when the general error handler displays an error message.  Anyone have any suggestions??

0 Kudos
Message 1 of 4
(3,615 Views)
Solution
Accepted by topic author Bill_Simmons

Hi Bill,

 

make a shell vi containing the error handler and an additional "Beep" function. Et voila...

Best regards,
GerdW


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

Bill,

 

Run the error wire to the selector terminal of a case structure (which then becomes an error/no error structure), wire the error wire straight through both case, and connect to the General Error Handler.  In the Error case put the Beep.vi

 

Lynn 

Message 3 of 4
(3,607 Views)

Hi Bill,

 

I thought this was an interesting idea, so I wrote up the code and posted it on the NI Community here: Simple Error Handler with Beep.  If you have any cool VIs that you'd like to share, you can post them on the community as well to share them with others.  Thanks!

Stephen Meserve
National Instruments
Message 4 of 4
(3,559 Views)