DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIADEM file output format.

Hi,

 

 Could you tell me if there is a way to add a introductory information, such as Title, Date and Location (see below) in exported csv files (separately from the data itself)?

 

 For example, I would like to create data format of:

 

 

Title,

Date,

Location,

 

Time, Speed, Temp, Vibration, ... etc

 

 Data,Data,Data,Data,..... 

 

 

Kind regards

 

HiroE

 

 

 

 

 

 

 

 

 

 

  

 

 

 

 

 

0 Kudos
Message 1 of 3
(3,876 Views)

H HiroE,

 

I am attaching an example program that does this.  The standard "CSV" DataPlugin shipping with DIAdem exports tab delimited ASCII files with a *.csv extension.   If you really want the delimiter to be "," or ";" then you need to add the following parametrization:

 

FilePath = "C:\Test Commas.csv"

Delimiter = "," ' vbTAB

FileParameters = FileParameters & "<filename>" & FilePath & "</filename>"

FileParameters = FileParameters & "<delimiter>" & Delimiter & "</delimiter>"

Call DataFileSaveSel(FileParameters, "CSV", SelChStr)

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 3
(3,851 Views)

Thanks Brad,

 

 I will try out your recomendation.

 

Regards

 

Hiro

0 Kudos
Message 3 of 3
(3,836 Views)