View Single Post
  #1   Spotlight this post!  
Unread 27-01-2009, 00:10
trilogy2826's Avatar
trilogy2826 trilogy2826 is offline
Mentor - 2826
AKA: Jake Fischer
FRC #2826 (Wave Robotics)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2006
Location: Oshkosh, WI
Posts: 113
trilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond repute
Open motor reference on Slot 6 DIO Module

I thought I was a pretty decent LabView "coder" after using it for over 3 years, and I'm actually happy to say that I've found something that has stumped me. I am attempting to open a motor reference in the Advanced framework Begin.vi and select PWM channels for eventually controlling motors connected to the sidecar on the Slot 6 DIO module. Slot 4 is selected by default internally in the OPEN X MOTOR.vi and since there is not an external connector to the outside of this vi for selecting the slot, I can think of only two (relatively cumbersome) ways of changing the slot reference:

1. Change the lib vi to extend the slot through the vi connector. I have a feeling this would be a bad idea because updates would probably break this

2. Decompose the open motor output cluster and insert my new reference to the slot in the cluster output. Blah

I know there is an easier way and I appreciate the help
Reply With Quote