05-26-2009 01:44 PM
05-27-2009 09:41 AM
Hey Taki,
Could you provide your project file and one or two of your VIs so we can see what we're dealing with?
05-27-2009 09:55 AM
I can't distribute the actual code but this generic stub project and stub vi should illustrate what I'm trying to do.
I have multiple StationArchitectures that I'm trying to support. If I stay entirely within the realm of LabVIEW, I can define my StationArchitecture at compile time and my EXE will include all of the correct routines. I'd like to be able to use the VI's that I've already built for LabVIEW inside of TestStand. (i.e. I want TestStand to run the appropriate Conditionally Disabled Code when I have an Action Step which calls the Stub VI.)
I hope that clears things up a little. Let me know if there's anything else I can provide to clarify.
05-27-2009 09:33 PM
05-28-2009 08:21 AM
Thanks Jervin,
I kind of had a feeling that my desired behavior was unsupported. Was hoping that there would be some kind of tricky backdoor though. I appreciate the response. I guess I'll just have to rewrite the code in my project to use a Functional Global for StationArchitecture instead of using the Conditional Disable Symbols.
05-28-2009 08:53 AM
05-28-2009 09:20 AM
Readback from a TestStand StationGlobal would also work. I have a slight preference for letting LabVIEW handle the variable.
There are some modules in my application which I don't want to tie to TestStand (i.e. some device drivers which should be able to run in a standalone debug mode or in an automated mode with TestStand.). For maximum reusability of these modules, I think a LV Functional Global which TestStand can Set or Get gives me more flexibility than a TestStand StationGlobal which would require all modules to instantiate TestStand regardless of whether they needed TestStand functionality or not.
I'm also fairly new to TestStand so LV is just a little more comfortable for me at the moment 🙂
Thanks for the suggestion though. It's something that I didn't really think about until after I saw your post. It definitely gave me more to think about.
05-28-2009 09:21 AM