COM Port in MAX Shows Exclamation Point and I'm Receiving Errors in MAX Test Panel

Updated Jun 15, 2018

Reported In

Software

  • Measurement and Automation Explorer (MAX)

Driver

  • NI-VISA

Issue Details

  • There is a yellow exclamation point over my COM Port under Devices and Interfaces in the Measurement & Automation Explorer.
 
  • When I right-click an existing COM Port and select Open VISA Test Panel, I receive the following error:
    • Unable to open session to "ASRL1::INSTR"
      Return Value: 0xBFFF0072
      Status Name: VI_ERROR_RSRC_BUSYThe resource is valid, but VISA cannot currently access it.
 
  • I am receiving the following errors in MAX test panel:
    • Unknown misc error
    • The resource does not support this combination of parameters

Solution

  • Close out of any program that could be accessing the COM Port. Some examples of these are listed below:
    • LabVIEW
    • HyperTerminal
    • Palm Desktop Hot Sync Manager
 
  • If the issue persists, disable the COM Port through its properties:
    • Windows 7/8/10: Open Control Panel and click the Hardware and Sound category. Next, select the Device Manager from the Devices and Printers category. Expand the Port category, right click the appropriate COM Port, and choose Disable. Afterwards, restart your machine, access the COM Port properties again, and enable the port.
 
  • Reference documentation for your hardware to verify that you have all necessary drivers installed.
    • Expand the Software category in the menu on the left side in MAX to see what drivers you have installed.
 
  • Reference documentation for your hardware to verify that the baud rate, data bits, parity, stop bits, and flow control you've specified in MAX are correct. 
 
  • If you're still running into problems, make sure that there isn't another device on the network using the same IP address. To check this, remove the ENET-232 from the Ethernet connection and ping the IP address. If there is a response to the ping, there is an IP address conflict.
 

Additional Information

If you have access to Hyperterminal (included in Windows XP and earlier), you can use it to verify communication with the COM port. The following test writes to the serial port and reads from the same port (make sure you have a loopback configuration):

  1. Select Start»Programs»Accessories»Communication»Hyperterminal.
  2. Click on the Hyperterminal icon.
  3. If you are asked if you would like to install a modem, select No.
  4. You are prompted to select an icon to represent the connection you are about to define. Choose any one, and name the session.
  5. In the next Pop-Up menu, choose direct to COMx where x is the number of the COM Port you are testing.
  6. Set the flow control setting to None. You may leave the other settings in the next dialog box, though you can increase the speed if you like.
  7. Select File»Properties from the menu bar, select the Settings tab, and then push the ASCII Setup button.
  8. Check the option for Echo typed characters locally.
  9. Start typing. If you see double characters (that is, you see two characters for every one you type), the serial port is setup correctly and is functional.

WAS THIS ARTICLE HELPFUL?

Not Helpful