05-13-2025 04:33 PM
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
05-13-2025 04:39 PM
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.
05-14-2025 02:46 AM
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?)
05-14-2025 07:16 AM - edited 05-14-2025 07:17 AM
@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.
05-14-2025 02:41 PM
@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.
05-14-2025 04:24 PM
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
05-14-2025 04:51 PM
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")
05-20-2025 03:16 PM
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