03-26-2008 12:18 PM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
04-15-2008 11:07 PM
04-16-2008 12:05 AM
You may want to start a new thread with your question since it seems to be different than the original poster's. Post a copy of your VI and any information you have on the communication protocol as well.
The situation you describe just doesn't sound normal. The basic write and read example closes the Com port at the end of its execution. But even if it didn't, that shouldn't prevent you from writing to the same serial port at different times with the same or even a different LabVIEW program. It would cause and issue if you were going to use another program as it would detect that the serial port is open. Perhaps you have a timing issue where you are trying to send too many commands too fast? The multiple carriage returns within the same ASCII command seems a bit unusual.
07-20-2008 10:25 PM
07-20-2008 11:04 PM
07-20-2008 11:10 PM
07-21-2008 01:36 PM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
07-21-2008 11:12 PM
07-22-2008 06:19 AM
I just read this thread and I must say I'm a bit confused..
Are you still getting errors during your serial transfer? Are your settings correct? 2400 seems a bit slow. I would have expected (at least) 9600. Was 2400 specified in the PIC's specs? I may have missed which specific PIC you are using, which part no is it?
If you are still having issues with serial communication, then that should be resolved before moving on the the array.. 😉
R
07-22-2008 08:56 PM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)