10-23-2025 02:15 AM
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.
Solved! Go to Solution.
10-23-2025 04:44 AM
@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.
10-23-2025 08:39 AM
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.
10-23-2025 09:09 AM
@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.
10-23-2025 04:27 PM
Its not the first time I use VISA blocks so its 100% not that. But thanks anyways
10-23-2025 07:54 PM
Is the COM port occupied by other applications? try to close other applications.
10-24-2025 01:34 AM
Did you see these knowledge articles?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6v9SAC&l=en-US
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P87BSAS&l=en-US
10-24-2025 02:27 AM
I'll try that, probably fixes it. I'll close the thread. Thank you.