From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 

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
(7,212 Views)
Solution
Accepted by topic author Underflow

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
(7,205 Views)

Thanks Kyle, that makes sense.

 

JZ

0 Kudos
Message 3 of 3
(7,195 Views)