LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication (Error -1073807202)

Solved!
Go to solution

Hello, I have a KERN PCB 2000-1 scale and a KERN-KUP-03 TYKUP-03-A KUP;USB-DEVICE cable. When I communicate with the device using NI MAX / NI-VISA Interactive Control, I have no problem communicating with it. However, with this simple LabVIEW code, there’s no way — I get this error. I’ve already checked the VISA driver installation and they are installed. How can this be? Visa resource name is COM4 in LB and in Interactive panel is ASRL4::INSTR.

 

Jousepa_1-1761203073550.png

Jousepa_0-1761203138782.pngJousepa_1-1761203395495.png

Jousepa_2-1761203436196.png

 

 

 

0 Kudos
Message 1 of 8
(229 Views)

@Jousepa wrote:

 I’ve already checked the VISA driver installation and they are installed. How can this be?


From your description, it is not clear to me whether you followed the required installation sequence.

1. Install LabVIEW IDE

2. Install VISA

 

If you did it the other way around, LabVIEW may not recognize VISA.

0 Kudos
Message 2 of 8
(193 Views)

Sorry, I don’t understand your response.

I’m only asking because I’m getting a VISA OPEN error, meaning a communication error, even though I’m able to connect in other ways such as NI MAX VISA Interactive Panel and even PuTTY.

0 Kudos
Message 3 of 8
(170 Views)

@Jousepa wrote:

Sorry, I don’t understand your response.

I’m only asking because I’m getting a VISA OPEN error, meaning a communication error, even though I’m able to connect in other ways such as NI MAX VISA Interactive Panel and even PuTTY.


AFAIK, if you want to use VISA in LabVIEW it is required to install VISA after you installed LabVIEW, because VISA installer includes LabVIEW support. So, if you install VISA first then LabVIEW is not aware of VISA.

 

See the note on the download page for VISA: https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html?srsltid=AfmBOoqKgAU3z5Fqq5Hqvl... 

Install programming environments such as NI LabVIEW or Microsoft Visual Studio® before installing this product.

 

Message 4 of 8
(160 Views)

Its not the first time I use VISA blocks so its 100% not that. But thanks anyways

0 Kudos
Message 5 of 8
(136 Views)

Is the COM port occupied by other applications? try to close other applications. 

0 Kudos
Message 6 of 8
(120 Views)

I'll try that, probably fixes it. I'll close the thread. Thank you.

0 Kudos
Message 8 of 8
(74 Views)