Go to Post bedtime? there's no bedtime while chief delphi is up and running! - Alex Cormier [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 06-02-2012, 10:30
brunoUC's Avatar
brunoUC brunoUC is offline
Registered User
AKA: Bruno Toso
FRC #1156 (Under Control)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Novo Hamburgo, RS, Brasil
Posts: 22
brunoUC is an unknown quantity at this point
Re: ni vision assistant help!

thank you, the example is realy useful i've already adapted it to our robot code and it's working as it should. But i've been trying to use the distance and coordinates that it gives me and i couldnt find a way to separate the informations from the array.
also, is there any way to use select the color i want without opening the code and using the pointing tool?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2012, 12:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ni vision assistant help!

Quote:
Originally Posted by brunoUC View Post
...i couldnt find a way to separate the informations from the array.
Use the Index Array function from the Array function palette. You can choose which of the elements of the array to pull out as a single cluster of values. Then to get the individual values from the cluster you use a function from the Cluster, Class, & Variant palette: Unbundle by Name.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2012, 16:06
brunoUC's Avatar
brunoUC brunoUC is offline
Registered User
AKA: Bruno Toso
FRC #1156 (Under Control)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Novo Hamburgo, RS, Brasil
Posts: 22
brunoUC is an unknown quantity at this point
Re: ni vision assistant help!

thank you!
i managed to aquire the coordinates and distances, but i still couldn't make the program find the color of the tapes without selecting it, is there a way to place it on the dashboard or something like that?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2012, 01:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ni vision assistant help!

Run the code so you can see the vi's front panel. Select the color you want to seek. Then you can stop the code and use the right-click menu on each of the six numeric color range values and choose Data Operations>Make Current Value Default (I'm typing this from memory and might not have gotten the names quite right). That makes the change stick for the next time you run or build the code.
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 11:36.

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