Hi
at two stations i have a very similar setting using a ftp file transfer. The only differnce between both station is the table name and the data interval.
From the first one I receive all the data. From the second, I received every second data set.
I checked it again in my Lab with a shorter Intervall for the 'TableFile' of about 5 Min. And the I lost the file that has to be written at midnight.
Any ideas?!
The one ist working
________________________________________
DataTable(T1,True,-1)
DataInterval(0,5,Min,10)
TableFile ("USR:T1",8,-1,0,12,Hr,OutStat,LastFileName)
Minimum(1,BattV,FP2,False,False)
Average(1,R_WL,FP2,False)
Average(1,QualFlag,FP2,False)
Call QueueAdd()
EndTable
The one is not working
__________________________________________
DataTable(T2,True,-1)
DataInterval(0,15,Min,10)
TableFile ("USR:T2",8,-1,0,12,Hr,OutStat,LastFileName)
Minimum(1,BattV,FP2,False,False)
Average(1,R_WL,FP2,False)
Average(1,QualFlag,FP2,False)
Call QueueAdd()
EndTable
Perhaps the issue/error is in the implementation of your ftp instructions? Are there any timing specific instructions you are using to setup the ftp?
Yes there was a instruction regarding the time stamp of a file!
If FileTime(LName) > 0 Then
at 00:00 the FileTime(LName) instruction returns a NAN
I thought the time stamp include the date!?
But now I removed the instruction and I hope the ftp-push work proper.
Mille grazie