08-12-2019 08:24 AM
With the help of this community I was able to implement a program that talks to a serial interface board (nordic nRF52) over a FTDI TTL-232RG cable. The program works very well by acquiring data for few iterations but breaks randomly and gives timeout errors. The theory is that either the program is losing control over the COM port or the USB-RS232 communication is dropping at times. In other words this is a very unstable communication.
Do you recommend to go with any other RS232 over USB hardware that is known to perform good with LabVIEW. Please advise.
08-12-2019 10:00 AM
The first thing I would do is go into the computer power settings and make sure the USB Suspend option is turned off (go into the Advanced Power Settings and then to USB Settings->USB Selective Suspend Setting and disable it under both Battery and Plugged In). You should probably also go through the Device Manager under USB Controllers. Under the properties for each USB hub, there is a Power Management setting to "Allow the computer to turn off this device to save power". Turn that off for all of your hubs.
Another option would be to add something like a PXI-8432/2 (2 port RS232) to your PXI Chassis and use an adapter module to convert from RS-232 to the TTL.