Jump to content

Queues/Data Exchange between TestStand and LabView


Recommended Posts

Hi folks,

Does anyone know of any example TestStand and Labview code that does something similar to the following...?

I'd like to start a vi in its own parallel thread from TestStand (which is working), and then at various places through my TestStand sequence, get data back from it via a queue. I've done this between 2 labview vi's on numerous occasions, but I can't seem to work out how TestStand and labview share the queue.

Any clues anyone?

Cheers,

ChrisC.

Link to comment
Hi folks,

Does anyone know of any example TestStand and Labview code that does something similar to the following...?

I'd like to start a vi in its own parallel thread from TestStand (which is working), and then at various places through my TestStand sequence, get data back from it via a queue. I've done this between 2 labview vi's on numerous occasions, but I can't seem to work out how TestStand and labview share the queue.

Any clues anyone?

Cheers,

ChrisC.

Here is one way to do it (I think). You dynamically launch a VI; this VI will be your queue generator. You can then launch any VI via the sequence and the queue should be accessable. You will have to keep a reference to the dynamically launched VI in TestStand and be sure to kill it at the end of the sequence.

Be sure to let us know if it works :D .

Bob Young

Link to comment

Thanks Bob,

Sure does, I've used this method to interchange data between vi's called from TestStand before, and it's really neat. It's a good way of implementing a "communications manager" (e.g. for serial comms to your device under test), where multiple vi's can talk to it.

What I was hoping to achieve was to pass data into TestStand directly from LabView without needing another vi by them using the same queue instance. Having done a bit more research, it can be done, although it seems a little more complex than first impressions suggest. Here's a link to something similar to what I was trying: http://forums.ni.com/ni/board/message?boar...y.id=7658#M5275

Thanks for the info, have sorted my problem through an alternative and simpler method....

Cheers,

ChrisC.

Link to comment
  • 1 year later...

QUOTE(Chris Cartwright @ Jun 8 2006, 07:28 AM)

Hi folks,

Does anyone know of any example TestStand and Labview code that does something similar to the following...?

I'd like to start a vi in its own parallel thread from TestStand (which is working), and then at various places through my TestStand sequence, get data back from it via a queue. I've done this between 2 labview vi's on numerous occasions, but I can't seem to work out how TestStand and labview share the queue.

Any clues anyone?

Cheers,

ChrisC.

You might possibly be having problems using a local queue between your TestView launched VI and the other VI. You should look at using remote queueing as described at openG.org.

It shouldn't be a problem to do what you are describing as I am doing something very similar now in my own project.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.