04-29-2014 03:56 PM
I am using as basis UserInterface\NI\Simple\CVI\Testexec.prj. I want to force the application to launch a certain sequence.seq file without going through the OPENFILEBTN callback. I would like to open a custom panel from whichthat the oprator will select cetain line and base on his selection I want to use the Simple Test Executive Operator Interface to open the related sequence without having the operator to press on the OPEN Btn.
Which callback should I use to load a certain PATH and sequence file.
Thanks
04-30-2014 12:57 PM
Hello JTTest1997,
The last release of Test Executive was back to 1999, so it is hard to find documentation about it. This toolkit was replaced with TestStand software.
However, I was opening User Interface developed in CVI with the TestStand API (which is pretty similar with TestExec) and found out this function:
HRESULT CVIFUNC TSUI_SequenceFileViewMgrConnectSequenceFileList (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
CAObjHandle uiObj,
VBOOL fullPath,
TSUIObj_SequenceFileListConnection *val);
This function will connect to the sequence specified in the FileCombo box.
Regards,
Carmen C.
04-30-2014 01:25 PM
Hi Carmen C,
That is not what I want going through the FileCombo box. I want to specify directly the .seq file.
Is there a CVIFunction that will do that instead of going through the FileCombo box.
Regards
05-09-2014 05:38 PM
Hi JTTest1997,
Try looking at the following thread.
Load Sequence File Dynamicly back from 2007, TerryS may be talking about what you want to do.
Hope this helps,
Chris
05-12-2014 12:22 AM
Another Idea: Teststand allows to specify a sequence file as command line argument. If testexec shares the same feature, it might be worth to have a look at the code that handles that commandline argument in testexec.