annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

DIADEM INTERGRATION

 

I would like to create a Diadem script to auto analyse  the for.tdms file attached

I would like to therefore create a routine which starts by integrating from 0 to 300mA for both hysteresis vs current  and control pressure vs current and gives me the value in an excel file There a lot of data 

Scarica tutti
0 Kudos
Messaggio 1 di 2
2.506Visualizzazioni

Step 1.  Find the row in the "current" channel corresponding to 300 mA.  The link below shows you how to do that.

http://www.savvydiademsolutions.com/analysis.php?topic=search-channel-by-value-get-row

 

Step 2.  I would delete the rows for every channel from 300 mA to the end.  See the link below for an example on how to use the DataBlDel() command (do a CTRL-F in the browser and search for it). 

http://www.savvydiademsolutions.com/analysis.php?topic=NI-DIAdem-channel-data-manipulation-commands

Step 3.  Integration.  I'm not sure about the validity of performing channel integration when the x-channel is not a time channel, but you can see how to perform channel integration by following the link below.  Note that when you integrate you lose the constant, so you will need to figure out how to resolve that. 

http://www.savvydiademsolutions.com/analysis.php?topic=analysis-channel-differentiation-integration

Step 4.  Export to Excel.  The link below shows you how to export the data to a CSV file.  That is an easy format for import into Excel.  Alternatively you could output directly to Excel, but I don't have a demonstration on my website on how to do that.

http://www.savvydiademsolutions.com/script.php?topic=writing-text-csv-files-FileSystemObject

 

Contact me if you would like to contract me to write a complete running script for you.

 

0 Kudos
Messaggio 2 di 2
2.403Visualizzazioni