03-04-2010 07:24 AM
Veeru: What instrument are you trying to control? Some instruments expect certain terminating characters like [cr] or [lf] or a handshaking method like rts / cts. Between PCs using hyperterminal you may be able to send simple characters back and forth but if your instrument is waiting for a terminating character it may not respond.
Bill
03-05-2010 06:35 AM
Thanks Bill
The instrument(basic one jsut it needs to send data to PC)i am using is built in our company. pls give me some guidance in terminating characters
Thanks
03-05-2010 06:50 AM
Veeru: Have you seen the discussion thread http://forums.ni.com/ni/board/message?board.id=170&message.id=350662&requireLogin=False and tried what is listed there? You may especially want to try the sniffing of the physical connection mentioned to see what is going on when you try to talk to the hardware. If the instrument was built by your company can you find the specification for it to check what it needs for termination? Does it use an off the shelf RS232 interface? If so, which one?
Bill
03-05-2010 06:55 AM
Hi Veeru,
when the device is made by your company, why don't you ask the development department? Someone over ther should be responsible for the device...
Termination chars are used to signal the end of a message (EOM), mostly when there is no hardware protocol (used) to mark an EOM. Common termchars are LF, CR or a combination of both. Usually you find information on the used termchar setting in the device's manual - back to point 1