Go to Post Welcome to adulthood. Remember, patience is your friend. Denial is your shield. Bitter disinterest your salve. Your endless hours of crushing workload will be your strength. Good luck, soldier. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-03-2016, 10:25
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
How to easily find customized "standard" VI's?

In order to get 2 cameras working in labview this year, we had to modify several standard VIs. We tried to make sure that each time we edited a library or standard VI, we saved it with a new name in our project structure. However, we missed one or more.

Currently, our robot code and dashboard code can be built and run from any computer, but two cameras only works when the robot code is built, the dashboard is built, and the dashboard is run on one single laptop. We expect we modified a WPI or NI VI at some point on that laptop to get the two cameras working and then did not save the modified VI with a new name in our project.

We are manually going through the code now, but is there a way to get labview to give us some indication of the affected VI?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2016, 17:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How to easily find customized "standard" VI's?

It may be quickest to use the modification date to see what has changed under vi.lib.

The tools menu has a Compare Hierarchies tool, but with this many VIs, it is still going to take awhile, and you'd need an unmodified copy to compare against.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 07-03-2016, 19:20
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: How to easily find customized "standard" VI's?

Thanks, we've been looking through them, but so far we haven't found it(them) yet.

In an effort to focus on the important (and maybe learn something in the process) are there more or less likely places in vi.lib to search?

For example, IMAQ Create is common to both robot code and dashboard code, but it simply calls a low-level library. It has a more recent modification date, but its properties look unchanged from the original install version. I assume there is something about these low level libraries that needs to change when we make changes to or use higher-level VIs in our code. I see them get saved from time to time when we save or build the project, but that seems to be handled across computers. The place we need to check is only where we make explicit changes?
Reply With Quote
  #4   Spotlight this post!  
Unread 07-03-2016, 21:27
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How to easily find customized "standard" VI's?

The lower level VIs will sometimes need to be saved because they are moving from one platform to the other. LV can store the generated object code either in a database or as originally done in the VI file itself. So if the VIs save the object code into the VI, they need be saved anytime the platform changes.

If you haven't found it yet, you may just consider taking the working files to the other computers. The files are within vi.lib, probably within Rock Robotics.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 13-03-2016, 19:34
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: How to easily find customized "standard" VI's?

Well temporarily the problem was solved...we had to remove the second camera to save weight.

We may resort to moving the files. Our concern is that if there is another update, it will end up overwriting those VIs and then it won't work.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi