07-25-2005 08:47 AM
07-25-2005 09:33 AM
Hello Bob:
The PCI-6221 has a 16-bit analog output that can sample up to (833 kS/s). I would suggest that you configure your DAQ card to be an analog output, with sample rate from (200 S/s for 5ms pulses) up to (33.3 S/s for 30ms pulses). Then, set your "DAQmx Write.vi" function to output multiple samples as an array of 1D DBL. The input data is an array of 100 DBL (for 1% duty cycle). The first element is your controllable high voltage; and the remaining elements of the array is equal to zero.
I hope this helps. Please advice if you still have questions. 🙂
07-25-2005 12:46 PM
07-27-2005 09:01 AM
07-27-2005 09:05 AM
What a I forgot to add/ask in that last post is why does my mseries card not have the ability to have an internal connection between the counter output and a sample clock for inputting/outputting? The Eseries cards seem to and I thought the mseries were supposed to be better (or at least that's the impression the NI salesman gave my boss).
07-27-2005 09:37 AM
08-03-2005 05:50 AM
Thanks Thayles,
That was an extremely useful bit of information!
I am now able to use a counter pulse time setup to generate my desired high and low times. All I have to do now is work out how to use that to control a constant voltage analogue output. And then how to acquire a small number of samples triggered by the same counter int output (with a short delay after triggering on the rising edge each time). Then I just average those samples to make a single piece of data per triggering!
Does everyone have a baptism of fire with Labview like this?!
Bob