Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Using serial port to change logger datetime or download tables


Miguel_____ Oct 25, 2022 10:43 AM

I'm using the CR300x and I have a serial device connected to it. Now what I'm doing is read som data from the logger to the serial device.Using `SerialOpen(ComRS232,115200,0,0,10000)` and `SerialOut(ComRS232, OutString,"",0,1000)`.

My questions are,

· Can I ask the logger from my serial device to send me the data stored in X table?

· Can I update the logger datetime using serial port?

I found this CR300 instructions, but I'm not sure how to do it.

Thank you very much for your help!


hannana Jul 4, 2024 09:23 AM

Can you ask the logger from your serial device to send you the data stored in a specific table?
Yes, you can do this. The CR300 series dataloggers support sending data from specific tables over the serial port. You can use the SerialIn() function to read the data from the logger. The specific command to retrieve data from a table would be:

[SerialOut(ComRS232, "PData(TableName)", "", 0, 1000)]
[SerialIn(ComRS232, InString, 10000)]


Replace TableName with the name of the table you want to retrieve data from. The SerialIn() function will read the data sent by the logger in response to the PData() command.

Can you update the logger's date and time using the serial port?
Yes, you can update the logger's date and time using the serial port. The command to do this is:

[SerialOut(ComRS232, "SetTime(YYYY,MM,DD,hh,mm,ss)", "", 0, 1000)]


Replace the YYYY, MM, DD, hh, mm, ss with the desired date and time values bubble shooter

Please note that the CR300 series dataloggers have specific programming and communication protocols, so you may need to refer to the CR300 series instructions manual for more detailed information on the available commands and their usage.

Log in or register to post/reply in the forum.