Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Write PWM Line VI

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

Owning Palette: Direct Input and Output VIs

Requires: LabVIEW Robotics Starter Kit

Generates a pulse width modulation (PWM) output on a digital I/O line of the Starter Kit FPGA.

PWM line specifies the digital I/O line to which you want to generate the PWM output.

1004Port0/DIO4 (Left Motor) (default)
1005Port0/DIO5 (Right Motor)
1007Port0/DIO7 (Servo)
1700Port7/DIO0
1701Port7/DIO1
1702Port7/DIO2
1703Port7/DIO3
starter kit host in is a reference to the communication session between the host VI and the FPGA on the robot. Use the Starter Kit initialization VI that is appropriate for your application to generate this LabVIEW class object.
period (us) specifies the period, in microseconds, of the PWM output you want to write.
pulse width (us) specifies the pulse width, in microseconds, of the PWM output you want to write.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
starter kit host out is a reference to the communication session between the host VI and the FPGA on the robot. You can wire this output to other Starter Kit VIs.
error out contains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit