NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a Seq File when executing UI (command line option) returns an error

Solved!
Go to solution

Hi,

 

I'm using a LabVIEW based UI to run/execute a sequence file using the command line option. My command line is D:\QF\GUI-Test.exe  -runEntryPoint "Test UUTs" D:\QF\GUI-test-Sequential.seq

When executed I get 3 popup's saying that some of the perameters "is not a valid LabVIEW file" (see attachments). Any idea how to avoid these messages? (The UI works fine and executes the Test UUT's entrypoint)

 

LabVIEW 8.5

TestStand 4.1

 

Thanks.

 

 

 

Message Edited by TomAndres on 02-09-2009 10:15 AM
Regards
Tom Andres Lomsdalen, CTD
0 Kudos
Message 1 of 6
(3,977 Views)

Hi,

 

Try  

 

D:\QF\GUI-Test.exe  /runEntryPoint "Test UUTs" "D:\QF\GUI-test-Sequential.seq"

 

Do you get the same errors if you use the default UI.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,968 Views)

Ray,

 

Using /runEntryPoint instead of -runEntryPoint  didn't help, but I tried both default UI's (simple/full) and it didn't return any errors. My UI is based on the simple, and I've made it even simplier. I'm going to stipt it for customer logos and son on an upload it. Thanks

Regards
Tom Andres Lomsdalen, CTD
0 Kudos
Message 3 of 6
(3,961 Views)

Hi,

 

I've uploaded the sample code and exe file. I still get the error popups when running this UI. I've only added the execution list bar on this GUI compared to the TS default, and removed most of the ActiveX controllers.

Regards
Tom Andres Lomsdalen, CTD
Download All
0 Kudos
Message 4 of 6
(3,957 Views)
Solution
Accepted by topic author TomLomsdalen

Hi Tom,

 

When you create a new application from you Build Specification, you have to set the "Pass all command-line arguments to application" in the Advanced tab.

Once you do this it should all work.

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 5 of 6
(3,919 Views)

Ray,

 

Excellent! That worked, thanks.

Regards
Tom Andres Lomsdalen, CTD
0 Kudos
Message 6 of 6
(3,915 Views)