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