LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Com port

Hi guys. I have written a driver to communicate with a COM port (FTDI serial adapter).  On the pc from which I'm writing now (windows XP) it works properly, but when I try to use the same driver on another pc (win 7) labview see the port but isn't able to comunicate . I tried also to use a software like Tera Term to see if the com works and trying the echo it works good...so I don't understand where the problem is on this w7 pc... 

should I install some labview drivers on the w7 pc? I have already installed
NI run time installer
NI max
NI Visa run time

0 Kudos
Message 1 of 13
(3,678 Views)

NI Serial?

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 13
(3,677 Views)

ehm...where is it?

0 Kudos
Message 3 of 13
(3,671 Views)
NI Serial is only for serial devices from NI. You don't need it.

Check in MAX if the com port name is different.
0 Kudos
Message 4 of 13
(3,668 Views)

NI Serial won't help (its for NI serial cards not 3rd party USB-Serial bridges)

 

LabVIEW sees the VCP in Win7 but does not communicate: Works on XP: "Something" happens with Echo on from teraterm.

 

I'l guess either:

  • Wrong serial cable or settings and you are fooling yourself with the tereterm app and are seeing the echo only.  With Echo on any character sent should be doubled.
  • Outdated FTDI Driver that does not support Win7.

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 13
(3,666 Views)

Already checked. The thing that is strange is that I see it in max COM25 when the driver is launched I can select it in the Visa control like COM25 but when it try to access phisically  I get the error like if the instrument isn't connected

0 Kudos
Message 6 of 13
(3,665 Views)

well the problem is on W7 only because as I told on Xp it works. 

do you think that it could be a problem of the driver? 

The com port is the FTDI USB to 232 Adapter TTL232RG-VREG3V3

According to the productor homepage

 

http://www.ftdichip.com/FTDrivers.htm

 

it supports the W7

0 Kudos
Message 7 of 13
(3,662 Views)

Like others have said, have you verified that the driver your using is compatible with Windows 7?

0 Kudos
Message 8 of 13
(3,657 Views)

FTDI Link

the driver download page is linked.  Worth a shot to get it and try it


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 13
(3,653 Views)

I have already installed them as I have written before they should support the W7.

the problem is elsewhere.

Is it possible that the visa control see the port (when I click refresh the port is there) but can't open it?

0 Kudos
Message 10 of 13
(3,651 Views)