LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM

I'm using the NI USB-6008, I want to generate a PWM signal out of 1 of the Digital output ports.

All the characteristics of the PWM (duty cycle etc) will be specified manually in the VI.

Is this possible/any suggestions as too how to do it?

0 Kudos
Message 1 of 4
(2,775 Views)

Unless you are doing very, very slow PWM, the USB-6008 is not a good device, because it has software timed digital outputs.  The maximum output update rate is about 150 Hz.  At that rate you are likely to have substantial amounts of timing jitter due to OS latencies.

 

Lynn

0 Kudos
Message 2 of 4
(2,768 Views)

Unfortunately it is all I have available at this time, yes it is quite slow, somewhere in the region of 4 pulses per minute or 0.07Hz, so I imagine it should be within the capabilities of the USB-6008.

0 Kudos
Message 3 of 4
(2,765 Views)

At that rate the USB-6008 should be OK.

 

I think there are some examples on PWM.  Start by looking at those.  You will probably need to make some modifications, because it is likely that all the examples will assume the PWM will be generated on hardware timed DO devices or devices with counters.

 

Lynn

0 Kudos
Message 4 of 4
(2,761 Views)