03-07-2016 03:54 PM
I'm stuck with the generator of a (variable) voltage.Thanks to tutorials I know how to generate a voltage with the DAQ assistent. However, this is not what I need. I want to generate a voltage between 0 en 5V in steps of 0.5V. I already have this scheme, however, I'm stuck to convert this numerical value to a voltage output.
I'm using a PXI 1042 with a PXI 7842R with a R-series expansion board with NI 9263. Everything is visible and connected in MAX.
Thanks!
03-07-2016 06:45 PM
If you open MAX, can you "see" your 9263? Set it up to go from 0 to 5 V. Now open a Test Panel, and ask it to output a Voltage of 1 v. [You should have a Voltmeter connected to the output of your DA channel to see what it does].
When you configure the D/A, you can set a "scaling factor" into DAQmx so that you can work in "natural units", here in Volts. If you set your device to range from 0 to 5v, then all you need to do is have a loop (say, a For loop with range 0 to 10 (i.e. wire 11 into the N terminal). Multiply the index "i" by 0.5 (so the product is 0, 0.5, 1.0, ..., 5.0) and feed that to the DAC, with appropriate timing. You should see the DAC output go from 0 to 5 V in steps of 0.5.
Bob Schor
03-15-2016 08:39 AM
This has been solved, the internal fuse was blown in the PXI card. 🙂