Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Can VISA be use on CRIO for Ethernet Instruments

Solved!
Go to solution
Solution
Accepted by topic author klessm1
klessm1,

On second look, VISA actually does NOT install the Enet passport on 9004. We did add the Enet support in 4.4 for the current generation of cRIO targets. 9004, as a legacy target, was not included in that support.

I have listed some steps below to install the passport manually. Note, however, that this is NOT officially supported. Also, if you perform any upgrade or reinstall in the future, you probably need to muck with these files again. If this doesn't work, then you would have to use the native tcpip vi's or upgrade to a newer cRIO target.

1. Use FTP to move the file NiViEnet.dll from C:\Program Files\National Instruments\RT Images\NI-VISA\x.x\ on the host PC to /ni-rt/system/vxipnp/winnt/bin/ on the 9004.

2. Add the following lines to the visaconf.ini file which is located at /ni-rt/system/vxipnp/winnt/NIvisa/

[TCPIP-RSRCS]
SynchronizeAllSocket = 0
SynchronizeAllVxi11 = 1
NumOfResources = 0

3. Add the following lines to the nivisa.ini file which is located at ni-rt/system/vxipnp/winnt/NIvisa/Passport/

passportEnabled2 = 1
LibName2 = NiViEnet.dll
LibDescription2 = "NI-VISA Passport for TCPIP and VXI-11"

Also, increment the argument for NumberOfPassports = X.
Regards,

Song Du
Systems Software
National Instruments R&D
Message 11 of 14
(3,725 Views)
I'll try this out tomorrow.  Thanks for the info.
0 Kudos
Message 12 of 14
(3,722 Views)

I reloaded the latest software on the 9004 and made the updates above and it works!

We haven't done extensive testing to see if this have any negative effects, but so far so good.

 

Thanks!

0 Kudos
Message 13 of 14
(3,690 Views)

Hi,

Did you manage to discover your device under cRIO on NI MAX. I am trying to get Agilent 33220A function generator connected to cRIO-9057 over LAN. I managed to get NI driver on windows but it doesn't work on cRIO until I configure it on NI max. When I try to discover the device, I am getting following message.

Much appreciate if you can share some tips.

Asa77_0-1697555892072.png

 

0 Kudos
Message 14 of 14
(1,095 Views)