High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe-5122 Multi-Record 2 Channel Sample Rate

Hi Mike,

 

While researching your issue, I discovered that you have the same service request open with another engineer in my department. Rather then both of us working on it seperately, we are going to work together under one service request. This will ensure we get your question answered quicker. That being said, all communication will now go through your service request currently open with Adam G. Thank you for your time!

 

P.S. In the strange event that we have two Mike's with identical questions and you do not know what I am talking about, let me know and I will continue to work with you in this forum.

Micah M.
National Instruments
NIC AE Specialist - Test
0 Kudos
Message 11 of 14
(2,960 Views)

Hi,

sorry for asking things on this topic, if you prefer I will open a new one, but I'd like to know if it's possible to have as output an array instead of a tdms file in the example "niScope EX Multi Record Fetch More Than Available Memory Producer Consumer 8_2.vi".

Thank you!

0 Kudos
Message 12 of 14
(2,942 Views)

Hi danielevee,

 

No worries!

 

When you say output to array, I assume you mean appending the data into an array as it comes? Or are you wanting to output to a file like an Excel spreadsheet?

 

To write to an array, all you will need to do is unbundle the waveform data and use the actual "Y" data to create the array. Waveform data also has timing information (dt, t0) that is the reasoning behind unbundling to extract the actual datapoints. Here is a quick tutorial on Arrays and Clusters (unbundling) in case you have not seen it.

 

There are lots of great examples on building arrays as well. You can also look in LabVIEW by going to Help -> Find Examples then search for array.

 

Here is fairly advanced example on how to convert a waveform to a timestamped array. The main take away from this is stripping the waveform and building an array.

 

I hope this helps you get started!

Micah M.
National Instruments
NIC AE Specialist - Test
0 Kudos
Message 13 of 14
(2,915 Views)

Thank you,

that's exactly what I was looking for.

0 Kudos
Message 14 of 14
(2,911 Views)