View Single Post
  #1   Spotlight this post!  
Unread 24-01-2009, 19:14
CVassos's Avatar
CVassos CVassos is offline
A man of many subgroups
AKA: Chris Vassos
FRC #2016 (MightyMonkeyWrenches)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Ewing, New Jersey
Posts: 19
CVassos is an unknown quantity at this point
Library Access Scope Problems

For controlling our robot I created my own subvi for controlling the drive. Within it I use the get pwm ref vi's. When I opened all of the motors and servos I'm using for the drive, I created a subvi to house all of them to keep the main clean and associate them all under the robotdriveref cluster. The drive vi I made is now non-executable. I get the error message "This VI cannot access the referenced item because of library access scope. Private library items can only be accessed from inside the same library or libraries contained in that library. Protected library items can only be created inside LabVIEW classes and can only be accessed from inside the same LabVIEW class or LabVIEW classes inheriting from that class." My programming mentor is no more familiar with LabVIEW than I am. Is there any way to get around this? I use the basic framework by the way.
__________________

Thank you, Johnson & Johnson, we are very grateful for your sponsorship
Reply With Quote