LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COM ports on a laptop running Windows 11.

I cannot get my labview application (EXE file) to "see" COM ports on a laptop running Windows 11.

 

I built a project using LabVIEW Community Edition (32-bit) on my desktop running Windows 10.

 

My project uses serial data input on a Windows 10 computer. I use visa serial to read incoming serial data. I'm using an USB TTL to serial device.

 

The project works perfectly fine on Windows 10.

 

I then used "LabVIEW build application (under the tools menu)"

 

Copied the application (the EXE file and supporting files) to a laptop that is using Windows 11 (It has the labview runtime engine installed). On the laptop, Windows 11 device manager sees the USB device as COM3, but my LabVIEW application cannot.

 

The USB device I'm using the DSD Tech USB-TTL. I have installed the latest 32 bit driver for it on the Windows 11 laptop. And rebooted it several times.

 

Any Help?

Thanks
Mike

0 Kudos
Message 1 of 8
(710 Views)

Hi Mesh,

 

It sounds like you might be missing the VISA runtime. I would create an installer for your application to make sure you have all the necessary runtime components.

0 Kudos
Message 2 of 8
(707 Views)

Check NI-MAX, it's that com-port that LV uses. You can have different names on them. Also, have you installed the required drivers? (DAQ-mx, NI-serial?)

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 8
(651 Views)

@Yamaeda wrote:

Check NI-MAX, it's that com-port that LV uses. You can have different names on them. Also, have you installed the required drivers? (DAQ-mx, NI-serial?)


That would be NI-VISA, either the runtime version or the full version. DAQmx is for DAQ boards and NI-Serial only will help with NI serial interface hardware. It does not know about your standard serial ports nor any third party serial ports such as RS-232 to USB converters.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 4 of 8
(622 Views)

@Mesh_Houston wrote:

 

Copied the application (the EXE file and supporting files) to a laptop that is using Windows 11 (It has the labview runtime engine installed). On the laptop, Windows 11 device manager sees the USB device as COM3, but my LabVIEW application cannot.

 


You probably need to install NI-VISA (to "see" the comport) and maybe even NI-488.2 depending on the instrument you are communicating with through the com port.

 

 

========================
=== Engineer Ambiguously ===
========================
Message 5 of 8
(577 Views)

Thank you everyone, I have not had a chance to work on this, I may have time tomorrow, if not then next week.  But I really thank you for all the help

Mike

0 Kudos
Message 6 of 8
(559 Views)

Definitely make an installer. There's a checkbox for "include all necessary other installers" or something. Check that box and it'll make sure to pull in whatever runtimes it needs.

 

(One suggestion- check the box and have it populate the list of additional installers, then uncheck it. There should be a few entries checked. See if there's one checked one next to an option that says "(that same thing) with Configuration Support", and check that instead. That will install NI MAX which will help troubleshoot this sort of thing. For example, "DAQmx Runtime" would change to "DAQmx Runtime with Configuration Support")

Message 7 of 8
(552 Views)

Adding these libraries to the installer worked  -- Thank you all!

For some reason, I had to add it manually; the automatic did not work for me

0 Kudos
Message 8 of 8
(462 Views)