LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Error handling in the LVWebUIBuilder

Solved!
Go to solution

Impressive stuff.

 

I don't see any error handling mechanisms in the LVWUIB.  Are they there, and I'm missing it?

 

Thanks,

 

Joe Z.

0 Kudos
Message 1 of 3
(4,843 Views)
Solution
Accepted by topic author Underflow
08-27-2015 04:09 PM

Hi Joe,

 

With the error cluster, you can use the Unbundle Error function (http://zone.ni.com/reference/en-XX/help/373286A-01/uibuilderref/wuib_unbundle_error/).

 

To add error handling to your subVIs, you need to create error terminals from any function that has error inputs and outputs.  Then, select the View tab and click SubVI Settings.  From there you can add error in and error out terminals.

 

You can create error windows using the Display Debug Assert function (http://zone.ni.com/reference/en-XX/help/373286A-01/uibuilderref/wuib_display_debug/):

 

wuib_errorbd.png

 

wuib_errortest.png

 

Note that I have to invert the error boolean to make the dialog pop-up.

0 Kudos
Message 2 of 3
(4,836 Views)

Thanks Kyle, that makes sense.

 

JZ

0 Kudos
Message 3 of 3
(4,826 Views)