Forward strings from a ravenxtv modem_Campbellsci论坛问答

Hello All,

I am looking to use a Sierra Wireless RavenXT modem (Verizon CDMA service) to connect to a CR1000 datalogger. That part is easy and is set up and running. I'd also like to use the serial server capabilities of the RavenXT to connect to it with telnet to send serial strings that the CR1000 looks for and when received forwards out another com port to a serial device. The CR1000 would then wait for the response and then forward that back out the Raven. The conceptual pathway is:

Forward strings from a ravenxtv modem_Campbellsci论坛问答

telnet ipRaven 3001 ---> send a string
CR1000 looks at ComRS232 for any input
CR1000 forwards input out Com1
CR1000 waits for a response on Com1
CR1000 forwards response from Com1 to ComRS232
telnet ipRaven 3001 <--- receives a string

Is this the way to go about this or might there be a better way? Note the string to receive and forward will be variable, but will always have a CRLF at the end.

Chris

新对话如下:

Hi Chris,
Is this going to be an automated process or manual process that you have to do from time to time?
IslandMan

新对话如下:

IslandMan,

This will be a manual process run as needed.

Chris

新对话如下:

Chris,

I would suggest a simpler approach might be:
Connect to the station with Loggernet
Enter the Terminal Emulator Mode
Enter the Serial PassThru mode "P", Select the com port the sensor is connected to then enter your commands.

IslandMan

新对话如下:

Well that is just too easy! I demand a harder solution! There needs to be lots of agony and sweat and opportunities for brilliant coding in order to justify my salary! Seriously! How am I supposed to feed my children when people go around offering blindingly simple solutions to problems that can be made hard and complex?! You let me down IslandMan :{

新对话如下:

Gee, sorry about that. I suggest you design a whole new processor and use machine language to control your serial sensor through Telnet....

:-)

分享到:

原文链接:,转发请注明来源!
海洋仪器网 仪器使用 Forward strings from a ravenxtv modem_Campbellsci论坛问答
「Forward strings from a ravenxtv modem_Campbellsci论坛问答」评论列表

发表评论