10-18-2013 04:22 PM
Hello all,
I built an arbitray signal by reading the data from a txt file. Both the txt file and VI are included in the attachment.
What I am planning to do next is using this signal as the basis to built a periodical signal. In other words, the signal I have right now could be considered as a full period.
However, surely I can't generate this periodical signal by just reading the txt file several times. I think I might need to use a storage function to save the data after my reading and append them together (so the following signal won't start at time 0 again) before the signal is written to the DAQmx write block.
Anyone has a idea about how to achieve that?
Thank you very much
10-18-2013 04:39 PM
a small modification of a 2011 shipping example might help
10-18-2013 04:52 PM
Hi Jeff,
Thank you very much.
Would you please tell me the name of this example file?
All the best,
Kevin
10-18-2013 05:10 PM
in the 2011 examples this was sourced from "Gen Mult Volt Updates-Text File Source.vi" with some input from "Cont Gen Voltage Wfm-Int Clk-On-Board Regeneration.vi" Which is identical to "Cont Gen Voltage Wfm-Int Clk.vi"
in 2013 I strongly suspect the examples were renamed and done slightly different but, I can't check today.
10-18-2013 05:32 PM - edited 10-18-2013 05:32 PM
Hi Jeff,
Thank you for your information. Actually I have achieved to read the txt file to form the waveform by building my own VI. The waveform is listed as in Figure 1.
Figure 1
Now I have difficulty to output a periodical signal based on the signal I have right now. The ideal signal should be something like in Figure 2 (image achieved in Paint (windows7) )
The example VI you provided actually can only produce 1 signal, similar to figure 1. Not the continuous waveform as I desired.... 😞
10-21-2013 03:45 PM
Anyone can help me resolve this question?
Thank you very much