LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application instance of Labview adapter

Solved!
Go to solution

Hi,

 

Is it possible to select in which application instance the TestStand LabView adapter runs? Or does it
always run in main application sequence?

 

This a our problem:

 

We have a VI (let's call it VI1) which runs on sbRIO. System is built so that VI1 needs to run all the time. We want to control VI1 with a TestStand sequence through another VI (let's call it VI2). TestStand sequence turns knobs in VI2 which should have effect in VI1. Communication is done through queues. Problem seems to be that VI1 runs in sbRIO application instance, but VI2 runs is main application sequence when it is called from TestStand sequence.


Communication works if we leave TestStand out. If we start first VI1 and then VI2 they both run in sbRIO application sequence. In such case we can control VI1 using VI2. This was verified by turning knobs in VI2 and observing that it had effect on VI1.

 

If there is not way to select application instance for Labview adapter, what could be another way to handle such case?

 

Thanks, any help is appreciated.

 

 

We are using TestStand 2010/Labview 2010.

 

0 Kudos
Message 1 of 4
(2,559 Views)
Solution
Accepted by topic author MSee

So the sbRIO is running VI1 all the time. And once in awhile you run a TestStand sequence where you want to communicate between VI2 and VI1.

 I'm not sure about the application instance question but instead of using queues could you look into using Network Shared Variables hosted on the sbRIO?

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 4
(2,542 Views)

> So the sbRIO is running VI1 all the time. And once in awhile you run a TestStand sequence where you want to communicate between VI2 and VI1.

 

Yes exactly.

 

I found information about playing with application instances (http://zone.ni.com/reference/en-XX/help/371361D-01/lvconcepts/application_instances/). There it is said that application reference must be used if interacting with different application instances. Does anyone know how to do it (if possible) in TestStand?

0 Kudos
Message 3 of 4
(2,512 Views)

We solved this by using Network Shared Variables. Thanks!

0 Kudos
Message 4 of 4
(2,464 Views)