Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Example VI for USB Communication to FTDI Device

Hello,

 

I am fairly new to LabView and I am trying to connect a FTDI device using NI Visa.  I have created the driver with the driver wizard and have tested comms to it, everything appears to be good.  When i attempt to run some of the sample VI's provided be the FTDI site I cannot get anything to communicate.  I am not sure if I am correctly linking the NI Visa drive to the sample.  I have downloaded the D2xx driver from FTDI and have attempted to link it via the configuation screen but it also does not help.

 

Anyone have any experience with this type of communication????  An example VI would be great if possible, then I can work it backwards to try and understand.

 

Thanks, Fred

0 Kudos
Message 1 of 7
(6,531 Views)

Why did you use the driver wizard? Where did you see instructions that you should do this. You should undo everything, use the provided driver from ftdi and use the example VIs they provide. You can also use the com port driver and use standard VISA serial functions.

0 Kudos
Message 2 of 7
(6,529 Views)

Dennis,

 

Thank you for your feedback.  I used the driver wizaed because I thought it would be best if VISA created its owner driver per to the Manu. ID.  I un-installed the driver and re-loaded all of the FTDI drivers and i am still missing something.  The VI's run but do not communicate with the device.

0 Kudos
Message 3 of 7
(6,524 Views)
There could be any number of things wrong. Does any part of the driver work, such as listing the devices?

I've always preferred the com port driver. One reason is that it shows up in windows as that and you can use standard terminal emulation programs such as hyperterminal for debug.
0 Kudos
Message 4 of 7
(6,516 Views)

hi out there,

 

I was reading this thread because it seems to be related to my kind of problem, somehow. I tried to import the ftd2xx.dll having the ftd2xx.h available (both most recent from www.ftdichip.com/drivers/D2XX.htm) into my Labview 2010 students version. Only 12 out of 85 functions were recognized leaving out most essential ones like FT_Close(). My goal is to access and use the bit-bang mode of my FT232R. Did I take the wrong approach, can anybody help? Thx and enjoy!

0 Kudos
Message 5 of 7
(6,282 Views)
Last time I looked, a complete set of VIs was available on the ftdi web site. I would suggest that you look again.
0 Kudos
Message 6 of 7
(6,267 Views)

Hi Dennis, many thanks for your advice! I found 70 functions in a zip D2XX_Functions_7.0 running under my LV10. I had to overcome many troubles, especially with the realplayer autopdate function (unchecked autoupdate in the options and removed all bindings to realsched.exe from the registry!), but now it's fine.

 

Still I have a question: in order to keep my system clean, how could I get rid of the selfmade library from above?

0 Kudos
Message 7 of 7
(6,232 Views)