Connecting Tech Pros Worldwide Forums | Help | Site Map

Serial Communication with Device

Newbie
 
Join Date: Oct 2006
Posts: 3
#1: Oct 17 '06
Hello All,
I have a project which must automate testing for an embedded system. The device in question connects with RS-232, and provides a telnet-friendly interface.
I need a way to send it commands periodically. I am using C++ on WindowsXP. I have tried the basic ComWrt() at my disposal, but it seems the terminal protocol is a little complicated for that. If there is code out there so I could easily implement this in my program that would be terrific. A command line-based intermediate program would be fine too. I don't want anythng to interfere with the current GUI. And if at all possible, I would like to maintain the connection between commands, as opposed to a single script that connects and disconnects every time. Thanks in advance,
Christoph

Newbie
 
Join Date: Oct 2006
Posts: 3
#2: Oct 18 '06

re: Serial Communication with Device


nevermind, i got it. it was just little things like clearing the i/o buffers.
the labwindows site had a good demo here
http://zone.ni.com/devzone/cda/epd/p/id/871
Reply