Jump to content

Recommended Posts

Posted

Hi

I have a project with USP-104-B10 (UniStream 10 inch) ַַ&  Unilogic 1.15.70 and in the project I build a trend screen. Now I have to save the data into the SD card ,transfer the data to my computer and convert the data to csv and generate a graph. It's a very long process.

how can I shorten it?

can I save the data straight to csv?

is there  a software that can take the data format of the trend file and make a graph?

 

Posted

The Data Sampler struct has a bit called "Create CSV". If set, then when the file is saved into SD Card, a CSV file is also being created.

In the email options. you have a file type CSV (attachment), zip

The CSV file is being zipped and emailed. You can contact out support for more details and help about this subject.

 

 

Posted

thank you

so i can save the trend data in csv directly to the sd card and open it with excell and creat a graph..

is their a software that can make a graph automaticly from the file in the sd card? in unitronics format or in csv forma?

Posted

If you know C#, then you can create a software that will do it for you.

Either way, if the csv is compressed, you will need some kind of a code to extract the file from the Zip. 

Btw, Unitronics has a tool called Trend to PDF that takes either UniStream or Vision Trend file (not the CSV), and create a PDF with the graph.:

http://unitronicsplc.com/software-unilogic/

(look under the Software Utilities,  "Unistream Data Converters Suite"). You are probably using these tools for converting the Data Sampler raw data to a CSV file.

 

As much as I remember, the Unitronics.Utr2Pdf.DLL can be used (You will need the 3rd part dlls, at least some of them, in order to generate the graph) for converting the Trend to PDF by code (by referencing the dll)

For example:

Unitronics.Utr2Pdf.Services.Convert(inputFile, outputFile,  new Tuple<int, int>(yAxisDivision, yAxisSubDivision),  openPdf);

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.