|
|||||||||||||
For some reason I was certain this was already in the idea exchange, but I couldn't find it -- so I'll post it.
Select Case structures are frustratingly difficult to use if you want one case to support multiple values.
In text languages you can often do something like
Switch (Foo) {
Case 1:
execute this code;
Case 2:
execute this code;
Case 3:
Case 4:
Case 5:
execute this code;
Case 6:
execute this code;
Default:
execute this code;
}
Notice that the case for 3,4,5 is all the same, and I just need to put it in place once.
TestStand can't do this. You need to do something like this:
how to do select case on multiple values
which is horribly difficult to write, maintain, and understand what is happening. It would be MUCH easier if select case on multiple values worked like this:
where it looks just like other text based languages, although it takes up quite a bit of realestate on the screen.
or maybe something like this:
where I can just type in a comma separated list of allowed values. The similarity with text based languages disappears here, but it is much smaller on screen (but notice how it shows nicely in the description field) and lines up better with LabVIEW notation.
Note: LabVIEW already supports doing this, and also supports ranges of values (eg 3, 5..10, 12 for numerics) which would also be nice, and also supports case sensitive and insensitive comparison for cases.
I'm taking a bunch of steps and trying to put a "If" flow control step around them.
Kinda like this:
But what I end up with is just a If/End statement in the middle of the steps that I selected (well, after the first step in the selection)
What I would have liked to see is this:
Whare the If/End wraps the steps that I selected.
I don't quite know how best to handle the situation where the steps you have selected are not sequential (there's an unselected step in the middle), but that could probably just behave how it is now.
Hello,
Could we add an option to the context menu within TestStand that populates when one right clicks the tab for a *.seq file in the Sequence Editor? I would like a feature that allows users to be able to close every window except for the selected window. I've included a screen shot below for clarity.
Cheers!
Shawn S.
Current shortcuts for TestStand include Ctrl-D to close executions and Ctrl-F4 to close a sequence file. However, both of those windows show up as tabs in the current GUI layout.
Every modern internet browser allows the user to close a tab with Ctrl-W. This would also be a neat feature when only trying to close one report at a time when viewing the results from multiple UUTs, instead of closing all reports by closing all executions with Ctrl-D.
Post New Idea to submit a product idea. Be sure to submit a separate post for each idea. Note: the TestStand Idea Exchange is not the appropriate forum to submit technical support questions.The TestStand R&D team is committed to reviewing every idea submitted via the TestStand Idea Exchange. However, we cannot guarantee the implementation of any TestStand Idea Exchange submission until further documented.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page