From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM using LABJACK UE9

is there anyway to control a DC motor using PWM from labview using the labjack UE9 hardware ? i've been reading on the labjack page and the UE9 has Up to 6 Timers (Pulse Timing, PWM Output) i just want to know how to use it. 

 

 

 

thanks.

0 Kudos
Message 1 of 7
(3,616 Views)

Have you tried using the example code that Labjack provides here:

 

http://labjack.com/support/ud/examples/labview

 

It looks like it will get you started.

 

--Ryan S.

0 Kudos
Message 2 of 7
(3,611 Views)

Sparkysquared provided the correct link.  There are a bunch of LabVIEW PWM examples for the UE9 in there.

 

See Section 2.9 of the UE9 User's Guide for documentation of using a timer in PWM output mode.

 

Do you have a motor driver or motor controller?  I doubt the digital outputs on the UE9 can directly provide power for your motor, so if you don't have a driver/controller we need to look at the voltage and max current you need, and also whether you need forware/reverse or just variable forward.

0 Kudos
Message 3 of 7
(3,592 Views)

Actually ... See Section 2.10 of the UE9 User's Guide for documentation of using a timer in PWM output mode.

0 Kudos
Message 4 of 7
(3,583 Views)

i found this .VI on internet but i really dont know how to connect my labjack UE9 to this.

0 Kudos
Message 5 of 7
(3,569 Views)

Start by following steps 1-5 in the text at the top of the LabVIEW_LJUD page:

 

http://labjack.com/support/ud/examples/labview

 

0 Kudos
Message 6 of 7
(3,555 Views)

yes

 

0 Kudos
Message 7 of 7
(3,494 Views)