Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to communicate with the smart camera that runs a job via vision builder from a visual basic 6 application.

Hi

 

I just want to know how I can run the smart camera job (on the camera via vision builder) and retrieve the inspected image and the results to my visual basic 6 application.

I thought that there is an API that I can call from my application , but I could not find so I am using TCP I/O to communicate with the camera , as will I am browsing the image via the smart camera web server .

Is there any other elegant way to communicate with the smart camera from a visual basic 6 application?

 

thankx

0 Kudos
Message 1 of 2
(2,957 Views)

Hi M.Younis,

 

Thanks for posting on the NI Discussion Forums! One option may be to setup your host computer to act as an FTP server for your smart camera, which can then transfer the inspection images directly to the computer. Assuming you are running a Windows PC, you may find the instructions on how to do this here. For some instructions on how to log data from an inspection to the FTP, please take a look at the discussion here. Once the files are on your computer, you can look into using VB 6 to pull the data off the FTP server, which would just be a local folder on your host computer. Hope this helps!

 

0 Kudos
Message 2 of 2
(2,947 Views)