From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-20-2013 12:38 PM
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.
02-20-2013 01:12 PM
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.
02-20-2013 02:52 PM
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.
02-20-2013 03:23 PM
Actually ... See Section 2.10 of the UE9 User's Guide for documentation of using a timer in PWM output mode.
02-20-2013 06:54 PM
i found this .VI on internet but i really dont know how to connect my labjack UE9 to this.
02-21-2013 10:13 AM
Start by following steps 1-5 in the text at the top of the LabVIEW_LJUD page:
http://labjack.com/support/ud/examples/labview
04-01-2013 08:39 AM
yes