From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(7,019 Views)
Try by creating a labVIEW vi from vision assistant.
0 Kudos
Message 2 of 14
(7,015 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
(7,012 Views)

I meant creating vi from vi vision assistant

 

createvi.png

0 Kudos
Message 4 of 14
(6,999 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,993 Views)

it works!

thanks Anders

0 Kudos
Message 6 of 14
(6,986 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,984 Views)

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

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

Hi rohde,

Can you post the car number?

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

Hi Muks

 

CAR #441410

 

Best Regards

Anders Rohde

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