01-06-2011 06:32 AM
Hello,
I'm using uUSB-CE5 where the design is based around the FT232RQ from FTDI and i use it to communicate with uOLED-32028-P1T (SGC/GFX) touch screen, i download and install the Virtual COM Port Driver from FTDI website and i have the USB Serial Port(COM3) and the USB Serial Converter on the device manger, and the device working perfect with "4D Workshop 3 IDE and HTerm programs".
I have as well Arduino Duemilanove, i did configure the Serial port with the right baud rate and made the settings and i did use the VIs supplied with NI-VISA and it did work perfect with Arduino Duemilanove. but i can not get it work with my uUSB-CE5 and the touchscreen, and there is no message error appears and the LED on the uUSB-CE5 does not light up.
Solved! Go to Solution.
01-10-2011 04:57 AM
Hi Mahon,
I cannot tell you why the communication with your device doesn't work using the NI-VISA VIs. Did you check the Serial palette?
You can also try a tool from sysinternals called "portmon" and compare the outputs of the working and not working version.
Best Regards,
01-10-2011 11:38 AM
Mahon-
I've reciently spent a day or so digging into the bowels of NI-VISA and the FTDI driver. I posted a compendium of my issues and a few links to detailed tech notes. See if this post offers any insight for you
01-10-2011 11:53 AM
Hi Andreas,
Thanks for replying and trying to help, yes I did check the serial palette, I'm with this problem since two weeks:((
for example when I go to Measurement and Automation Explorer and open "Open VISA Test Panel" I can write and read from the device!!! But when I do apply this simple example to read , I got the message error (please see the attachments) and as well with writing to the device, always the error in read or write VISA.
Thanks for any kinds of help if you can.
Best Regards,
Mahon
01-11-2011 02:23 AM
@Mahon wrote:
for example when I go to Measurement and Automation Explorer and open "Open VISA Test Panel" I can write and read from the device!!! But when I do apply this simple example to read , I got the message error (please see the attachments) and as well with writing to the device, always the error in read or write VISA.
What exactly do you mean by this? So everything works in VISA Test Panel? And it doesn't work in your own LabVIEW code?
If so try the LabVIEW Example finder and browse to Hardware Input and Output > Serial
A simple example is at "C:\Program Files\National Instruments\LabVIEW 2010\examples\instr\smplserl.llb\Basic Serial Write and Read.vi"
In the code you postet there are elements missing, e.g. there is no Session close.
Best Regards,
01-12-2011 12:07 PM - edited 01-12-2011 12:13 PM
Hallo Andreas and Jeff,
This post that you did put Jeff, it is so helpful for me,and as well I did used property node to track and see what the wrong could be , it was really strange, I found "COM1 and COM3" under the same name "COM1" , I changed then it's working.
Thanks a lot
Regards
Mahon