Thread: PWM
View Single Post
  #8   Spotlight this post!  
Unread 09-02-2016, 23:05
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,797
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: PWM

Here's how to add a constant using the attached image as a reference.
  1. Drag an Open 4 Motor into the Begin.vi block diagram
  2. Put the cursor on the vi icon you just dropped and you'll see the input and output nodes highlighted (left of the attached image)
  3. Put the cursor on one of the input node until the cursor becomes a wirespool (on the left of the vi icon) and right-click to get a pop-up menu (seen on the right of the attached image)
  4. Navigate to Create->Constant and left-click
  5. You'll get a new constant attached to the node that is the proper type for that particular kind of node. In this case a PWM constant.
  6. The PWM constant by default starts as Invalid, so put the cursor on the new constant until the cursor becomes a hand, then left-click and choose the PWM it should be.
Attached Thumbnails
Click image for larger version

Name:	AddConstant.jpg
Views:	32
Size:	46.9 KB
ID:	20026  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote