Automation Open (CoCreateInstance) with BlackMagic DeckLink frame grabber

I am trying to interface BlackMagic frame grabber hardware that has a COM driver. The C++ demos for the driver work flawlessly, but I fail to access the COM components from LabVIEW. The driver is initiated in C++ with 
CoCreateInstance(CLSID_CDeckLinkIterator,NULL,CLSCTX_ALL,IID_IDeckLinkIterator,(void**)&pIterator);
As far as I understand the corresponding LabVIEW command should be to use Automation Open with either CDeckLinkIterator or IDeckLinkIterator as automation refnum. However for both refnums LabVIEW returns an error when executing Automation Open: Error 3005 occurred at Automation Open: Object specified is not creatable.
When I look at the demo code provided with the COM driver, there are really two COM commands that are executed before the CoCreateInstance
AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)
CoInitialize(NULL)
Does anyone have a clue why the Automation Open might be failing in LabVIEW but CoCreateInstance is not failing in C++. Is there a possible workaround? I have tested this with both 64- and 32-bit LabVIEW 8.6.1.
Tomi
Tomi Maila

Hi,
I made some progress...
I found a response to my first question in the forum, with a link to :
http://digital.ni.com/public.nsf/allkb/6EC98441BFAF93A486256DCD000179A2?OpenDocument
so the solution of this problem is in snipet decklink1
My remaining problem is about the configuration of the callback. It doesn't seem to work like in LV examples, or forum examples, as I cannot reference my callback VI as the callback function, and I get no event in the  'register for event' node.
Phil
Message Edité par Ficare le 03-19-2010 12:11 PM
Attachments:
decklink 1.png ‏29 KB

Similar Messages

  • Capturing device offline with BlackMagic DeckLink Quad

    Hi guys,
    I have a problem capturing with a BlackMagic DeckLink Quad and Premiere Pro CS6. Capturing with the Blackmagic included Media Express software works fine.  However, Premiere Pro tells me that my capturing device is offline.
    What I did to run the capture:
    Open Premiere Pro CS6
    New project --> set capture to Blackmagic capture --> press ok
    New sequence dialog --> select format exactly like specified in system control panel of BlackMagic (1080 25p).
    Open capture dialog with F5 key.
    Tells me that the capturing device is offline.
    Controlling capturing properties for Blackmagic Capture and ensuring that they match the system control panel specs  and the specs used in the other software(1080 25p, Video Format: Motion JPEG)
    Final State --> Premiere Pro still tells me that the capturing device is offline and I have a black window.
    I read somewhere that the installation order of driver and Premiere Pro is important, therefore I tried already both constalations (Driver, Premiere Pro - Premiere Pro, Driver ) without any success. A driver update of the Declink Quad did not have any effect.
    Driver version:
    Blackmagic DeckLink SDI - Date: 22.01.2015 Version: 13.4.10.868
    Any help would be highly appreciated.
    Best

    Yes, Component is indeed not a better quality... Interesting because I did plug into a flatscreen, and I have nothing as well... So maybe it is the component out of the z1u that is not even working! Will try with another cable in case, but that may be the answer... Thank you for pointing that out! didn't even think about it...
    I'm really trying to capture old HDV tapes, and always get those phantom breaks with Firewire (using another deck since it's broken on the z1u), now I'm wondering if you get less breaks doing 1080i or ProRes?? Although files are way bigger.

  • Control exposure time and gain with FPGA as frame grabber

    Hi,
    I'm using a Basler acA2000 340kc camera with a PCIe1473R FPGA as frame grabber.
    I managed to obtain images succesfully by modifying some of the sample codes. I can also control some of the camera settings thorugh the Pylon software.
    Nevertheless, I'd like to control the exposure time and gain in   LabView.
    Any idea on how to do this?
    Thanks

    Ultimate the serial port on the board is controlled by the code on the FPGA. There are shipping examples that provide the FPGA-side implementation of interfacing the serial port to a host-side interface, which then bridges it to a TCP port, which is bridged to a DLL called "clsernif.dll", which interfaces through the common "clallserial.dll" that Pylon can use to access the camera.
    Depending on your needs, you could interface at any of these layers.
    -If you need to do this with the ultimate in determinism, you could have the FPGA issue these serial commands directly as needed
    -If can do it from the host CPU, you could modify the host-side code and send/receive serial traffic to the FPGA code directly
    -You could examine the example code that bridges to a TCP port and simple write some host VIs that talk directly to it by opening a TCP session to the socket it uses.
    Eric

  • Interfacing with Scion Image Frame Grabber?

    I have a Scion Image Frame Grabber in my PC & am trying to control it via LabView Vision. Scion has no LabView drivers, but has a dll & SDK available. However, their driver expects C++ pointers as arguments & returns ptrs. My thought is to write a cover driver in C++ to shield labview.
    Anyone have drivers for this, or experience with this frame grabber board?

    Thank you for posting on the forums. While National Instrument's driver and native IMAQ support obviously does not interface to third party boards, if your board does include a dll that allows you to control the frame grabber then you may be able to get the board working in LabVIEW. LabVIEW has a few options available for calling dlls, and this is probably the route you will want to go, unless another user already has a driver for this board and LabVIEW available.
    To get more information on calling dlls and interfacing to external code (particularly C/C++ code), then I would start by looking at the "Using External Code in LabVIEW" document. You can find this by opening LabVIEW, going to the Help menu, and clicking on "Search the LabVIEW Bookshelf..." This will ope
    n a pdf document that links to other great resources, one of which is the large "Using External Code in LabVIEW" document. Glance through this manual and then other information/examples on ni.com/support for some help in getting starting in calling DLLs from within LabVIEW if you have never had experience with this before.
    Regards,
    Michael
    Applications Engineer
    National Instruments

  • Can't lower framerate with Blackmagic Decklink

    We have FME3 and a Blackmagic Decklink SDI 10bit, drivers v6.6.  We would like to stream at 15fps, but in FME, I can't set the framerate to anything lower than 25.  When choosing 15, it just jumps to 25.
    Also tried changing it in the card's system driver - which I can - but then when I load up FME, its clearly still running at 29.97, and I still can't change to 15.
    Any thoughts?

    FMLE supports only those FPS that are supported by device.
    In this case device is giving fixed FPS which is 29.97 irrespective of value selected in FMLE. You are sometimes getting 25 FPS because of unavailabity of enough CPU to encode 29 frames per second.
    The only workaround in order to get 15 FPS output is to load your CPU or Increase Video frame size so that some of the frames get dropped by FMLE because of unavailablity of CPU and effective output FPS drops to 15.

  • IMAQ Vision Software with FlashBus MX Frame Grabber?

    Is it possible to use IMAQ Vision Software with a FlashBus MX Frame Grabber Card? In the manual I only find references to NI acquisition boards. Unfortunately I have to make do with the hardware I already have.

    Heiko,
    It may be possible, but you will need to find out if there are any LabVIEW drivers for the card.
    Vision analysis can be split into two components. The first half is getting the images into the computer with a frame grabber card. This can be done easily using NI frame grabbers, or with varying degrees of difficulty using other frame grabbers that have LabVIEW drivers.
    Once the images are in the computer, IMAQ Vision doesn't care where they came from, so it can be used to manipulate images regardless of the source.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • IPhoto 6.0x conflict with Blackmagic Decklink 5.4.2

    If you find that iPhoto is crashing when editing photos and you are running a Blackmagic Decklink you must turn OFF the Video Desktop option in the Blackmagic Control panel.

    Solution is either uninstall decklink drivers or turn off video desktop

  • Will FME work with BlackMagic Decklink card?

    Has anyone used this combination of components together? I want to capture SDI and might have access to a Decklink card, and I only use FME 3.2 so want to be sure they'll work together before I spend the money. Thanks-

    I'm using BlackMagic DeckLink Duo and it works fine.

  • PDF document opening blank with just a frame.

    I have a computer when it opens up a PDF file that is created by a certain user I get a blank document with a frame. If I open the same PDF on another computer it opens fine. I can open other PDF files on this computer with no problems just when I try to open PDFs from this one user. Is there a way to set Acrobat Reader back to its default settings to see if that will help.
    Things that I have tried.
    - Uninstall and reinstall Acrobat Reader
    - Running version 9.3.3
    - Running Windows XP SP3
    - Tried a new user profile on the computer
    Thanks
    Matt

    Hi usatravel,
    I'm having the same exact trouble with opening a pdf file.  I'm able to view it from another computer and I can view other PDF files from my computer but when it comes to opening certain docs in the company database, I'm not able to view, I get just gray screen.  I'm sure it has something to do with the settings.  My technical support team is baffled and he can't seem to find the trouble.  He's uninstalled the program and re-installed it, but to no avail the same problem.  If anybody out there is familar with the problem, please help!

  • Highpoint driver conflict with Blackmagic Decklink ?

    a reader report over on the xlr8yourmac website notes a conflict between the HighPoint Technologies driver for the RocketRAID 1820A and the Blackmagic Design DeckLink 5.1.2 drivers.
    http://www.xlr8yourmac.com/index.html#S20146

    Thanks for this heads-up post, Andy.
    I am ordering a Quad-core today, and I have an external SATA array. I don't have a BMD card, but I did anticipate the Highpoints Mac driver would need to be tweaked. They had to tweak the Mac driver for their PCI-X card as well.
    Hopefully, I can wait for Sonnet to release a PCIe SATA card with at least four external channel ports. I'll need to delay or turn down any projects requiring uncompressed video until this is squared away.

  • No input with Blackmagic Decklink SDI 9.7.7 and Adobe Premiere

    Hi there
    My BM Decklink is properly installed: I can grab Video with the BM Software.
    In Adobe Premiere there is no signal. The TC is ok and running.
    All Settings seems to be ok.
    I'm running a Windows7/64 Bit
    Thank for your help.

    Yes, its an HD sequence, I want to view it in component but I'm using a SDI-Monitor also (which strangely gets an audio signal, but still no video)
    I can't find anything like that in the 'Select output processing'-box, even after updating to 9.7.8 (released on Friday)...
    It doesn't make any sense to me. Why would it work with AE and BM Media Express but not with Premiere CC?
    My BM Decklink is not the newest model, but I don't think thats the problem.
    It still seems to be supported by the software and it works with AE.
    I'm going to change my graphic card from GTX 780 to NVIDIA quadro, lets see whether that will get me the result I'm hoping for, but tbh I'm giving up...

  • Importing Files Captured With Blackmagic DeckLink

    Hello everyone,
    I recently started capturing in 720p with 2 channels of embedded audio using Blackmagic Media Express on a PC (Windows 7). However, when I try to import into Premiere (CS6 on Mt. Lion iMac) the audio does not show up on the imported file. I can play the file back on my iMac using BM Media Express and the audio track is there. I created the sequence using the "drag and drop" method onto the "New Item" button, so the sequence should be setup for that specific file. But even in the source monitor, there is no audio shown.
    What did I do wrong? What more details do you need?

    Also discovering another problem involving audio importing
    I'm combining audio files with video recorded on my DSLR and rexporting them for editing. So far I have done 5 with no issues. When I export, I am checking "Match Sequence Settings" and there have been no issues. All audio/video imports just fine. Except the one I'm working on now. If I play back the file using quicktime or VLC, the audio plays just fine. But it will not import into Premiere.
    Perhaps a reinstall?

  • FMLE won't let me set the sample rate with Blackmagic Decklink Studio 2 (Windows)

    Hi,
    I am trying to set the audio device on FMLE to the Decklink Studio 2's audio inputs. However,
    the sample rate sticks to 44.1k and I can't change it to the 48kHz sample rate that
    the Decklink defaults to (standard for broadcast is 48k).
    Try as I may, it isn't changeable. I seem to remember a similar problem where the
    sample rate defaults to the system audio card (on the motherboard) which is at
    44.1.
      Any ideas on a work-around? The audio from the Decklink is *much* better than
    the built in card.....
    thanks
    jeff

    One thing you might try doing is trashing the preference file in your user directory:
    ~/Library/Preferences/com.apple.compressor.Compressor.plist
    Like repairing permissions, this is a bit of a "catch-all" fix, not something specific to this particular problem.
    Also, have you tried different file types like: TIFF or JPEG, there could be an issue with output from Fireworks. You could use QT Pro to transcode the file. Sometimes that can work to fix funky problems.
    Does the Text Overlay filter work?
    BG

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Playback Issues with multiple framerates and Blackmagic Decklink 4K Extreme

    I recently swapped by AJA Kona Card for a Blackmagic Decklink 4K Extreme in order to get external monitoring in DaVinci Resolve.
    I'm working in a 1080p 23.976 project that includes some 29.97 SD and HD footage. When loading this 29.97fps footage into my source footage, I periodically encounter frozen playback (The play triangle in my toolbar becomes a square symbol and remains that way). From there I am unable to playback any footage in any timeline, and requires a full system shutdown to return to normal! The problem is seemingly intermitent, with successful playback happening sometimes.
    The 29.97 footage was DVCPRO, I attempted to transcode to Prores to troubleshoot. No dice. I believe it to be an issue related to the Decklink's inability to handle multiple framerates on-the-fly but wanted to submit here, too. I've also experienced intermittent sync delays on my broadcast monitor.
    Decklink Driver 10.0
    Premiere CC 7.2.1
    Mac OSX 10.9.2 (same problem pre-mavericks)

    Hi Andy,
    You should not have any issues with Blackmagic handling multiple formats on the fly. However, I believe the frozen playback issues your describing is related to the Desktop Video 10 driver. I suggest rolling back to 9.3.3 for the time being. Blackmagic is looking into this issue now.
    Best,
    Peter Garaway
    Adobe
    Premiere Pro

Maybe you are looking for

  • Cannot send email using SMTP

    Hi, For the last three days I have been unable to send any email via outlook using the SMTP server (mail.btinternet.com). I get repeated requests to enter my network password, but it is not accepted. The password is correct (I have tried retyping it

  • How do i get this put right?

    I hope this post is in the correct area of the forum as I technically do not have a problem with speed...............but i do Confusing i know    I shall try explain. I was with another ISP on ADSL max until 2 days ago but I noticed that BT were upgr

  • Photoshop CS 5.1 Failure to launch

    I am currently running Mac OS X v. 10.5.8. I have recently installed the Adobe Creative Suite 5.5 Design Premium. All of my programs are running fine with exception of Photoshop 5.1. I have made sure my CS and OS X are up to date. When I try to launc

  • Inserting a field at a bookmark location.

    I'd like to be able to programmatically insert a signature field into a pdf that has been created via an MS Excel macro that accesses MS Word. Everything works great so so far, including being able to insert the signature field. However, the location

  • Calling oracle procedure from batch script

    i have a .bat file, in which i am using sqlldr to load into a staging table from csv file, and then using merge to insert / update into target table i have 2 doubts 1) my first doubt is regarding batch script..how to handle the errorlevels which are