I Can't Create a VISA TCP/IP Resource on My cRIO in NI MAX

Updated Jan 30, 2024

Reported In

Hardware

  • cRIO-9035
  • cRIO-9067

Driver

  • NI-VISA

Issue Details

  • I'm trying to create a VISA TCP/IP for my cRIO resource from NI MAX and I received the following error
    • Internal MAX Error. Could not get interface to MAX database.
  • After clicking OK, I get the following dialog:
    • Measurement & Automation Explorer is unable to create a VISA resource on this system. Either NI-VISA is not installed on this system, or NI-VISA does not support creating new resources on this type of system.

Solution

You can work around this issue by creating the VISA resource in LabVIEW rather than in MAX.
  • Follow the usual VISA format outlined in bullet 3 of NI-VISA Overview .
  • You'll need to hardcode the resource name in the visaconf.ini file under [TCPIP-RSRCS] section to something of this form, where the IP address is your target's IP: 
    • TCPIP0::IP address::inst0:INSTR