Hi All,
I would like to generate an NI-VISA client for Matlab running on a 64 Bit Linux compute server. (The NI-VISA installer does not run on such systems.)
So no devices are locally connected to the server, no hardware support is needed locally. The client connects only to resources of type VISA (e.g. other visa servers), TCPIP:...:INSTR (VISA-resources directly connected to the Ethernet) and TCPIP:...:socket (raw TCPIP resources directly connected to the Ethernet). As I also know the correct VISA addresses I do not really need the VISA GUI running.
The C client is compiled with the -m32 option (32 bit) and linked against the libvisa.so. The gcc (4.1.2 or 3.4.5) compiles without errors. But I do have problems to open a VISA session.
The C command
status = viOpenDefaultRM(&defaultRM);
retunrs a session handle but it also returns the status:
VI_WARN_CONFIG_NLOADED
which means:
3FFF0077="The specified configuration either does not exist or could not be loaded. VISA-specified defaults will be used."
I can not establish a session with a VISA resource. That means viopen does not return a valid instrument handle.
My configruation:
from .bashrc
# NI-VISA
export VXIPNPPATH=/usr/local/vxipnp
export LD_LIBRARY_PATH=/usr/local/vxipnp/linux/bin
Position of the vxipnp folder at /usr/local/vxipnp . (copied from a 32 bit system)
Is there a way to configure VISA manually to workaround the warning VI_WARN_CONFIG_NLOADED and make the stuff proper working?
Best regrards peter