02-12-2008 05:26 PM
02-12-2008 05:33 PM
02-13-2008 06:42 PM
Hi Moor,
In order to provide a knowledgeable solution to your problem, it will help if you first answer some questions:
1) What are the parameters of your triangle waveform: frequency, amplitude, etc? Will this change on the fly or will you use on-board regeneration to simply repeat periods?
2) What do you mean by trigger scanning/measurement functions? Do you mean that you will have some analog input that you would like to read once every period of the triangle wave?
3) What did you mean by data saving functions? Are you interested in writing your data to some sort of file as you go?
There a number of example programs that you can look at in the NI Example Finder for writing data to a file and for voltage generation.
The two best ways to trigger analog measurements are going to be:
1) Analog Triggering: Wiring the triangle waveform signal into an analog input and using the 6115’s analog triggering capabilities. This means that you can trigger when the waveform passes a voltage, either rising or falling. However, this can get complicated.
2) Post-processing: This is most likely the easiest way. This will involve your analog output and analog inputs sharing a start trigger and a sample clock. You will continuously be reading the voltage measurements, then you can decimate, or throw out, all the data points that you do not need.
Hope this helps, Mallori M.