ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple TestStand engine references when using multiple VIs with the TS operator interface

Hi

 

I am developing a TestStand Operator Interface based on the fully fledged TS-OI example shipped with LV/TS.

I am trying to dynamically load another VI which is supposed to show result graphs from the test currently running in the OI.

My problem is that the TS-OI (obviously) uses the Application Manager, SequenceFileView Manager and the ExecutionView Manager controls for this purpose.

 

My challenge arises when I try to load a VI into a control in the TS-OI, since this VI also uses these three controls, and you're only supposed to call them once.

 

I then read that this is no problem since the TS Engine can be accessed using a simple Automation Refnum to TSUI.IApplicationManager and performing an "Automation Open" command. I can easily place the reference, but I can never open a reference to the Engine since I get the error "Automation Open: Object specified is not creatable in Untitled.vi". Error code 3005.

 

I'm using LV/TS 2017.

 

Any suggestions as how to proceed? I need to make these two VIs coexist using the same references to the TS engine, and I'm not sure how to do this.

 

Any help is appreciated!

 

-Kim

0 Kudos
Message 1 of 3
(2,480 Views)

Why can't you pass the references to the TestStand controls (from the top-level UI) into the dynamically called VI?

 

(btw, the TestStand forums might be the best place to discuss this)


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 3
(2,406 Views)

Hi

 

I could, but the VI is already used in a production setup, and changing the inputs or outputs is not ideal, since all existing sequences will need to be updated in this case.

 

I have posted the same thread in the TestStand group.

 

-Kim

0 Kudos
Message 3 of 3
(2,365 Views)