Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

run VI exist in my LAPTOP from NI SMART CAMERA

HELLO 

i want to run a VI exist in my laptop (name is : Configuration interface PC) form another VI (comparaison interface Cam) exist in my smart camera, but i don't now how can i do it ?

can you help me please.

You find the project below

0 Kudos
Message 1 of 8
(3,777 Views)

If you want to run a VI on the Smart Camera, is has to be underneath the Smart Camera target in the LVProject.  You can click and drag the VI to move it to the Smart Camera. 

0 Kudos
Message 2 of 8
(3,753 Views)

hello sir
can you give me a way to save and get images on drive desk of smart camera using labview.
i tried with ftp but i don't know how can i get path of a file located in a drive of smart camera in order to open it with a program labview.
thank you in advence

0 Kudos
Message 3 of 8
(3,705 Views)

If you open up NI MAX, right click the Smart Camera, and go to "File Transfer", you should have a file browser dialog that you can use to get the paths to the images you have stored on the camera.  You can then use FTP to transfer them to the desktop.

 

There's also a guide to working with file paths on RT targets here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YH93CAG&l=en-US

0 Kudos
Message 4 of 8
(3,699 Views)

hi rrobe
this is a very useful guide but when i get the correct path and i try to store image in a targets the function who save image guive me an error.
and i can't find any image on the target when i search it with ftp.

Download All
0 Kudos
Message 5 of 8
(3,687 Views)

Hi,

 

What Smart Camera are you using? The error you're experiencing means that the operation you are trying to perform is not supported on your target (see attached image). In order for me to confirm if this is correct or not, please let me know what target you are trying to save an image to. You can see the forums below to see how others have dealt with this in the past:

forum 1

forum 2

A Johnson
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(3,659 Views)

hi aflojo

my device is ni smart camera 1742

0 Kudos
Message 7 of 8
(3,654 Views)

Did you try the steps listed in either of the two threads she posted?

 

With writing to that file being a limitation, you need to look at other ways to solve the problem.  The link titled forum 2 talks about the 1744, a camera very similar to yours, using another method to save the data.  I'd start there and see if the same technique would work in your situation.

0 Kudos
Message 8 of 8
(3,635 Views)