09-09-2010 06:19 PM
Hi all...
I'm trying to create a User (Operator) Interface for LabVIEW to call a TestStand sequence (I'll call this "Test.seq" from now on). The main highlights:
I have been fooling around with the Simple UI that comes with TestStand and definitely have a little sense of how things work within that. However, I am not an extremely experienced developer, so I'm running into issues when I try to modify that UI to fit the needs that I outlined above.
A few problems that I'm encountering:
I did figure out how to disable the Login request by using a property node on the Application Manager reference to disable "LoginOnStart" and this seemed to have worked as I expected.
I appreciate any feedback I can get on this, as I'm struggling after a few days of digging into this myself.
Thank you in advance,
Seth
09-09-2010 08:40 PM
What you’re asking to do isn’t trivial, and requires a decent level of both LabVIEW and TestStand’s API. We have both an OI and a TestStand API reuse module that we use internally that does what you’re after, and I’d be happy to discuss those offline if you’re interested.
09-09-2010 10:36 PM
Seth,
I wrote a small teststand UI a few years back that does almost exactly what
you want. Its not really possible to rename the buttons in labview because
they are references to teststand objects and not labview controls. You
would have to rename the objects in teststand and I don't know enough about
it to help you there. Once the sequence starts running the button will
re-name itself to whatever testand says.
The rest of the coding is not that easy, especially for a new developer, but
if you dig into the sample OIs provided with teststand it is possible. Most
of this code is copy/paste right from the samples. You should be able to
figure out whats going on, and you can terminate a sequence by using the
exit button. Not sure how you would add a separate terminate button as its
been quite some time since I wrote this.
I provided a sample sequence that you can test the code with. Put it in
either the project root or the application root if you build.
Mike K
09-13-2010 12:14 PM
Hi Mike,
Thank you for the insight. You say you wrote a UI that does almost exactly what I want... Was that written in LabView?
Also, would you be able to send me your sample code in a different format besides zipx? I am unable to unpack that compressed file...
Even though I'm a new developer, I think I have done enough coding in both LabView and TestStand that I should be able to figure this out.
Seth
09-14-2010 12:28 PM
Here's a little more info on what we have: http://lavag.org/topic/10778-teststand-and-userinterface/page__p__70845#entry70845 - there's a small screenshot of onw of the OIs, as well as (a couple of posts later) a info sheet on the ATES platform.