NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to replace the file dialog box with a programmable dialog box, that generates its selections from Database Information

Where would be the best place to achieve this?

I have been thinking about these options:
- Modification of the Operator Interface.
- Modification of the Sequence Model.
- Use callbacks to modify the sequence model.
- Use callbacks to modify the Engine (ie the Auto.seq example)
Or combinations of the above.

The biggest requirement I have in developing this project is in the reuse of code and I believe that callbacks in the seq would be the way to achieve this.
But I am not familiar with the usage of callbacks in teststand (yet) and I don't know where to look for information/examples on what I can do with them.

Has anybody done anythin
g similar?

Any suggestions would be great!

Tim
0 Kudos
Message 1 of 4
(3,247 Views)
HI Tim,

Which dialog box are you trying to change? Are you trying to modify the file dialog box in the operator interface from where you select the sequence that you want to run? Wich operator interface are you using?

Best Regards,

Alejandro del Castillo
NI
0 Kudos
Message 2 of 4
(3,247 Views)
I am trying to replace the operators interface's sequence file dialog box. I am also trying to hide the standard operators interface.

What I am after is to replicate a user experience!
Teststand is being used to replace an ATE written in LV where each of the tests are hardcoded in. The user selected the product and test types from a button based dialog boxes.
I am using TS to overcome all of the limitations of the original ATE, but one of the requirements is the system has to have the same look and feel of the original.

I originally though that I would have to modify an operators interface, but I would prefer not too, and would rather change the process models and use engine and station callbacks.
If I have to change an operatos interface, I would pre
fer if the changes didn't affect the normal running of standard TS sequences.

I have attached the process model, i am trying to achieve, (its in Visio).

Tim
0 Kudos
Message 3 of 4
(3,247 Views)
You will have to modify the operator interface because the file dialog box is being displayed using a call to the TS engine itself. This shouldn't be hard at all, you just need to modify the vi Teststand - Open Sequence File Dialog.vi. There you will find the engine call DisplayOpenFileDialog, this call returns the path to the sequence selected.

You need to replace this call with your own custom vi that will be in charge of giving the user the option to select between your own different sequence files, and then return the path to the file. The rest of the Operator Interface should remain the same.

Best Regards,

Alejandro del Castillo
NI
0 Kudos
Message 4 of 4
(3,247 Views)