PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

converting 1D waveform to String

Hello,

 

I am using PXI-1036 with PXI-4472 to acquire acceleration. I am using Daqmx to acquire my analog acceleration signals. 

I am trying to write time stamped values in a excel sheet.  Please look at the picture attached below for more details. 

 

Problem - I have a broken wire while connecting my analog 1D waveform to a build array VI. 

 

How can I fix this problem?? Should I use convert to/from dynamic data?? If yes, then how?

 

Best,

Puspa kunwor

 error.png

0 Kudos
Message 1 of 5
(5,780 Views)

Use the Export Waveforms To Spreadsheet File.VI.  It will do all of the work for you.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(5,775 Views)

Hello crossrulz,

 

Thank you for your reply. I tried using Export Waveforms To Spreadsheet File.VI but I don’t know how to add time stamped to my acquire data. 

 

I found following example vi and added to my code and I am able to acquire both time and waveform data in a sub string. Picture below. 

 

Is there a way to write this substring (time, waveform data) into two columns on excel with headers?? 

 

Thank you,

Puspa Kunwor 

 Capture.PNGCapture2.PNG

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

pjkunwor1@gmail.com wrote:

Thank you for your reply. I tried using Export Waveforms To Spreadsheet File.VI but I don’t know how to add time stamped to my acquire data.


That VI puts the timestamps as the first column in the file.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(5,739 Views)

Hello crossrulz,

 

Thank you for your help. I am able to acquire my time stamped accelerometer data using Export waveform VI. 

 

But I have encountered another problem. It am not acquiring correct measurement. I have setup all my inputs (sensitivity, units, excitation current etc.) correct from datasheet of my accel but the output is completely different and inaccurate. 

 

I can see the vibration as high as 50g in my graph when I exert force on my accel but data written by Daqmx write does not reflect that. 

 

Do I need to do any signal conditioning? 

 

 Best,

Pjkunwor1

 

Capture2.PNGCapture.PNG

0 Kudos
Message 5 of 5
(5,683 Views)