Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA IC does not show com 2 port

Hi,
When I launch the VISA interactive control it doesn't show the COM2 port.It recognizes the COM1 and LPT1 but it doesn't recognize the COM2, although there is a COM2 port on the computer.I have attached the screen shot of the VISA IC , if it's any help in explaining my problem.I did write a program and test the ports.The error messages I get are -1073807246 in VISA Open.vi for COM2 and -1073807246 in VISA Read.vi.I also attached the test vi used for this purpose.I am new to programmming using VISA and am very confused about this problem.Any suggestions/help will be very much appreciated.
Thanking in advance
Deepak
Download All
0 Kudos
Message 1 of 2
(3,232 Views)
Hello Deepak:

Thank you for contacting National Instruments.

This error most often occurs when you try to open a VISA Session to a resource that already has been opened, http://www.ni.com/support/labview/visa/default.htm, is a good resource to troubleshoot Error -1073807246

Do you have the latest VISA driver 2.6? IF not, you can download the latest visa driver from ftp://ftp.ni.com/support/visa/drivers/

Since you mentioned that you are new to LabVIEW you will find the example programs for LabVIEW very helpful. If you go to the Help menu in LV >> Examples.. >> I/O >> Serial you will see a couple doing Serial communication. I would suggest tweaking them to suit your need.

Hope this helps. If you have any questions, please let us know.

-Pavan B.
0 Kudos
Message 2 of 2
(3,232 Views)