Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5682

Connecting to a TCP/IP VISA Resource Requires Registration - Why?

$
0
0

Using the ICS-9065 interface requires registering a VISA resource for each instrument using NI-MAX.  Apparently, this manual procedure just adds entries such as these to the visa configuration file:

 

[TCPIP-RSRCS]
SynchronizeAllSocket=0
SynchronizeAllVxi11=1
NumOfResources=3
Name0="TCPIP0::192.168.1.140::gpib0,15::INSTR"
Enabled0=1
Static0=1
Name1="TCPIP0::192.168.1.140::gpib0,22::INSTR"
Enabled1=1
Static1=1
Name2="TCPIP0::192.168.1.140::gpib0,24::INSTR"
Enabled2=1
Static2=1

[ALIASES]
NumAliases=4
Alias0="'COM1','ASRL1::INSTR'"
Alias1="'7001','TCPIP0::192.168.1.140::gpib0,15::INSTR'"
Alias2="'2002','TCPIP0::192.168.1.140::gpib0,22::INSTR'"
Alias3="'2410','TCPIP0::192.168.1.140::gpib0,24::INSTR' "

In fact, rather than going through NI-MAX, the resources could be added directly by editing this file. It seems, therefore, that adding resources is rather unnecessary making it harder to deploying applications. Doing away with the manual step clearly will facilitate deployment.  In fact, rather than having to add these resources manually, the VISA environment could add said resources automatically upon a successful creation of a VISA session.  

 

My questions:

(1) is this analysis correct?

(2) could this automatic resource registration feature be added to a future release of VISA?

 

 

 

 


Viewing all articles
Browse latest Browse all 5682

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>