06-18-2019 12:36 AM
Hi,
For I student school project, I would like establish a communication between labview and PIC micro controller via serial port. I will use only Rx, Tx (please see the attached picture). My notebook does not have serial port. There are two options:
1. Using the standard USB serial R232 adapter in to USB port
2. Using a serial adapter in to ExpressCard slot which creates native serial port
I do not know which of these to buy.
The option 1 is cheaper, but not sure whether it will works (whether Labview will detect that serial port).
The option 2 theoretically should work (but not sure too), because the manufacturer states ("will add a serial COM port as if you had a native port on your laptop")
Which option do you recommend me. Anyone of you has tried the serial communication using the USB-Serial adapter or ExpressCard adapter on laptop?
Thanks for help.
Solved! Go to Solution.
06-18-2019 12:43 AM
06-18-2019 02:56 AM
I've used many USB serial dongles, they generally work fine.
/Y
06-18-2019 09:47 AM - edited 06-18-2019 09:54 AM
Well they will be the same from a LabVIEW programming aspect, as both of these devices will install a virtual serial port.
You use NI-VISA to access a serial port in LabVIEW exactly the same regardless of that serial port being a hardware RS232 serial port on 220h IRQ2 or a USB device that installs a virtual serial port.
Also beware of cheap USB to serial converters, many of these have counterfeit Prolific chip sets in them.
Recent Prolific drivers can detect the counterfeit chips and either not work at all or worse yet cause intermittent failures.
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=155&pcid=41
I recommend only buying FTDI USB to Serial converters from a reputable source like Digi-Key.
https://www.digikey.com/product-search/en/cable-assemblies/smart-cables/1574108?k=FTDI
Also if you look closely you can buy these USB to Serial devices with a 3.3V or 5V TTL output eliminating the need for the MAX232 in your circuit.
06-21-2019 05:30 PM - edited 06-21-2019 05:31 PM
Thanks for advice regarding to FTDI, GerdW.
06-21-2019 05:32 PM
Thanks for information Yamaeda
06-21-2019 05:39 PM
RTSLVU, your answer completely cover my question. The 3.3V or 5V version is a good point to save MAX232. I do not need for this project a standard RS232 logic. Thank you too.