09-17-2019 02:06 PM
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
09-18-2019 04:27 AM - edited 09-18-2019 04:53 AM
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)
09-24-2019 02:17 AM
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