03-14-2009 06:30 PM
Hi,
I have a problem generating PWM using analog output. There is a nice example online, but am unable to get it working because of what I think is a hardware limitation of NI 6010.
The example is : http://zone.ni.com/devzone/cda/epd/p/id/1675
This example looks similar like the PWM-counteroutput.vi example which uses PID to control counter output. I used that example to control a heater using the counters.
When I run this example program (the analog output one, where i provided the link), it gives me this error.
Measurements: Requested value is not a supported value for this property.
Property: SampTimingType
You Have Requested: Sample Clock
You Can Select: On Demand
Can anyone help me in trying to modify this program to work with my hardware. Any help would be greatly appritiated. I am almost finished my work for this assignment.
On the assignment, I have 4 heaters and 4 thermocouples. I am trying to use this DAQ (PCI 6010) to control the temperature of the heaters.
The PCI 6010 comes with two counters, and I can sucessfully control two heaters. I am trying to control the rest with the two analog outputs.
I have two PCI 6010 but using just one card would be more ideal.
Thanks for any help.
03-15-2009 07:08 AM
Hi KSagarN,
This problem causes from 6010's analog output is static output which can be updated by software time.
You probably try modifying your vi following my attached screenshot, but I cannot guarantee that it'll work well, because software timing is very not precise, and another problem you'll face is that your PWM frequency will be as low as 10Hz or lower, since software timing resolution is very low (1ms).
In my opinion, if this doesn't help, use two of 6010 is the cheapest option you've so far.
Regards, Kate