NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Make Custom (Run-Time Error Dialog Box)

I  would like to Customize the  Run-Time Error Dialog Box   

 

bcos I want to use  H/Wbuttons (need to Init  the H/W) & not mouse to navigate thr the box 

 

is the  Dialog box available in Labview also

 

 

0 Kudos
Message 1 of 3
(4,554 Views)

Hello aparab,

 

You won't be able to edit the dialog in LabVIEW for sure. Not sure if NI provide CVI / C++ source for that.

 

You can have your own dialog by handling the run-time error using SequenceFilePostStepRuntimeError callback. Look at this example:

 

http://zone.ni.com/reference/en-XX/help/370052M-01/tsexamples/infotopics/callbacks_sequencefileposts...

 

The example ships with TestStand as mentioned in the above link. You just have to use the information which will be in Parameters.Step container for error details and to customise your dialog.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 3
(4,547 Views)

The source code for the native message popup is located in <TestStand>\Components\StepTypes\MsgBox

 

It looks like it is written in CVI.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 3
(4,534 Views)