Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Coordinate System??

Solved!
Go to solution

Hey,

 

I have made a very simple script in the vision assistant tool - when I run it within the tool, everything is fine - but when I put it in my VI, I get an "Invalid Coordinate System" error.

 

What I am trying to do is to first have a pattern matching to locate my object, then I want to set a coordinate system based on that, and use that for a reference for the rest of the script - but no matter what I try, the "set coordinate system" outputs "NaN" - eventhough the pattern matching is working perfectly.

 

any ideas?

 

 

Download All
0 Kudos
Message 1 of 14
(6,953 Views)
Try by creating a labVIEW vi from vision assistant.
0 Kudos
Message 2 of 14
(6,949 Views)

@muks wrote:
Try by creating a labVIEW vi from vision assistant.

you mean: right click, "open front panel" - right?

 

this is what I got - no change

Download All
0 Kudos
Message 3 of 14
(6,946 Views)

I meant creating vi from vi vision assistant

 

createvi.png

0 Kudos
Message 4 of 14
(6,933 Views)
Solution
Accepted by topic author Ehlert

Hi Henrik

 

I've run into this behavior as well. This is a bug in LabVIEW 2013 it should be corrected in LabVIEW 2014.

 

In the mean time we have created a patch that you can use to solve this.

 

If you replace the attached file with that one that is already there in this folder:

<LabVIEW>\vi.lib\vision

and restart LabVIEW you issue should be solved.

 

 

Best Regards

Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark

Message 5 of 14
(6,927 Views)

it works!

thanks Anders

0 Kudos
Message 6 of 14
(6,920 Views)

ohh, and btw - the patch also speeds up the script by at least a factor 50 - was actually a bit worried since is was extremly slow when running on the target - the proformance meter claims that it should be able to run in less than 50 ms, but before this patch it took seconds...

0 Kudos
Message 7 of 14
(6,918 Views)

Thanks for the update Henrik - I'm glad it solved the issue.

0 Kudos
Message 8 of 14
(6,916 Views)

Hi rohde,

Can you post the car number?

0 Kudos
Message 9 of 14
(6,912 Views)

Hi Muks

 

CAR #441410

 

Best Regards

Anders Rohde

0 Kudos
Message 10 of 14
(6,909 Views)