02-16-2006 09:03 AM
02-17-2006 01:29 PM
Hi Alex,
Usually problems like this are a result of impropper message termination. It looks like you are manually appending a "\r" to your string. Were you also doing this in minicom? It looks like you device echos back the command and is showing a "\r\r". Most modems terminate with a CR LF (carriage return + line feed, the same as the <Enter> key). If you were using the enter key in minicom to terminate the command, try using "\r\n" to terminate in LabVIEW.
02-19-2006 05:28 PM - edited 02-19-2006 05:28 PM
Hi Michael,
Thank you for your answer. Unfortunately, the modem's documentation specify that the commands should be terminated by \r, although it can also recognize \r\n. Anyway, I did test this with no results.
The strings above are just an example, in fact the result vary with each request. Sometimes the modem reacts badly (clicking without reason, even freezing the computer).
Thanks,
Alex
Message Edité par AlexTR le 02-19-2006 05:31 PM
02-20-2006 09:18 AM
Hi Alex,
It sounds like there might be something wrong with the modem, or something wrong with the line. The clicking is probably the relay on the modem connecting and disconnecting the line. This could be caused by no dialtone, busy line, or a damaged modem. I'm not aware of any strings or commands that could cause a modem to behave like this or to freeze the computer. I would take a closer look at the modem or the line.