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.

FTPClient File Time Range

BrianP Jun 18, 2021 03:09 AM

When using FTPClient to send data sampled at a 0.1 seconds rate over a 10 minute interval, the range of the 10 minutes is shifted by 0.1 seconds from what I would expect.

I.e., the file will contain data starting at 12:00:00.10 and ending at 12:10:00.00. A more standard format would be the data starting at 12:00:00.00 and ending at 12:09:59.90. Is the latter possible without too much hassle? Thank you!

nsw Jun 22, 2021 12:42 PM

FTPClient instruction has "TimeIntoInterval", "Interval" and "Units" parameters. Currently, I guess you are using the following ...,0,10,min,...

If you want to start the period as 59900ms in to the 10min (60000ms) period, you will need to use something along the lines :-

...,59900, 60000,msec,...

Try that and see how you get on.

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