Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet connection error compactRIO 9012 )-1073807343

I tried to use ethernet by way of VISA functions, but have got error code -1073807343 (device or resourse not exists) in function VISA Open.
The same LabVIEW code on my PC works correctly.
VISA resource name is right in both case (TCPIP0::192.168.1.32::4444::SOCKET)
Why it is not working on compactRIO?

best regards, Alexander
0 Kudos
Message 1 of 6
(5,024 Views)
Hi Alexander,

The first thing that you will want to verify is that you have both NI-VISA and NI-SERIAL installed on your CompactRIO.  If you do not have this software installed on both your host PC AND the CompactRIO you will not be able to access these resources on the CompactRIO using NI-VISA.
Message 2 of 6
(4,997 Views)
Thanks for answer, Jonathan C. I check it up - there are the same versions of VISA (4.2) and NI SERIAL (3.3.0) on target and PC.
0 Kudos
Message 3 of 6
(4,984 Views)
Hi Alexander,

I have been looking into this further and it seems that I am getting the same error on various different Real-Time targets (PXI, Desktop, Compact Rio).  I am not sure if there might be an issue using VISA for TCP/IP Socket communication on Real-Time or not but I am looking into this.  I should have more information shortly and I will let you know what I discover.
Message 4 of 6
(4,958 Views)
Thanks for answer. We are using PXI Real-Time with VISA and have good results. I'm waiting for additional information. Best Regards, Alexander
0 Kudos
Message 5 of 6
(4,937 Views)
Hi Alexander,

I did some further research and it appears that VISA on Real Time does not currently ship with the Enet passport.  The Enet passport is what enables VISA to make TCP/IP SOCKET calls such as the one that you are utilizing.  I can see that this would be a very useful feature and I highly encourage you to make a recommendation to include this in future versions of VISA at our Product Suggestion Center at
http://digital.ni.com/applications/psc.nsf/default?OpenForm&temp1=&node=.

As an alternative to using VISA TCP/IP communication on your Real Time target, you can use the low level TCP/IP functions such as "TCP Open Connection", "TCP Read", "TCP Write", etc...  These functions will still allow you to communicate with your TCP server.

Message Edited by Jonathan C on 05-12-2008 07:07 AM
Message 6 of 6
(4,932 Views)