NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
MimiKLM

Parameters in: VISA resource name (type: LabVIEWIOControl): Do not impose on the session number to be a mandatory field.

Status: Declined

I'm declining this idea due to lack of community support.

Hi,

 

As in the subject.

 

Now to create a session from the TS two arguments are needed:

--device name (address or alias), and

--session number.

 

Capture4.PNG

 

However, comparing to LV, LV needs only one of them, the device name. Why two of them have to be different?

 

It can happen that session number doesn't exist because the session itself doesn't exist yet. So why this field is made mandatory?

 

Usually, I put any random number there (0-9) and everything works, but it is not a nice coding style.

 

I think the Session Number field should be set as not mandatory.

 

2 Comments
warren_scott
Active Participant

I would stay away from passing handles back and forth between LV and TS.  Look at Session Manager (part of the TestStand package) which helps you manage instrument sessions/handles.

WireWeaver
Active Participant
Status changed to: Declined

I'm declining this idea due to lack of community support.

https://www.linkedin.com/in/trentweaver