dynamically change variable read in from modem_Campbellsci论坛问答

Hello All,

Is it possible to read a string sent to a CR1000 via a modem, and then parse that string to reset a variable being used in the main program?

dynamically change variable read in from modem_Campbellsci论坛问答

Chris

新对话如下:

Yes, virtually anything like this is possible with the CR1000 and similar loggers.

The normal way of doing this is to use the logger's built in comms protocol to send commands to change a variable, but this can be complicated as you need to understand the protocol (Pakbus).

The loggers can though monitor for any serial data and interpret it. The exact implementation depends on the types of modem and whether it is being used for normal communications too (which can get a little complicated if the modem needs to be controlled).

A common application like this is to send a text message to a GSM modem connected to a logger to control it or change variables.

If you can be specific about the type of modem and how you are going to send the message someone should be able to come up with an example.

分享到:

原文链接:,转发请注明来源!
海洋仪器网 仪器使用 dynamically change variable read in from modem_Campbellsci论坛问答
「dynamically change variable read in from modem_Campbellsci论坛问答」评论列表

发表评论