08-08-2007 02:51 PM
Does anyone out there no of a good way to do this. I have tried but have failed miserably because it is hard for me to get my head around the fact that teststand is not actually acting as a part of LV but as a seperate entity.
Are there any draw backs to doing things this way or more clever ways to acheive what I want?
Thanks in advance,
08-08-2007 03:16 PM
@Jhoskins wrote:
- Programatically add sequence files to the file list but take away the option for the user to add or remove files from the list but still be able to select the test and run it.
- I would also like to be able to detect which test has been selected whether or not the user is going to run the test, so that I can display the correct options for the test.
1. Try an invoke node on the Application Manager reference and select the method OpenSequenceFile. Not sure yet how to disable a user from selecting sequence files but I sure it can be done, still looking...
2. Try modifiying the DisplaySequenceFile Event callback. It is set in Full OI - Configure Event Callbacks.vi. Check out the help for this callback too.
Hope this helps,
08-08-2007 03:31 PM
I think there are two places that you would have to go to disable the user from opening a sequence file. Edit the runtime menu and also edit the callback that allow a user the right click on the listbar control to open the sequence. The callback for the right click seems to be "Full OI - ListBar CreateContextMenu Event Callback.vi"
Also, I am not using Teststand 4.0 but 3.0. I am assuming that they are similar with respect to you question but I may be wrong.
08-08-2007 03:40 PM
08-09-2007 07:21 AM
Thanks for all of your help. Your suggestions worked great. 5 stars to you.
Are there any good books for learning teststand or do you know of any good resources for learning it?
Thanks again,
08-09-2007 07:42 AM
08-09-2007 09:48 AM