|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera Target (x,y) Position
I have located said reference.
It was a pain going through all of the clusters and indecies, so I turned it into a vi. I have attached it to this post. It should work with any code that runs the standard vision processing. It spits out (x,y) coordinates to your program. |
|
#2
|
|||||
|
|||||
|
Re: Camera Target (x,y) Position
Once you get familiar with how clusters work and how to bundle and unbundle things by name, it's a lot less painful. You did a whole bunch of work figuring out things in detail using simple "anonymous" unbundle steps. Here is something that does the same thing in fewer steps and with more built-in documentation using Unbundle by Name. It works a lot like structures in C, where you can drill down through multiple layers in one shot.
|
|
#3
|
||||
|
||||
|
Re: Camera Target (x,y) Position
OK Alan ... how'd you hack my computer? That's the exact code we have in our targetting routines.
![]() |
|
#4
|
|||||
|
|||||
|
Re: Camera Target (x,y) Position
It is obviously the perfect code for the task. It does no more than is necessary.
Quote:
|
|
#5
|
|||
|
|||
|
Re: Camera Target (x,y) Position
Oh, C. How you were so perfect. Why is my team convinced that LabVIEW offers so many advantages?
Bah, no matter. Unbundle by name is quite superior to the mess I produced. Thank you. |
|
#6
|
||||
|
||||
|
Re: Camera Target (x,y) Position
Labview does not offer any hugely significant advantages over C (other than it being slightly easier to learn for complete coding newbies).
C does not really offer any hugely significant advantages over Labview. People enjoy arguing about it, but the simple fact is that you will always be more effective programming in a language you know. I will say that as a labview programmer I envy the C teams and their lightening fast compile times compared to mine. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Target size configuration | RKElectricalman | C/C++ | 3 | 03-02-2010 15:13 |
| Camera Target Dimensions | pribusin | General Forum | 8 | 13-01-2010 13:29 |
| Target acquisition with camera- color issues | Quarkster | Programming | 20 | 12-03-2009 00:11 |
| CAMERA POSITION | RDD | Programming | 1 | 18-02-2007 16:47 |
| Camera Tracking Target | Jade | Programming | 3 | 20-01-2007 01:41 |