Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is the GPIB-ENET/100 VXI-11 compliant?

Hello,

I've written some code in C/C++ to impement a VXI-11 client. The code works with the Agielnt E2050A and E5810A fine.

Now I've tried to use the NI GPIB-ENET/100, too.

If I run my programm I get a "RPC connection refused" error.

The code is similar to this

CLIENT *rpcClient;
static char *svName = "lanhpib2";

rpcClient = clnt_create(svName, DEVICE_CORE, DEVICE_CORE_VERSION, "tcp");
if (rpcClient == NULL)
{
clnt_pcreateerror(svName);
return 1;
}

The clnt_create(...) function aborts with a RPC connection refused error.

Is the ENET/100 not VXI-11 compliant?

Why is it not possible to open a RPC connection to the ENET/100?

CU,

Gerald
0 Kudos
Message 1 of 3
(4,161 Views)
The GPIB-ENET/100 is not a VXI-11.2 device. Instead, it uses a proprietary NI-488.2 ethernet protocol to provide a seamless transition from a plug-in (PCI-GPIB, AT-GPIB/TNT, etc.) type of board to an ethernet board with zero code changes. You can use NI-488.2 or NI-VISA to communicate to the instrument as a GPIB instrument.
0 Kudos
Message 2 of 3
(4,161 Views)
Dear Gerald,

Would you, please, offer any example (for C# if possible) how to discovery VXI-11 compliant instruments in local net. As far as I understand this is possible to do by RPC client but I have got no experience in RPC.
I have got Agilent E5810A and several TCPIP instruments.
Thanks in advance.
0 Kudos
Message 3 of 3
(4,161 Views)