Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67075

Extracting First n elements of array

$
0
0

Hello,

For a program I am creating I need exactly 16384 data points of a current waveform.  This is a strange number but is a requirement for a VI from a driver for a function generator.  I have many csv files of waveforms that I would like to use.  However, some of the waveforms have more and some of them have less than this number of data points.  Therefore, if there are more data points, I want to cut off and extract only the first 16384 data points and use those.  When there are less, I want to just add zeros after the last data point until I have enough of them.  I then need to put this data back into a csv file as that is what the function generator VI takes as an input. What are some of the best ways to do this?

Thank You


Viewing all articles
Browse latest Browse all 67075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>