08-23-2011 07:55 AM
Sathish
Hi Ppl,
08-23-2011 08:04 AM
Not as far as I know. What are you ultimately trying to determine? Why is this information necessary for you at run-time? Are you trying to detect if the input has been wired up at a higher level? If so, this is a fairly common question. Typically you'd set the control to some value which you know if invalid (such as NaN for floats) and then check the value in the subVI.
08-23-2011 08:10 AM
@smercurio_fc wrote:
Not as far as I know. What are you ultimately trying to determine? Why is this information necessary for you at run-time? Are you trying to detect if the input has been wired up at a higher level? If so, this is a fairly common question. Typically you'd set the control to some value which you know if invalid (such as NaN for floats) and then check the value in the subVI.
addding too Saverio...
I recomend using the terminal option "required" for wires the sub-VI needs to operate. if the sub-VI has to be used in two ways, one wired and one not wired, then use Wrappers to call the target VI as you desire. You can go the next step infact and include the target VI in a library, make it private and mark the two rappers as public. That way your sub-VI can only be called the way you want.
Have fun,
Ben
08-23-2011 08:13 AM
Hi,
Thanks for replying. I'm actually building a custom step type in TestStand. This could have set the Adapter to be the LabVIEW RTE. That is why I need it in the RTE. I need this info, as I'll have to set the Value of the control before the VI is executed. For controls tha are in the connector pane values will be passed by TestStand from the parameters set. So I'll have to make out if its in the connector pane or not. So that I can set the value. Hope this is clear.
Thanks,
Sathish
08-23-2011 08:53 PM
Ppl any help on this. I have figured a round about approach. I'm able to get the list of controls on the connector pane using TestStand API's. The API I'm using is as follows
Step.Module(LabVIEWModule).Parameters.Item(<index>).ParameterName
Parameter Name gives me the control name thats on the connector pane. I wondering at this point, If TestStand if able to figure out if a control is on connector pane, I should be also abel to do it without using the scripting node.
Thanks,
Sathish