01-04-2007 06:23 AM - edited 01-04-2007 06:23 AM
Message Edited by kingofnoland on 01-04-2007 06:28 AM
01-04-2007 07:09 AM
KONL
You didn't mention what version of LabView you are using. You will want to use the VISA vi's for serial communication.
I've written several programs for custom hardware. Let me know what version of LV and I'll see if I can simplify something to send you.
01-04-2007 07:45 AM - edited 01-04-2007 07:45 AM
Message Edited by kingofnoland on 01-04-2007 07:47 AM
01-04-2007 08:02 AM
01-04-2007 08:05 AM - edited 01-04-2007 08:05 AM
There are examples shipped with labview. Goto Help->Find Examples and type in serial in the search tab. You can use these to get you started
David
Message Edited by David Crawford on 01-04-2007 02:05 PM
01-04-2007 08:07 AM
01-04-2007 08:09 AM
01-04-2007 08:18 AM
01-04-2007 08:19 AM
OK. A few more questions, some are basic but its best to ask anyway.
Have you setup the port baud, no of bits, start/stop bits?
Is there flow control? If so what type hardware or software?
Does your custom hardware need power from any of the COM port lines such as RTS or does it have an external power supply?
What does the data that you are sending look like?
Did you get any labview errors when you tried the examples?
David
01-04-2007 08:25 AM