Follow this step-by-step example to configure the CSV Writer Agent in the XMPro Data Stream Designer.
Need help with creating your XMPRO Data Streams? Visit https://documentation.xmpro.com... this example demonstrates how to use the
csv action agent to write pump readings
to a csv file
first drag the agent onto the canvas
link the input to the pump data and
output to the
printer save the data stream
and click on the agent to configure it
select all columns to be written
and enter the directory where the file
will be created as well as the file name
apply the changes save the data stream
publish it and let's look at the live
data
the file is created with the date
appended and each event is written to it
let's try the other options
untick so that only one file is created
and let's add a custom date time format
the file is created without the date
this time and all date time columns will
be written with the custom formatting
you can download the files below to try
them out yourself
and for more information about this
agent's properties head to the
configuration page thank you