09-15-2015 06:43 AM
Hello,
I'm currently working with the TI MSP430, I've programmed it to write data via serial UART. I've written a LabVIEW script to read in the serial data using VISA. Occationally when I make changes in the code for the MSP the Code Composer Studio (CCS) doesn't find the MSP and it needs to be unplugged from the USB and plugged back in to update the changes. However once this has been done LabVIEW can't find the resource and I need to restart my machine in order for it to work.
I'm not sure if this is a LabVIEW issue or CCS issues (posting in their forum also).
I'm wondering if anyone else has had this problem with serial ports and if there is anything I can do to prevent it from happening? Restarting my machine several times a day is not ideal.
Thanks, Tash
09-15-2015 09:36 AM
Do you have a real serial port or are you using a USB-RS232 adapter?
09-15-2015 09:41 AM
It's not a real serial port. I'm using the USB adapter on the MSP430 launch pad.
09-15-2015 10:10 AM
Make sure your USB ports are not set for power saving.
Make sure that your microcontroller code is not leaving the serial port open.