LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ressource name

Hello, I'm working on labview with Ni-switch and I don't know why, my instrument handle out is incrementing.
I have the creation of new resources name possible after which I do not know what to do. Does anyone know what I can do with them?

aerosimon_0-1621500100381.png

for example here we have the 97th

0 Kudos
Message 1 of 5
(1,576 Views)

Hi Aerosimon,

 

You should be able to get the Constant Name, which you check in the NI MAX and also can be configured there.

 

Another alternative Solution is use VISA Find Resource Which will list all the Connected Resources.

 

Filter Based on the Name of your Resource and use the same for initializing and accessing your device.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 5
(1,539 Views)

Are you sure I have to work with a VISA resource when I look for the resource to initialize a switch module?
In NiVISA, the name is: PXISlot5, I find it well in my suggestions but with there is also PXISlot5(1), PXISlot5(2)... and there is one more each time I launch my program

0 Kudos
Message 3 of 5
(1,530 Views)

@aerosimon wrote:

I'm working on labview with Ni-switch and I don't know why, my instrument handle out is incrementing.


When I see this, it is because I am not properly closing my references.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(1,512 Views)

the references are the pages opened by NIMAX?
Or is it something else I need to close better?

0 Kudos
Message 5 of 5
(1,471 Views)