Digital Camera control w/Java

Does anyone know how to write code to snap a digital camera (take a picture) from a java application? Can code be written to "see" what the camera sees in the Java app and then actually snap the camera. I know there are TWAIN packages to retrieve pictures from a camera's memory. I actually want to snap the picture from the Java app. Does anyone know how to do this? Any tips or suggestions will be helpful
Thanks,
Daurice

sjgingras wrote:
Three years later and I have the same question...so don't kick me for not using "search" ;-)
I really don't need to "see" what the camera sees. I would just like to be able to send it a capture command...along with potential config (e.g., image size, quality). I am wide open on camera model. I will buy whatever camera is supported by whatever library/SDK I find. I know that canon has an SDK, but it is for .Net...and one must apply to get access to the kit...and they have thus far ignored my request. :-|Canon do embed a VM in some devices, but I have no idea whether it's any use to you. I'd be surprised if they didn't have some techie forums you can visit, too
http://www.canon.com/technology/canon_tech/explanation/java.html
Anyone? Bueller?He's sick. My best friend's sister's boyfriend's brother's girlfriend heard from this guy who knows this kid who's going with a girl who saw Ferris pass out at 31 Flavors last night. I guess it's pretty serious.

Similar Messages

  • Complete control via USB of webcam or digital camera

    Hi,
    After searching in the forum and over internet, I finally decide to post my question.
    I'm looking forward to control a webcam via usb with Labview 8.5. I want to be able to have a full control over the camera settings, particularly for acquisition. I also need to acquire the raw image or raw data composing the image. So I can't afford any degradation of the image by any out of control process. I think that the NI-IMAQ software is not really suited for my requirements right? 
    As I don't have the Vision package, I thought that I should build my own driver with NI-VISA. In fact I did it and I think it is working well. I'm able to see all the properties of my webcam with a simple VI.
    But then come the question: how can I acquire images and control the settings. The company told me that they are using generic UVC (USB Video Class) and that no custom commands were used. I downloaded all the information on the USB-IF website, but it seems to me that there is still something I don't understand to get going...
    Is there anybody who can please help me with that problem? Any simple example would be very welcome...or any other solution.
    After controlling a webcam, my ultimate goal would be to control a digital camera...I suppose this should be pretty similar...
    Thank you very much for your help,
    Frank

    Hello,
    If your camera is DirectShow compliant, IMAQdx from Vision Acquisition Software 2009 already provides support for USB cameras. This is described on this page: http://zone.ni.com/devzone/cda/epd/p/id/5030 as well as in the release notes for the software.
    -Zach
    Certified LabVIEW Developer

  • Looking for XTRA to control a digital camera

    I am looking for an xtra that will let me control a digital
    camera. It is for a kiosk that captures photos of users. I used
    several in Xtras in the past that worked wonderfully but they
    appear to no longer exist. Any help would be greatly
    appreciated.

    Using webcamxtra, you could get the image and then sharp xtra
    to save
    the file to the desktop. Not much control over the camera
    exactly...
    matthewmaday wrote:
    > I am looking for an xtra that will let me control a
    digital camera. It is for a
    > kiosk that captures photos of users. I used several in
    Xtras in the past that
    > worked wonderfully but they appear to no longer exist.
    Any help would be
    > greatly appreciated.
    >

  • Interfacing java application with digital camera

    Dear all,
    I've a question and I need your help.
    I've my swing/javafx application and I need to interface it with a digital camera.
    How should I proceed? How can I understand which digital camera offers support for java integration?
    Do you have some model for me?
    Thanks

    I don't know anything about using Java directly with digital cameras. However I have a few observations. When you say you want to interface Java with a digital camera, do you mean you just want to display the image in a Java application? If so, you can use the software that came with the digital camera to download the images as *.jpeg (or whatever) to the hard disk. Then you can use Java to easily read the files from the hard disk and display them or move them to some other location. For instance, when you display them in Java, then you can then ask the user to fill out various textfields to go along with the image such as giving a title to the image or a description.
    If instead you want to write Java to grab the images from the camera directly, I think that's a bad idea. I imagine different digital cameras have uniquely written custom software to communicate between the digital camera and say, Windows 7 (I'm guessing). I doubt all the manufacturers have agreed upon a common way to communicate. Therefore if you take this route, you will end up creating a large set of Java programs to communicate with each model of camera. A maintenance nightmare.
    However, I have seen applications such as taking passport photos that appear to communicate directly with a digital camera wired to the computer which I imagine the vendor supplied with the application.

  • IPod Touch Recognized as a Digital Camera in Windows 7 (x64) - SOLUTION!

    Hi guys
    After several days I finally found the solution to this with some help from Apple 2nd level support.
    Symptom: iPod Touch is not connecting to iTunes. Under My Computer you find the iPod as a Portable Device > Digital Camera
    Cause: Windows 7 wasn't able to install the right Driver for your Touch.
    Solution:
    1. Uninstall all the Apple software via Control Panel:
    - iTunes
    - Quicktime
    - Apple Software Update
    - Apple Mobile Device Support
    - Bonjour
    - Apple Application Support
    2. Delete all the directories related to Apple (Including Apple,iPod, iTunes, Quicktime and Apple Computer -if they are there-) under:
    - C:\Program File\Apple
    - c:\Program Files (x86)
    - C:\users\<USER>\AppData\Local
    - C:\users\<USER>\AppData\Roaming
    3. Restart
    4. Reinstall iTunes (Right click and run as Administrator) but THIS IS THE TRICK!! change the installation path to C:\program files\iTunes (Remove x86) !
    5. Connect ipod
    It will still be a Camera..don't worry..
    6. Go to My Computer > right click > Manage > Device Managers > Find your ipod under the Portable Devices
    7. Right Click > Update driver > Specific location and browse C:\Program Files\Common Files\Apple\Mobile Device support\Drivers
    8. After succesfully installed this driver you will be able to see your iPod Touch in iTunes
    Enjoy !
    J

    take a look @ these threads: one and [two|http://discussions.apple.com/thread.jspa?messageID=11045615#11045615].
    JGG

  • IPod touch 4th Gen is recognized as digital camera, not in iTunes

    I'm using a Windows XP computer with the newest version of iTunes and my iPod touch 4 won't pop up in iTunes, it's a digital camera according to my pc. I have tried really EVERYTHING: update iTunes, downgrade iTunes, reinstall iTunes and all other apple software 7 times, USB drivers, firmware, DFU-mode, every single apple support I could find I tried! And now I'm tired of it, my rage upon this issue isn't describable anymore...
    Please help me instead of referring to another topic

    Found the sollution, but it is very hard to do though:
    "Unfortunatly uninstalling/re-installing iTunes and all doesn't always seem to work. We had the same issue with the ipod touch being recognized as a digital camera under windows xp. We tried just about any recipe listed by apple or others with no success.
    In the end what works is to just force the drivers on what windows thinks is a camera, i.e. to ‘update’ the device to use the correct driver. There are some hints on how to do this already listed on this forum, but I’ll try to give some more detailed information:
    1. First off you need to have iTunes installed and the ipod touch plugged in
    and recognized as ‘something’ e.g. digital camera (it shouldn’t really
    matter what it’s recognized as, but it needs to be found by windows).
    2. Search for usbaapl in the C:\WINDOWS system folder:
    o open windows explorer (e.g. Right-click Start and then click ‘explore’)
    o right-click the WINDOWS folder and select ‘Search’).
    o type in usbaapl and hit Search – try to ignore the dog!
    You should find the driver info in a sub folder of
    C:\WINDOWS\system32\DRVSTORE e.g. C:\WINDOWS\system32\DRVSTORE\usbaapl_A65621D65F5B7507DD7B22331826547BDD2D206B
    Remember that location (either leave the search box open or copy the folder
    name into note pad – you’ll need it later)
    If you don’t find usbaapl.sys, usbaapl.inf etc. then your drivers have not
    been installed with the iTunes install and you’ll have to reinstall iTunes.
    3. Locate the ipod-camera device:
    o Open the device manager, e.g. using Start > Control Panel >
    Performance and Maintenance > System > Hardware Tab > Device Manager
    o Look for a device called ‘ipod’ - if your ipod shows up as
    ‘digital camera’ it will be under something like ‘imaging devices’.
    4. Update the driver:
    o Right click the ‘ipod-camera’ in device manager and click on
    ‘Update Driver’ – the Hardware Update Wizard will open.
    o Check the ‘Install from a list or specific location’ then click ‘Next’
    o Check ‘Search for the best driver in these locations’. Un-check
    ‘Search removable media’ and check ‘Include this location in the search’.
    In the text box below type (or better copy and paste) the folder
    containing the ipod driver information found in step 1 (in the example
    above it was C:\WINDOWS\system32\DRVSTORE\usbaapl_A65621D65F5B7507DD7B22331826547BDD2D206B),
    then click Next.
    You should now see something like ‘Apple ipod device driver’ or so. Continue
    installing that device. Once the driver has been installed the ipod will come
    to life and iTunes (if you have it open) will show it.
    Hope this helps. Please add comments to the instructions above if you find variations that work for you."
    Apple should fix things like this!

  • My Computer Only recognizes My IPhone 4 As A Digital Camera

    When I plug my iPhone into my laptop, it does not show up in iTunes. I'm running windows 7 with iTunes version 10.0.1.22. When I run a diagnostic in iTunes it says that no iPhone is connected, I have tried different USB ports, different USB cables, I have uninstalled iTunes and have tried removing, disabling my iPhone which is recongized in device manager under portable devices, and I followed some instructions in services to fix this problem, but at this moment can't remember what it was at this moment.
    Now I know a few other people are experiencing this problem but one diffence I have noticed is that my phone Shows up in my computer as a digital camera, other people have not reported this issue.
    So if anyone can help with this conundrum, many thanks

    Hoggie27 wrote:
    When I plug my iPhone into my laptop, it does not show up in iTunes. I'm running windows 7 with iTunes version 10.0.1.22. When I run a diagnostic in iTunes it says that no iPhone is connected, I have tried different USB ports, different USB cables, I have uninstalled iTunes and have tried removing, disabling my iPhone which is recongized in device manager under portable devices, and I followed some instructions in services to fix this problem, but at this moment can't remember what it was at this moment.
    Now I know a few other people are experiencing this problem but one diffence I have noticed is that my phone Shows up in my computer as a digital camera, other people have not reported this issue.
    The iPhone is two separate devices, a digital camera and an iPod. It is normal for it to be recognized as a digital camera when there are photos in the camera roll; this is to allow you to transfer the photos to your computer.
    The iPod should also launch iTunes, then appear in the left panel of the iTunes screen. If it doesn't your iTunes installation is corrupted or you have USB driver problems. To diagnose the problem first make sure you are connecting the phone to a USB port directly on the computer, not to a hub.
    Next launch Task Manager (CTRLSHIFTESC). Click on the Processes tab then Image Name to sort on the name. Look for AppleMobileDeviceService.exe. If it is not present that is your problem. If it is the best solution is to completely uninstall then reinstall iTunes. See: http://support.apple.com/kb/HT1925.
    If the mobile service is not running to to Control Panel, Administrative Tools, Services. Find the service, right click on it and launch it. If you get an error your firewall or antivirus may have disabled it.

  • PC thinks my iPhone 3GS is a Digital Camera, not visible in Itunes

    Hope someone can help
    I bought the 3GS iPhone 32gb today and went to register on my PC and when connected to the uSB ports it was detected as a camera and only gives me the option of Photo Shop etc
    It is also visible in 'My Computer' as a camera
    I tried various USB ports as I believed only half where USB 2.0 the same happened after each restart, so I bought a new PCI USB 2.0 card and tried it through that with the same issue.
    The Iphone works normally on another PC but obviously I want it to sync to my PC and Music
    Latest version of Itunes installed
    Restarted comp several times
    Closed various security software on my PC temporarily
    Any help much appreciated

    kenny0_3 wrote:
    Hope someone can help
    I bought the 3GS iPhone 32gb today and went to register on my PC and when connected to the uSB ports it was detected as a camera and only gives me the option of Photo Shop etc
    It is also visible in 'My Computer' as a camera
    This is normal; it IS a digital camera, and this is how you get photos off it.
    I tried various USB ports as I believed only half where USB 2.0 the same happened after each restart, so I bought a new PCI USB 2.0 card and tried it through that with the same issue.
    The Iphone works normally on another PC but obviously I want it to sync to my PC and Music
    Latest version of Itunes installed
    Restarted comp several times
    Closed various security software on my PC temporarily
    Any help much appreciated
    Open Task Manager (CTRLSHIFTESC), click on the Processes tab and the Image Name column to sort on name. Then look for AppleMobileDeviceService.exe (AMDS). If it is present then your problem is most likely a USB driver problem; try updating the USB drivers. If it is NOT present go to Control Panels, Administrative Tasks and launch Services. Find the entry for AMDS, right click on it and choose Start.

  • Iphone recognized as a digital camera

    my iphone is connected to my computer via usb and itunes does not recognize the device the computer thinks it is an iphone digital camera

    It's okay that your computer thinks that your iPhone is a "digital still camera", however it does not use the Apple Mobile Device driver like it should. The solution is simple and doesn't require re-installing iTunes.
    1. Plug in your iPhone into any USB port.
    2. Go to Control Panel, System, Hardware, Device Manager.
    3. Find 'iPhone', probably under 'imaging devices'.
    4. Right click on iPhone.
    5. Click on Update Driver, Install from a specific location, Don't search I will choose the driver to install.
    6. Find the folder with the iPhone driver. It is very likely that is in:
    C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers
    7. Use the text box to point to that iPhone driver directory.
    8. Open iTunes and your iPhone should show up in the Device section.
    Good luck!

  • For those who have problems RE: My iPhone 4 on connecting to my pc shows my friends name in the DIGITAL camera Drive..It dsiplays my correct name when I`m on iTunes..PLEASE HELP ME HOW DO I CHANGE THE NAME IN THE DIGITAL CAMERA DRIVE??

    For those who have problems RE: My iPhone 4 connecting to my pc shows my friends name in the DIGITAL camera Drive..It dsiplays my correct name when I`m on iTunes..PLEASE HELP ME HOW DO I CHANGE THE NAME IN THE DIGITAL CAMERA DRIVE??
    SOLUTION:
    Iam pointing t0 windows7 os.
    1) go to control panel
    2) open hardware and sound
    3) In that open Devices and printers
    4)In that u can find Apple Iphone.
    5) now right click on this --> Hardware --> Properties --> General --> Uninstall --> ok.
    6) now unplug and plug in ur iphone again.There u go u iphone name changes to its original name.

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • Digital camera and MBP

    I just bought a new Canon Powershot S3 IS digital camera.
    I haven't used it yet, just opened the box.
    It comes with a CD, "Digital Camera Solutions" that they say
    you need to install in order to be able to download pictures from camera to the computer.
    My question is this: do I really need this program?
    Or can iPhoto take care of downloading my pictures?
    I don't really want to install something that I don't need.
    Thanks!

    I just bought a new Canon Powershot S3 IS digital
    camera.
    I haven't used it yet, just opened the box.
    It comes with a CD, "Digital Camera Solutions" that
    they say
    you need to install in order to be able to download
    pictures from camera to the computer.
    My question is this: do I really need this
    program?
    Or can iPhoto take care of downloading my pictures?
    I don't really want to install something that I don't
    need.
    Thanks!
    PowerShot S3 IS
    Shake-free, powerful zoom for razor-sharp photos and movies.
    * 6.0 Megapixel.
    * Canon 12x optical zoom lens with Optical Image Stabilizer.
    * High quality, full motion movie shooting.
    * Super fast DiG!C II Imaging Processor.
    * Print/Share* Button for 'one push' printing and downloading of images straight from the camera.
    Equipped to handle a wide variety of scenes from sports events to landscapes, the PowerShot S3 IS offers creative functionality in conjunction with a powerful Canon 12x optical zoom lens and full motion movie shooting. With a 35mm equivalent focal length of 36-432mm, Optical Image Stabilizer and USM technologies work in conjunction with an ergonomic design to support razor sharp, shake free long distance still and video shooting.
    CANON'S FORMULA FOR AMAZING DIGITAL PHOTOS
    - High resolution 6.0 Megapixel CCD delivers photo quality prints up to A3 size.
    - High-resolution, Canon 12x optical zoom lens (36-432mm equivalent) featuring, Optical Image Stabilizer technology for shake free shooting.
    - High speed start-up, fast autofocus, smooth continuous shooting, faster overall processing and superior image quality thanks to revolutionary new DiG!C II Imaging Processor.
    ADVANCED CANON LENS TECHNOLOGY
    - Ultrasonic Motor for quick and quiet zooming, as fast as 1 second from wide angle to telephoto.
    - UD element minimises chromatic aberrations at high zoom settings.
    - Dedicated Macro button allows easy toggling between Normal Shooting, Macro Shooting and Super Macro for close-up shooting to 0cm.
    - Optical Image Stabilizer technology delivers hand held, blur free long distance photos and movies.
    SOPHISTICATED MOVIE MODE
    - Movie recording with maximum 30 frames per second 640x480 (VGA) image quality delivers smooth full motion movies with stereo audio up to 1GB/1hour. (*High-speed 1GB card or higher required).
    - Dedicated movie record button allows users to seamlessly switch between still photo and movie recording modes and shoot still images while simultaneously recording movie footage.
    - Stereo recording capability for superb sound quality.
    - Playback modes allow first frame, last frame, next frame, previous frame, fast forward, fast rewind and slow motion functions for reviewing and editing of movie files using the camera's LCD screen.
    - High-speed editing of long movie files allows editing from the camera's LCD screen to create free space for further recording.
    EXPLORE DIGITAL PHOTOGRAPHY
    - Bright, wide viewing 2.0" LCD vari-angle monitor perfect for reviewing and sharing your photos.
    - A comprehensive range of shooting modes, from complete control to full auto, including; Aperture(Av)/Shutter(Tv) Priority, Program(P), Manual(M) and Custom(C), Portrait, Landscape and Night Scene as well as a range of pre-set scene modes.
    - Selectable 9 point AiAF, and 1 point AF for precise focusing in any shooting conditions.
    - Selectable sensitivity from ISO 80/100/200/400/800 - like having different ISO film loaded at once.
    - New Widescreen recording mode supports viewing on widescreen TV's and printing widescreen images.
    CANON CONNECTIVITY
    - Print/Share* Button allows easy 'one push' printing and downloading straight from the camera.
    - Direct photo printing with Canon direct printers and other PictBridge compatible models.
    - Supports Exif 2.2 tagging for Design Rule for Camera File System standard allowing superior print image processing.
    - Canon's complete image management software suite for fast and easy download, display, email and printing of images, creating panoramic pictures and storage.
    - Picture Transfer Protocol supports driver-less image transfer, viewing and deletion between camera and computer with newer operating systems. (Windows XP or Mac OS X v 10.1/10.2/10.3/10.4).
    STANDARD ACCESSORIES AND SOFTWARE
    - Lens Cap, Neck Strap NS-DC4, 4 x AA Alkaline Batteries, Stereo Video Cable STV-250N, Interface Cable IFC-400PCU, 16MB SD Card, Software Starter Guide, Camera User Guide, Quick Start Guide, Direct Print User Guide, Digital Camera Solution Disc - ZoomBrowser EX (PC), ImageBrowser (Mac), Drivers (PC), PhotoStitch, PhotoRecord, RemoteCapture, Apple QuickTime (PC), ArcSoft PhotoStudio
    OPTIONAL ACCESSORIES
    - Tele Converter Lens TC-DC58B
    - Wide Converter Lens WC-DC58A
    - Lens Adaptor/Hood Set LAH-DC20
    - Close-up Lens 500D (58mm)
    - High-Power Flash HF-DC1
    - Battery and Charger Kit CBK4-300
    - Compact Power Adaptor CA-PS700
    - Soft case SC-PS3
    - Interface Cable IFC-400PCU
    - Compact Photo Printers
    *Compatible printer required for Direct Printing. Compatible Windows computer required for direct download.
    **All pricing indications are recommendations (inc. GST) and are intended for guidance only. Dealers are not obliged to comply with recommended pricing. Please contact your nearest Canon dealer for specific pricing, product and inclusion information.
    Does not mention it but it will work with a Mac or PeeCee.
    MacPro 2.6  iMac 1.9  iMac 700  Mac Mini 1.42 Mac OS X (10.4.6)  MBP 17" 2.1  PB 1.67 15"  iPod U2  Nano
    William

  • Photos not aligning to grid when importing from digital camera,or file

    I hope I am in the right place. Just starting today, when I import photos from my digital camera, or files sent in an email, they are not appearing in order, in the grid alignment. There are spaces in between the photos, they are disorderly, and I have to manually put them in alignment. I have selected "align photos to grid" in preferences, and I am at a loss as to why this is happening just now.
    Any help or advice will be greatly appreciated. Thank you!
    CGM

    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN

  • Using my digital camera as a webcam

    Hi! I have a Fuji S5000 digital camera. Straight outta the box it is capable of being used as a webcam...but only on a PC. It uses a program called PictureHello. I've heard rumors of third party developers creating programs that let MAC users use their digital cameras as webcams as well. Anyone know if there may be such a program or where I may find it? Any guidance is appreciated.
    Thanx!
    466 Mhz Digital Audio G4   Mac OS X (10.3.5)   30 GB, 640 MB RAM

    Dave,Welcome to Apple Discussions.
    iChat in Panther allows the use of any camera with a Firewire connection. This little piece of software says it allows you to do the same with any USB camera (which I assume yours is).
    HTH
    mrtotes
    P.S. MAC = Media Access Control, you are using a Mac.

  • Does JMF support Firewire digital cameras?

    To get right to it, I'm wondering if I will be able to capture video from a Firewire digital camera. This is in Windows with the newest JMF and a Unibrain Fire-i digital camera. Is it any different from capturing from a USB webcam?
    That said, is this a viable way of capturing video ? Performance wise especially, I'm looking for 30 FPS+ and 640x384 resolution. I've been recommended using LabVIEW (got a license through school). I've got almost zero experience with LabVIEW, but this seems like overkill just to capture some video (?)

    Java doesn't actually care about what hardware the video stream comes from, because all that Java does is use the VFW or DirecShow Windows interfaces to grab the video stream. If the firewire camera is VFW or DirecShow compliant, then maybe JMF will be able to capture from it.
    Your best bet would be to see if JMStudio will detect it and show it. If so, then you're good to go with JMF. Otherwise, it may or may not work but it won't "work" very easily.

  • Digital camera and LabVIEW

    Has anyone ever controlled a canon digital camera from LabVIEW?  I am using a Canon EOS Kiss REBEL 300D.
    I tried using the software from the following link (http://www.hytekautomation.com/Downloads.html)  , but the "take a picture" button was disabled.
    I did download the SDK from canon but am not sure if LabVIEW can handle some of the data types to pass to the DLLs.
    Here is one example of a function
    cdCAPI RCOpenSource ( cdSourceInfo* pSourceInfo, cdHSource* pSource )
    where cdSourceInfo is defined as:
    typedef struct{
    cdSourceType SurceType; // Type of the device
    cdUInt32 rsrvd; // Reserved
    cdStr63 Name; // Device model name
    //(Invalid if cdSRC_TYPE_HOST)
    #ifndef macintosh
    cdStr63 NameInOS; // Device model name in OS
    #endif
    cdPortType PortType; // Port type
    cdPortDescripUnion u; // Union of I/O port descriptor
    } cdSourceInfo;
    Thanks for any help.

    If you use Windows, easiest way to access external code is .NET
    interface. Is there a .NET interface for the Canon camera? If there is,
    use it.
    If there is no .NET interface and you have problems calling the SDK DLL directly,
    It's quite easy to write a .NET interface (wrapper) for C++ code (if
    the SDK is written according to C++ standards and works with Visual Studio .NET). Check MSDN to find out how to write managed extension (.NET wrappers) on existing C++ code. There is a simple example
    of such a wrapper for an existing C++ class. If you have existing C++
    methods, just write a class that has similar methods that upon call
    call these SDK methods.
    After having written the wrapper, build it (having the managed
    extension turned on!) and you can access the class from .NET interface
    of labview directly. If the data types cause problems, you can try to
    transform the data types in the wrapper methods.
    Something like the following may work:
    # include "SDK_includes_here.h"
    # include "SDK_includes_here.h"
    # include "SDK_includes_here.h"
    // You need a class for your method.
    // If you have many methods, you can add them to the same class
    __gc class CanonClass
    public:
    // constructor
    CanonClass() { }
    // destructor
    ~CanonClass() { }
    // method
    cdCAPI MyMethod( cdSourceInfo* pSourceInfo, cdHSource* pSource )
    return RCOpenSource ( cdSourceInfo* pSourceInfo, cdHSource* pSource );  
    Message Edited by Tomi M on 11-20-2005 01:26 AM
    Message Edited by Tomi M on 11-20-2005 01:27 AM
    Tomi Maila

Maybe you are looking for

  • My iPhone 4s keeps restrating after upgrading to iOS 7.1.2 and comes up with recovery mode.

    My iPhone 4s keeps restrating after upgrading to iOS 7.1.2. I tried to restore for few times using iTunes and installed only 8 apps freshly from iTunes apps store. After restating the phone goes to recover mode every time. Last time it came up with a

  • HDMI not working, please help

    i have hp dv6 w7 when i pluge the HDMI cable to the laptop it restart and take me to the safe mode and it's not working in the tv any more, please help.

  • Output of Billing Document

    I have a problem with the printing of a billing document. I di set up the output determination of a billing document, but when I try and print, the Issue Output To window pops up with the Print Preview button and the print button. When I click on the

  • Authorization Policy

    Hi everyone, I have 400 organization and 400 admins of these organizations. I want to create authorization policy about 400 organizations and 400 admin (create user, search user etc.) How can I create quickly these 400 authorization policy ? Do I hav

  • Adobe photoshop elements 3 into my OSX macbook 10.9.4?

    How do I reinstall my adobe photoshop elements 3 into my OSX macbook 10.9.4?  I have the disks and they go all the way to the end and fail....