This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error -1073807192 in a VISA Custom Device in VeriStand

Updated Nov 28, 2018

Reported In

Software

  • VeriStand

Driver

  • NI-VISA

Issue Details

I am seeing an error from VISA Configure Serial Port VI that runs in the initialization state of my VeriStand Custom Device. The error code is -1073807192 VISA: (Hex 0xBFFF00A8) Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.

Solution

The VISA address of the COM port should not include the IP if the code is running on the target. Make sure that your VISA address looks similar to the image below and does not include an IP address: 


In the example above if you use the address GPIB0::5::INSTR instead of visa://169.254.104.28/GPIB0::5::INSTR then the error will go away.

Additional Information

Some additional troubleshooting steps to try:
  • Make sure that the PC is added to the list under VISA Security Options in NI MAX
  • Try to do a loopback test in MAX to ensure that the ports are working 
  • Try deploying the code on the real time target through a LabVIEW project without using VeriStand