ni659XR Driver Interface Public.lvlib:Open Session.vi fails to deploy on Linux RT
During the deploying process to the Linux RT target you will see the following error:
"Deploying _nirio_device_open.vi_nirio_device_open.vi loaded with errors on the target and was closed.
LabVIEW: (Hex 0x436) Failed to load shared library niriosrv.*:NiRioSrvLV_device_open:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target."
Instead of using Open Session.vi, pass the resource name to serialNumFromName.vi to obtain the serial number of the resource and then pass the serial number to rioInterfaceNumFromSerialNum.vi to get a RIO interface number. These VIs are present in the same library (ni659XR Driver Interface Public.lvlib).
LabVIEW Instrument Design Libraries for High-Speed Serial Instruments 21.0
LabVIEW Instrument Design Libraries for High-Speed Serial Instruments 21.5
Jul 23, 2021