Jump to content

Export Trend File to CSV

Recommended Posts




(Unistream PLC and 10.4 Inch screen)


I Try to export the trend data from a Datasampler to a CSV (EXEL) File

I get it from the SD-card with filezilla.


Sometimes the file will be generated and sometimes it won't


I stop the data sampling and then i set the create CSV bit.

in ladder function.



But it not always generate the file (.ZIP)


Is there an example how this file must be generated.


I use Unilogic version 1.9 rev 19


I have tried a full download and so on but sometimes it works sometimes it won't


Is there any example how this works.


 Thanks René

Share this post

Link to post
Share on other sites

Hi Rene,

Please see the attached project.

In the Data Sampler1 struct there is a "Create CSV" bit. When this bit is turned on, every time you will stop the sampling or when the sampler reaches the maximum samples (60000 samples) a new CSV will be written to the SD card.


Please let me know if that works for you.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...