11-03-2006 03:44 PM
11-06-2006
01:51 PM
- last edited on
09-30-2025
06:55 AM
by
Content Cleaner
Hi Mizar,
Use a counter output to generate a pulse train. Create a NI-DAQmx Channel Property Node with two inputs (CO.Pulse.DutyCyc AND CO.Pulse.Freq). Pass the new value for the duty cycle as well as the desired frequency (even if it has not changed) to the property node.
I hope this helps!
Ed W.
11-06-2006 03:01 PM - edited 11-06-2006 03:01 PM
Hi Mizar-
To add to Ed's post, before you attempt to write you should also query the CO.Ready For New Value channel property to ensure that the counter is ready to be reprogrammed with new values. In LabVIEW that property appears in the channel property node:
Note also that (as Ed mentioned) you must set both pulse parameters in order for new values to take effect. If you do not set both successfully then the new settings will be ignored.
Hopefully this helps-
Message Edited by Tom W [DE] on 11-06-2006 03:01 PM