02-12-2008 12:08 PM - edited 02-12-2008 12:08 PM
02-12-2008 04:58 PM - edited 02-12-2008 04:59 PM
paulmw,
This problem was reported to R&D (# 4IBFKRAF) for further investigation.
I did notice that if you choose "Set Only" the first time, it expands, and then if you choose it again, it stays as the correct value. However, this only works for Set Only and Clear Only, not for Clear and Set. During the process of narrowing down the problem I noticed that this problem seemed to only happen with Enum values that had spaces in them. Perhaps for now a workaround would be to remove the spaces or use an _ (underscore) character. R&D is currently investigating the cause of this issue.
Thanks for the feedback!
02-12-2008 05:54 PM
Josh,
Thanks for looking into this. There are a couple of other places where I have noticed this. The attached VI only has a enum control. It shows the same problem with "Set Trend Event", "Set to Shipping Mode", "Upload Full Buffer No Data" and "Uplaod All & Flush No Data". In the case for the last two it changes/adds RunState.SequenceFile.Data, so in this case the key word seems to be "data".
I also notice that for this example VI there are some "&" symbols and also numbers that get color coded while I am selecting enum values in teststand wich would indicate that it is attempting to parse it as an expression.
As you indicated, I do see that if you select it a second time with out clicking off to a new parameter it will set to the correct value. I would also like to mention that if you manually enter in the numeric value for these problem enum values it will display the correct enum name. This is how we have been working around it so far. We have noticed that changing the name of the enum does/can fix it.
Thanks,
Paul
02-12-2008 06:01 PM - edited 02-12-2008 06:02 PM
02-20-2008 03:28 PM
Josh,
The work arounds are not working! I have this VI and it bombs out every time I try to execute it from the sequence editor with the one control not set to default. I have stripped every thing from the original VI except the enum control and TestStand can NOT call it. This is seriously bad.
Please give this VI a try. Just call it from an empty sequence as an action and uncheck the default value for the one control. It doesn't matter what the value is, it will always error for me with error code -18002 and details "LabVIEW : parameter ReaderCmd not found in the VI's connector pane. "
02-20-2008 05:28 PM
paulmw,
I think I found the source of your error. According to the following KB, leading or trailing spaces in LabVIEW 8.5 control labels cause problems when these VIs are called from TestStand.
KB 4F66LI0H: 'Parameter Not Found in Connector Pane' Error in TestStand After Upgrading to LabVIEW ...
I removed the trailing space from your control, and it solved the problem.
Also, this behavior has been remedied in the TestStand 4.1 beta. You can sign up for the beta program at ni.com/beta
02-20-2008 06:36 PM
Thanks Josh,
This does fix the problem of the above attached VI "Copy of tmiReader-Interface.vi ".
I would guess that this is not related to the Enum issue that originated this thread but just a coincidence that the particular VI has both issues (an Enum with "key word" lables and a control with a trailing space).
02-21-2008 12:37 PM
02-21-2008 01:50 PM