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.

Problem with COM111 and CR6


CeaSodar May 21, 2021 05:56 AM

Hi !

I am trying to use my COM111 modem in order to send data table to my FTP server. The first program, i'm trying to use is very simple :

Public BattV
Public FtpEnvoi

Units BattV=Volts

'Define Data Tables
DataTable(Table2,True,-1)
DataInterval(0,60,Sec,10)
Minimum(1,BattV,FP2,False,False)
EndTable

'Main Program
BeginProg
'Main Scan
Scan(2,Sec,1,0)
'Default CR6 Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)
CallTable Table2
NextScan


SlowSequence
Do
Delay(1,10,Sec)
FtpEnvoi = FTPClient("ftpserver.com","username","password","Table2","essai.csv",9,0,2,Min,-1008)
Loop
EndProg

When i use it with my first CR6 datalogger which have no others captors, it works.

But when i am trying to use it with an other CR6 with others captors, i doesn't work. I am making the same steps for each datalogger, one works but not the other one. I am using the Mobile Data Assistant to configure the Modem on each CR6, each time it writes that the modem and datalogger settings has been successful. The orange led on the RS-232 CPI Port is on with the working datalogger but it's off with the one who doesn't work. It is because the settings aren't really good ?

When i check, the public result of FTPresult at the beginning is -2 but it becomes 1 after 2 minutes but i don't know 1 corresponds for.

If somebody can help me, please !


JDavis May 21, 2021 02:25 PM

A good test is to swap the modems between the stations. If the problem follows the modem, focus on the modem settings etc.

I would suggest looking at the settings on the dataloggers using Device Configuration Utility. The PPP tab and the Comport settings are where you should look for differences.


CeaSodar May 25, 2021 12:37 AM

This post is under review.

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