08-06-2015 07:38 AM - edited 08-06-2015 07:41 AM
ok sorry think we got our wires crossed. So what you are saying is that the data coming out of the simulation is actually an array of sampled amplitude values, and so there is no further sampling mechanism required? So if I were to sample from a DAQ assistant for a real device, the data coming out of the DAQ asistant block would actually be the sampled data. So I could have a block for writing the data to file going directly to the write to file block and it would save a 1 dimensional array of ampliotude values that I could stick straight into excel and plot a sine wave with? That prob explains why there are no tutorials, sampling only actually requires one block of code. I thought I had to do a bit more to sample the data.
08-06-2015 07:58 AM
08-06-2015 10:50 AM
There's actually quite a wealth of tutorials on waveform sampling but the phrase "LabVIEW waveform sampling" probably won't find them. Search for "NI DAQmx tutorials" instead. And although there's no real point in sampling a simulated signal, you could certainly use the Analog Out of your DAQ card connected to an Analog IN on the same card to practice working with DAQmx.
The DAQ Assistant will work for simple applications and it is easy to setup but I suggest you go through some DAQ tutorials and/or training if you want to learn the true power NI-DAQ. The DAQ Assistant is kind of like putting training wheels on a Harley or swimming in the baby pool.
http://www.ni.com/product-documentation/5434/en/
11-04-2019 02:23 AM
I generated the waveform without simulate signal and write a file but the issue is i need the samples of sine wave and read from the data and store it as array.Can anyone help me?