LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Modify the Benchtop Function Generator.VI

The Benchtop Function Generator.VI outputs to only one channel at a time. Is it possible to modify it in such a way that 3 or 4 kinds of signals of different frequencies can be output to the corresponding channels simultaneously using PCI-60XXE series DAQ device?
0 Kudos
Message 1 of 2
(2,562 Views)
Hi Ejaz,

first the 60xx devices have all 2 analog output channels so you must use at least 2 devices or you must use a 67xx device. For 60xx devices to avoid differences in the update rate which will be reflected in the resulting frequencies and different start points which will result in a phase shift you must use the RTSI-bus to get the clock signals from one card to the other.

On the software side you must change Benchtop function generator.vi to get the controls for the new channels. Make an array of the output of the now 3 or 4 bundle functions. Funct gen sub.vi must be changed to receive an array of knob settings. Compute func gen waveform.vi shoud be called in a loop and should give back a 1D-array instead of a 2D-array. Put the arrays together
as you need it in the channels and devices.
For the configuration task you must call AO config, AO write, AO clock config and AO clear twice once for each device. Also you might need Route Signal.vi for RTSI-bus access.
On the other hand the frequencies must be an integral multiple of the update rate because you have only one clock. So you cannot produce update rates with 10 and 17.5 Hz. You must adjust the frequencies to this restriction.

Have a nice work doing the changes.
Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 2
(2,562 Views)