I have a LabWindows/CVI program that is using a "system" call to launch the supplied TestStand 3.1 Full Operator I/F and to run a specified TestStand sequence. The line in LabWindows/CVI appears as follows:
// Create a string to hold the system command string. Note: Command and parameters of the system
// command have long file names, so have to build cmd strings that are enclosed in
// quotes. Have to have "nested strings" here.
// Remember that to put a " in a string, have to use the escape, i.e. "\""...
sprintf(cmdString, "\"C:\\Program Files\\National Instruments\\TestStand 3.1\\OperatorInterfaces\\NI\\Full-Featured\\CVI\\TestExec.exe\" -run MainSequence \"C:\\SCATE\\System Software\\Alignment\\SCATE_Alignment.seq\"");
sysStatus = system(cmdString);
The TestStand sequence starts as expected running the MainSequence, but when I click on the "Report" tab, I see that no report is generated (on-the-fly reporting is set, but nothing is generated during or after the execution of the sequence). This happens on more than one TestStand sequence that I tested.
If I use a desktop icon to launch the Full Operator I/F and run the sequence, the sequence works properly, and the test report is generated.
Any clues? I'm confused.
Harv