09-27-2013 02:29 AM
Hi guys. I want to learn how to comunicate with the FTDI USB 232. First of all I have installed the driver of this adapter and when I connect it on my pc, I see it on windows hardware control panel.
The first question I have is why the MAX doesn't recognize it?
Thank you.
09-27-2013 06:46 AM
09-27-2013 07:31 AM - edited 09-27-2013 07:37 AM
Hi. thank you for your reply. Finally I have installed the correct driver and I see the adapter as COM 3 on MAX.
The questions I have right now are
Can I comunicate with it using the VISA?
I went in the I/O instrument palette --> serial . Here I don't see for example the VISA OPEN should I create a VI without the VISA OPEN?
I have downloaded the manual from the website but what kind of commands should I send to comunicate with it? For example I tried the example attached but it doesn't work.
Thank you
09-27-2013 07:43 AM
Where do you see it as COM3 in MAX? If you see it in MAX as a com port you should be able to use as a serial comm port, with VISA, just as you would other serial ports.
09-27-2013 07:52 AM
The VISA Open has been optional for quite a few years.
You use the VISA and FTDI chip and it serial port emulation to talk to a serial port instrument - not the FTDI chip itself. What is the purspose of this?
09-27-2013 08:16 AM - edited 09-27-2013 08:18 AM
I tried also an example seen on web but it doesn't work as well... attached there is the VI I tried and in the photo you can see my settings:
here there is the error I got:
Dennis first of all I want to make practice on this. After that, the idea is to understand how to command the CTS/RTS/RXD/TXD commands to send a message to a device and wait for a reply.
09-27-2013 08:25 AM
09-27-2013 08:39 AM
Actually I put the TXD as input for the RXD.
Here there is the error:
09-27-2013 08:47 AM
Sorry if i reply on my own post but it works now. It was a problem of the welding.
Next question is ok... with read and write I can handle the RXD and TXD but what about the RTS and CTS? if for example I want to set the lenght of these two registers which are the commands to use?
On the manual I saw FT_SetFlowControl but this command is like a SCPI command? I mean I send it in the WRITE VISA or how?
Thank you
09-27-2013 08:50 AM - edited 09-27-2013 08:59 AM
What visa reference are you showing? I would also put the visa reference on a shift register on the loop. That error says you lost the connection. If you run the program hilighted (the light bulb in the tool bar on), does that error show up coming out of the VISA configure serial port?
> Ok, you answered while I was answering. Welding?
CTS and RTS register length? CTS and RTS are serial port control signals, which may be accessed through a property node connected to the VISA reference, but will only allow you to read or write their state. Also, some USB-Serial ports may not have this feature available. The property node may be found at Instrument I/O: VISA Advanced: VISA Properties