LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview not detecting COM port

Solved!
Go to solution

Hi

 

I need to read the data from the PSoC using rs-232 and display on labview. I created VISA and created resource name control. But it is not detecting the COM ports present in the system. The only thing I get is refresh.

I tried pumping data and checked through hyperterminal and it works well.

 

Please help me in this regard.

Thanks in advance.

 

Noel

Message 1 of 9
(18,112 Views)

You need use Visa find resource for check if Labview find your port com. Example with visa find resource you can find : ASRL1::INSTR

ASRL1::INSTR is a COM port

 

After do that you need to use visa open visa read or write and visa close at the end of your program

0 Kudos
Message 2 of 9
(17,815 Views)

@Lunik wrote:

You need use Visa find resource for check if Labview find your port com. Example with visa find resource you can find : ASRL1::INSTR

ASRL1::INSTR is a COM port

 

[...]


Is ASRL1::INSTR a COM port? It is likely, but not necessarily! What if that VISA resource has been aliased to a different kind of port?

 

You can use the property node shown in the picture below to find out:

 

Interface name node.png

Richard






0 Kudos
Message 3 of 9
(17,800 Views)

Let's go back a few steps: Have you installed NI-VISA? What shows up in MAX?

0 Kudos
Message 4 of 9
(17,793 Views)
Solution
Accepted by topic author Noelprashant

Backing up even further-

The Cypress PSoCs interfaces via USB.....(or I2C....but that would be ridiculus)

Did you install the Vitrual Com Port driver?  Does the Windows Device manager see the port?


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 9
(17,779 Views)

hi

i have the same problem 

yes , com ports appear in device manager but when i wanna determine the com ports in labveiw it is not appear 

Ahed_123456_0-1590497597399.png

 

but in labview 

Ahed_123456_1-1590497750038.png

 

0 Kudos
Message 6 of 9
(10,448 Views)

hi

i have the same problem 

yes , com ports appear in device manager but when i wanna determine the com ports in labveiw it is not appear 

Ahed_123456_0-1590497597399.png

 

but in lab view 

Ahed_123456_1-1590497750038.png

 

0 Kudos
Message 7 of 9
(10,443 Views)

Your device manager is showing an issue with COM8 (possibly a conflict).  I'm not sure what is up with the rest of your ports.  If you open up MAX (Measurement and Automation Explorer), do the ports show up in there?  What version of LabVIEW are using?  What version of VISA?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 9
(10,436 Views)

oooo

thanks

i install ni visa and the ports shwon 

thanks

 

0 Kudos
Message 9 of 9
(10,422 Views)