2009年6月3日 星期三

Interfacing to the AXIS 206 Camera (Part I)

 

The AXIS 206 is an ethernet-based camera that supports up to 640x480 resolution.  The camera has a built-in web server that allows you to monitor the live images from a web browser.  Just type in http://x.x.x.x where x.x.x.x is the IP address of your camera.

The camera might ask you for a user name and password when you connect to the page, usually the user name is “root” and the password is “pass.”  Find the option in the settings menu to switch on “anonymous login” so that this prompt won’t show anymore.  This way we can use a program from LabVIEW to control the camera without being blocked by the password.

The VI you want to run is called “axis_03_grab.vi”.  You’ll need to also have the NI Vision Development Module installed before you run it.

Don’t run this VI on the CompactRIO yet, because I haven’t told you how to modify the CompactRIO so that it can run the vision algorithms.  You can run this VI on the PC first to experiment with it.  Remember to change to IP address so that it matches your camera!  When connecting from a PC without a hub or router, make sure to use a crossover cable, otherwise you might have some problems.

image

AXIS 206 Vision VIs download

Also, if you have trouble finding CalculateFPS.vi, here it is for download.

CalculateFPS.vi download

3 則留言:

  1. Hello, John.
    I click the axis_03_Grab VI.
    A message shows that needs the CalculateFPS VI,
    and I can't find it.
    I do install the NI vision developmet modular.
    But it still not works
    Help~

    回覆刪除
  2. Make sure you have NI Vision installed.
    The file you're looking for should be here:
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\IMAQ\IMAQdx Examples.llb\CalculateFPS.vi
    I'll upload it if you can't find it.

    回覆刪除
  3. HI JONN YOUR FILE (CalculateFPS.vi)

    IS NOT FOUND

    回覆刪除