08-02-2006 12:57 PM
08-03-2006 04:11 PM
Hello Matt,
This operation should definitely use the counters of your Multifunction DAQ devices. They are capable of generating pulse trains that you can update the frequency and duty cycle of while the operation is running. Here is an example written in Traditional NI-DAQ which needs to be used with your AT-MIO-16XE-10. The PCI-6052E can use the NI-DAQmx example.
In LabVIEW, you should be able to achieve loop rates on the order of a few milliseconds, depending on your computer. I would expect that you would be able to change the properties fast enough for your purposes, if the minimum pulse train time will be 10ms before you need to change it again.
Please let us know if you have additional questions.
Regards,
Laura
08-12-2006 01:55 PM
08-12-2006 02:48 PM
08-14-2006 01:31 PM
Hi Matt,
Thanks for keeping us posted about your progress. It sounds like you've got most things figured out. For the voltage level being off, you might check into that you have correctly connected your signals depending on what analog input configuration you are using (differential, RSE, or NRSE). If you need some help with that, you might check out Field Wiring and Noise Considerations for Analog Signals.
Remember that the maximum analog input rate for your AT-MIO-16XE-10 is only 100 KS/s so you will not be able reliably to see the pulse train at frequencies much higher than 10 or 20 KHz. Another way to verify the frequency of the pulse train is to use the counter on your other device to do a frequency measurement. If the AT-MIO-16XE-10 is generating the pulse train, you can use example programs for measuring frequency with your other device to verify the frequency.
Regards,
Laura
08-14-2006 03:42 PM
08-15-2006 11:08 AM
Hi Matt,
It's strange that your DMM reads 5.6 V for the counter output. The counters use TTL specifications, so I wouldn't expect the output to be that high. You may want to use a known voltage source with both the analog input of this card and the DMM to see where the discrepancy lies.
I took a look at the frequency examples that could be used with your AT-MIO-16XE-10 and they use two counters to perform the measurement so you can't do the pulse generation and measure frequency at the same time on this card. You can use your PCI-6052E in the same computer to measure frequency, if the computer has slots for both. You can use both cards at the same time. Or you could use the Measure Period.vi example in the Example Finder to measure period with the AT-MIO-16XE-10 while generating a pulse train on the other counter.
Regards,
Laura