AXIS 213 Camera

I have looked at several posts on the board regarding capturing an image from a webcam using labview and activex.  I am trying to do the same with an AXIS 213 PTZ Network Camera.  I am not having any luck so far as I do not have any experience in building dlls to hold the activex object, and I am not sure where to find the activex object to put into the dll.  If anyone has any experience with doing this especially if it was with an AXIS Network Camera then I would greatly appreciate any help or possibly an example vi if possible.
Cheers!
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

Hello,
I have downloaded the driver software and am looking over ActiveX examples but am still not clear on how to actually put a vi together that will call activeX methods that will allow me to interact with my device.  Am I correct that I need to have, in this case, the AXIS Video Capture Driver installed on my machine and know what methods the driver users in order to call these same methods within LabVIEW?  If this is true then I have to somehow create a dll that will point towards the AXIS Video Capture Driver to use its activeX methods?  As I mentioned this is new territory for me so I apologize if my questions are nonsense.  Any help will be appreciated!
Cheers!
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

Similar Messages

  • Axis Network Camera Jpeg mess

    I am trying to read the MJPGs from an Axis camera. I can get each image as a bufferedimage, but I need to also get them as a byte[] buffer. I need to pass on that byte[] buffer to other listeners. I am having a fun time trying to convert the image to a byte buffer. I have tried several examples found here and elsewhere and nothing seems to work when I try to convert the byte[] buffer back to an image via           thepic = tk.createImage(myBytebuff[]);
    any assistance is appreciated!
    Greg

    When you talk about turning an image into a byte[] buffer you need to be specific about how data is formatted
    in that buffer -- there are plenty of ways to do it.
    Nevertheless, here is a demo where I create a series of buffered images:
    1. The source image, as read.
    2. intImage, which holds its data in an int[],
    3. byteImage, which holds its data in a byte[]
    Then I extract a byte array from byteImage and demonstrate that I can recover the image by creating
    4. recovered, which is created from a databank byte[].
    You should take your image and convert it to have a byte[] databank, if needed, then see if that byte[]
    is the correct format for your needs.
    import java.awt.*;
    import java.awt.color.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class BufferedImageToByteArray {
        public static void main(String[] args) throws IOException {
            URL url = new URL("http://today.java.net/jag/bio/JagHeadshot-small.jpg");
            BufferedImage source = ImageIO.read(url);
            BufferedImage intImage = convertType(source, BufferedImage.TYPE_INT_RGB);
            BufferedImage byteImage = convertType(source, BufferedImage.TYPE_3BYTE_BGR);
            byte[] data = getData(byteImage);
            BufferedImage recovered = toImage(data, source.getWidth(), source.getHeight());
            JPanel cp = new JPanel(new GridLayout(2,2));
            addImage(cp, source, "Source Image");
            addImage(cp, intImage, "TYPE_INT_RGB Image");
            addImage(cp, byteImage, "TYPE_3BYTE_BGR Image");
            addImage(cp, recovered, "Recovered Image");
            JFrame f = new JFrame("BufferedImageToByteArray");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(cp);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        static void addImage(Container cp, BufferedImage im, String title) {
            JLabel label = new JLabel(new ImageIcon(im));
            label.setBorder(BorderFactory.createTitledBorder(title));
            cp.add(label);
        public static BufferedImage convertType(BufferedImage source, int type) {
            if (source.getType() == type)
                return source;
            BufferedImage result = new BufferedImage(source.getWidth(), source.getHeight(), type);
            Graphics2D g = result.createGraphics();
            g.drawRenderedImage(source, null);
            g.dispose();
            return result;
        public static byte[] getData(BufferedImage image) {
            return ((DataBufferByte)(image.getRaster().getDataBuffer())).getData();
        public static BufferedImage toImage(byte[] data, int w, int h) {
            DataBuffer db = new DataBufferByte(data, data.length);
            WritableRaster raster = Raster.createInterleavedRaster(db,
                w, h, 3*w, 3, new int[]{2,1,0}, null);
            ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_sRGB);
            ColorModel cm = new ComponentColorModel(cs,
                false, false, Transparency.OPAQUE, DataBuffer.TYPE_BYTE);
            return new BufferedImage(cm, raster, false, null);

  • Create Template for Axis P3214 Cameras with VSOM 7.5.1

    Axis P3304 has gone end of life...the template I have dones not work properly with the replacement camera
    P3214.  How do I create a template for the P3214.

    My question really is how do I get a driver for the P3214 that will work?
    The AXIS Generic VAPIX 3.0 driver is what I am using for the P3304.  That
    driver will get a view in the P3214 but it is turned wrong, small and changes in the
    camera setup is limited.

  • LabView and Axis network camera

    Hello,
    I am using LabView 7 to display/save images from two network cameras
    (AXIS PTZ 2130). I use the ActiveX controls provided by Axis.
    It works, but the development is painful because the Methods and
    ActiveX controls are not well documented by Axis.
    Does anyone have some experience in it ?
    I am currently using the IAxisCameraControl class to control the camera motion,
    but I am also interested in managing the events
    ("OnNewImage"...) provided by the CamImageEvents class.
    Thanks!

    IAxisCameraControl Class?
    I found just IAxisMediaControl class...
    How can i have CameraControlClass? or is it the same?
    Kolos 

  • 7.2.1 with axis 211 cam

    Hello!
    7.2.1 with the addition of the camera axis 211 produces an error that the resolution is not supported by the camera. 7.0.1 in the works.

    Hello alex,
    Just checked the release notes for supported devices:Axis, its not listed in the supported devices, however you can try adding this in Generic Axis VAPIX version 3.0 or checked the axis if its supporte ONVIF 2.0 then you are good.
    http://www.cisco.com/c/en/us/td/docs/security/physical_security/video_surveillance/network/vsm/release_notes/7_2_1/vsm_rn_7_2_1.html#wp54919
    Table 5 Supported Devices: Axis 
    Model
    Type
    Minimum Supported FW Version
    Video Format
    Media Types
    Audio
    Dual Stream
    Stream Mirroring
    Motion Detection
    Firmware Upgrade
    233D
    IP Camera
    4.48.4
    NTSC / PAL
    MPEG-4 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes
    241Q
    Encoder
    4.47.5
    NTSC PAL
    MPEG-4, MJPEG
    No
    Yes
    Yes
    Yes
    Yes
    241S
    Encoder
    4.40
    NTSC PAL
    MPEG-4, MJPEG
    No
    Yes
    Yes
    Yes
    Yes
    243SA
    Encoder
    4.45
    NTSC / PAL
    MPEG-4 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes
    243QBlade
    Encoder
    4.46
    NTSC / PAL
    MPEG-4 MJPEG
    NA
    Yes
    Yes
    Yes
    Yes
    Q7401
    Encoder
    5.20.3
    NTSC / PAL
    H.264 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes
    Q7404
    Encoder
    5.20
    NTSC / PAL
    H.264 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes
    Q7406
    Encoder
    5.11.1
    NTSC / PAL
    H.264 MJPEG
    NA
    Yes
    Yes
    Yes
    Yes
    247S
    Encoder
    4.42
    NTSC / PAL
    MPEG-4 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes
    P3301
    IP Camera
    5.40.92
    NTSC
    H.264 MJPEG
    Yes
    Yes
    Yes
    Yes
    Yes

  • RTSP Interleave

    I'm trying to get an Axis 213 camera to work over the Internet with JMF and IBM's MPEG4 JMF codec (using RTSP interleave method).
    Has anyone used JMF and RTSP with RTP/RTCP packets interleaved over TCP/IP (i.e., in the same session and over the same ports as RTSP)? Any ideas of what to do to implement?
    Thanks ahead of time.

    I'm trying to get an Axis 213 camera to work over the Internet with JMF and IBM's MPEG4 JMF codec (using RTSP interleave method).
    Has anyone used JMF and RTSP with RTP/RTCP packets interleaved over TCP/IP (i.e., in the same session and over the same ports as RTSP)? Any ideas of what to do to implement?
    Thanks ahead of time.

  • Cannot open stream from Axis camera

    I'm a newbie in JMF, I'm using JMStudio trying to open a stream from an Axis IP camera.
    I get the following error code:
    UNABLE_CREATE_PLAYERjavax.media.NoPlayerException: Cannot find a Player for :http://192.168.52..../axis-cgi/mjpg/video.cgi?resolution=640x480*
    I can open from the player only mp3 files, if I try to open standard avi files (like clock.avi under windows directory) I can hear only sound but no videos.
    I think I've a sort of codec problem
    Can someone help me?
    Thanks

    pignattino wrote:
    My goal is to save stream from camera to a file.
    I thought that open url could retrieve a mjpeg streamYou can only open URLs if JMF has a DataSource associated with the protocol prefix.
    Protocol prefix means "http", "https", "file", "ftp", etc... the stuff you see before "://" normally.
    JMF can open URLs that use rtp, rtsp, and file by default. It does not do http streaming.
    I tryed also with rtp session but I cannot establish any connection (I can do that with a software like VLC)
    Is that possible? What am I doing wrong?How the hell should I know know what you're doing wrong? All you said was you tried to do something, didn't explain what you did! What you did wrong was not suceeding, that's the advise I can give you based on the information you've given me!
    If your camera supports RTP streaming, and its RTP implementation is compatible with JMF's implementation... and it streams a format JMF can understand, and its format implementation is compatible with JMF's format implementation, then JMF should be able to receive the RTP stream.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
    JMF supports opening MJPEG files, but doesn't list MJPEG_RTP as a supported format. It supports JPEG_RTP, but those aren't the same thing.
    So maybe you can receive an MJPEG_RTP stream with JMF, but, it isn't listed as being supported by JMF...

  • Axis 205 IP Camera with NI-IMAQdx

    I try to grab pictures from my Axis 205 IP Camera.
    On http://digital.ni.com/public.nsf/allkb/D69E915887A2391086256B9700564D7C its stated that Axis IP Cameras are supported.
    NI-IMAQdx 3.5 (part of Vision Acquisition Software November 2009) added the following new features/fixes:
    Support for Basler and Axis IP cameras
    My Axis 205 IP Camera is on version 4.05
    Im using LabView 2011 with RealTime 11 and NI-IMAQdx 3.8.1
    The target of my Work is to get the Axis 205 to Work with the Robotics Starter Kit 2.0
    but now im only trying to get pictures from the camera to my computer.
    I can access the video stream and the camera configuration with the Webbrowser and with the Axis camera Tool. But I cant find the Camera with MAX nor can I add it to a project.
    What can I do?

    Hmm MAX does not show any NI-IMAQdx Devices. And I can't even add one. But I definitely have NI-IMAQdx installed.
    Do you have an idea what the problem could be?
    Thanks for the tutorial but I think the Axis 205 is not a GigE camera. It's just a common ip camera. I can access it with my browser.
    Attachments:
    noniimaqdx.JPG ‏17 KB
    noniimaqdx2.JPG ‏52 KB
    noniimaqdx3.JPG ‏8 KB

  • 211w Axis Camera connection to Linksys WRT610N

    My axis 211w camera does not appear to communicate in the 802.11n modality.  It requires the g mode.  Is there any way to configure my Linksys WRT610N router to accept g mode???

    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave username blank & in password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration and set the Wireless Network mode to mixed...

  • Multiple IP camera

    Hi
    Im designing a control system and I now want implement multiple cameras to surveill the system.
    Whats the best type of cameras to use? I've tried with some simple webcams, but then its only possible to stream from one camera at the time.
    Im now considering Axis 206 network camera. Does anyone know if its possible to stream for multiple IPcameras at the same time?
    Or what about firewirecameras?
    Its a lowbudget project so I dont need pro cameras...
    Thanks in advance
    Bjornar

    Well, Axis makes cameras for the low budget. You may want to look into the bullet cameras and 4 channel web servers. Just a basic overview, they are great quality optics joined with good electronics utilizing BNC analog signal to BNC on the video server. The video server then coverts it to Data TX/RX for use in a plug and play UNP that is easily detected by your network. It will show up under my network. Yes you can stream multiple channels. In fact Axis software comes with it that has multiple arrays 1/2/4/6/8/10 on and on. I use both the analog bullets cams by Axis and the PTZ 213 networked and love all of them.
    Good luck and let me know how this turns out. If time permits, I may have a surplus cam/serv lying around some where.
    Torn_Victor!

  • What changed in Firefox versions 15,16 & 17 while viewing network security cameras?

    I have been viewing my network Axis security camera's over my local area network for years with Firefox. After update version 15, I can only view the image for a few seconds before I have to reload the page because the image will disappear. The camera's server stays up, but the video image is gone, and telling me to reload page. After a reload it comes back in. Sometimes it will only last 5 sec's, other times between 30 & 60 sec's. If I downgrade to version 14.0.1, it all works fine like it should again. Am I doomed to use this version now forever? Or is there a way to tweak the newer version to let me view the video image longer?
    Camera's video image is in Motion JPEG format and I have the latest Java & flash installed. I also have tried Firefox with all plugins disabled and it still don't help. I have 64 bit Windows 7 for operating system.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Viewing problem on 3. party cameras

    Hi All,
    One of our project we added axis P1355 & axis q6035 cameras with both onvif & Vapix profiles but in two methods there are a lot of latency and hesitation. We connected cameras with web browser and all acitons are perfect, all videos are running perfect but in sasd or vsom awful. Do anybody live the same problem?

    I have recently installed some axis cameras and am seeing the same behavior.  We are running 7.2 and the cameras operate as designed when accessing the camera directly.  When we attempt to bring them into VSOM, we are seeing artifacts and latency.
    We do have additional 3rd party licenses to cover these cameras in our VSOM installation.

  • How to acquire video from 3s vision IP camera

    I was wondering if someone could tell me how to configure the vision acquisition, so I can acquire video from an IP Camera (3S vision IP Camera)?
    I tried to use an IP camera dapter, but that didn't work. I currently can only acquire video from my webcam.
    Can someone please help me out?
    Thanks in advance!

    Hi Nando88,
     National Instruments only supports Basler and Axis IP Cameras as part of NI-IMAQdx. There is an IP Camera Adapter which emulates the functionality of a USB webcam. I assume this is the IP Camera Adapter you are referring to in your post. This adpater is not oficially supported by National Instruments and does not work very well for all IP Cameras. This adpater will help you stream video from your camera directly to LabVIEW, like in this example. If you want to acquire separte images you will need to use property nodes to take a screen capture, save that to an image file and then open that file as an IMAQ image. You have to go through all these steps because that IP camera is not supported by the NI-IMAQdx driver.
    I hope this helps.
    Cheers

  • Can I connect to IP Camera

    Can I Connect with java to IP Camera
    exampe:
    Linsys Wireless webcam
    or
    Veo 7100
    chao

    There's an open Java / JMF camera API for MJPEG video form Axis IP cameras here:
    http://jipcam.sourceforge.net
    If your camera is not supported, it can be added to the library.
    cheers,
    Jason Thrasher

  • Acquiring from two IP cameras using IMAQdx

    Hello All, I have what I thought was a simple task but it is proving to be troublesome.
    I have two IP cameras I want to stream images from. I am doing no processing or saving of any kind, it is just so the operator can monitor equipment. I assumed it would be as simple as starting a grab acquisition on each camera and retrieving the images using the IMAQdx VIs, but when following that approach I frequently have timeouts or "unknown HTTP" errors on one of the cameras or, at best, they update unbelievably slooooooow. They are two Axis IP cameras and, when run alone, they provide extremely rapid refresh with almost no latency.
    I've tried alternatives such as reading them in a sequence, using snap acquisitions in parallel and in series, and countless others and the best I've been able to achieve is the method above with a hit-or-miss read and a 2-3 second update period. Has anyone done anything like this before? Code snippet attached.
    Attachments:
    parallel_cam.png ‏196 KB

    I was able to resolve the issue by setting the cameras to feed in smaller packets using their own configuration utilities. For anyone that may have an issue such as this, I was able to stream reliably by reducing my maximum camera bit rate. It turns out the default settings for these IP cameras is simply too high for simultaneous acquisition using IMAQdx 

Maybe you are looking for

  • Macbook Air random freeze and reboot, plus other problems

    I've had my Macbook Air for about 6 weeks and am having several issues. It is the 13" model, special ordered with 8GB of ram so it came straight from the factory. I copied all my data over from a mid-2010 15" Macbook Pro using migration assistant, an

  • COI Joint venture

    Could some one calrify the following on the COI Question 1 For jointventure consolidation, the US GAAP says to follow Equity method if the subsidiary is incorporated one. If it is not to follow proportational consolidation. What does it mean by ‘inco

  • Will size of .class files differ

    Hi All, I have compiled a pre compiled .java file on other system, in my system. The size of .class file differed. Will this happen, irrespective of systems with same O/S. Thanks, Aravind

  • Depreciation Posting to closed  business area

    Hi all Recently  we have upgraded from ECC 6.0 SP07 to SP11. I find that  depreciation is  being posted even if the Business Area is closed.  This was not so  during SP07. This is true if we have done a Depreciation Recalculation". Else it will not p

  • If I backup an Ipod will it erase photos

    I'm trying to save photos from my sister's Ipod touch to my macbook. If I backup the ipod to my itunes will I lose the photos?