From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Export channel data to ascii format in diadem

Hi,

 

I am using Diadem 14. Is there a way to export analog channel data to ascii format? Or is it possible to create a script for the same?

 

The output file that I need has to 2 columns with first column containing the x channel (time) values and the second has the y channel values.

 

Regards.

0 Kudos
Message 1 of 5
(5,100 Views)
Call DataFileSave("C:\temp\data.csv","CSV")

 Call this line. If you need different delimiter have alook at this link.

 

 

0 Kudos
Message 2 of 5
(5,095 Views)

Thank you for the response.

 

I have a time channel ranging from 0 to 100 sec, and I want to export the channel data from 25 secs to 50 secs only. Is there any modifications of the above command to meet my requirements.

 

Regards.

0 Kudos
Message 3 of 5
(5,074 Views)

Hi faz_shah,

 

Yes, you will need to programmatically create a new Group in the Data Portal which has only the subset rows you desire in it.  If you post a data set, I can help you with the necessary code.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 5
(4,964 Views)

Got it.

Wanted to know if there was any easier method.

 

Thanks.

 

Regards.

0 Kudos
Message 5 of 5
(4,354 Views)