Capture Frame with PXIe-1491 and videoMaste​r

I'm trying to capture a frame programmatically using the videoMaster API and the PXIe-1491 video analyzer.  I'm having no luck, I don't receive any errors when I run this code and the file shows up as a 4 KB file that can't be opened.
Below is a screenshot of the block diagram and the front panel after I have ran it.  I have also attached the vi.  I would appreciate any help on this.
Attachments:
Acquire HDMI Video To Image_PXI.vi ‏34 KB

Hey Daniel,
I have been looking at the VI that you attached. I noticed that you used the NI VMS VBF to image file VI. Here is a screenshot of the help file for this function. 
As the help file explains, the format of the image file is going to be defined by the extension of the file path that you specify. You can also save this file as a JPG or PNG format by changing the file extension. 
Does this help answer your question? Additionally, I also found this community example online that shows how to acquire a HDMI signal using VMS in LabVIEW. I am not sure what your overall application is, but this example might point you in the right direction.  https://decibel.ni.com/content/docs/DOC-28699
Regards,
Leah
National Instruments
Applications Engineer

Similar Messages

  • Error -1074118625 with PXI-4071 and PXI-2527

    When using the LabVIEW IVI drivers for PXI-4071 and PXI-2527, I receive an error -1074118625 in TestStand.  The sequence initializes the MUX, init DMM, connects the MUX, waits for debounce, and then upon reading from the DMM, I receive this error.
    Error: niDMM Read Waveform (waveform data).viExplanation could not be found for the requested status code.
    Verify that the requested status code is correct.
    [Error Code: -1074118625, User-defined error code.]
    This sequence of events is successfully used multiple times elsewhere in the TestStand.  This error does not appear in any knowledgebase article nor in any help.  Any explanation would be greatly appreciated.
    Solved!
    Go to Solution.

    I found this with google that seems like it might apply:
    http://digital.ni.com/public.nsf/allkb/A593DEBFD86A69C68625727900748EEC

  • Why modulation and demodulation with PXI-5673 and PXI-5663 was wrong%3F

    iam using PSK-demodulation-modulation  example found in find examples to perform modulation-demodulation for the transmitted signal iam using PXIe-5673 and PXIe-5663 as VSG-VSA 
    i found that the received bits not as the transmitted bits any help in this issue

    iam sending PN sequence or user defined pattern 01010101 
    the received is not as the transmitted 
    here i attach the code
    Attachments:
    MT RFSG Generate PSK.vi ‏53 KB
    MT niRFSA PSK Demod.vi ‏89 KB
    PN_Sequence_09.txt ‏2 KB

  • Capture Direct to External HD/Dropped frames with Firewire-In and eSATA-Out

    I have been working on a setup with a brand new 2.6 GHz MBP/4 GB/200 GB-7200rpm HD. I am capturing DVCAM via Firewire400. I am capturing direct to a LaCie Biggest Quadra connected to an eSATA PCI card. I keep encountering dropped frames on capture. Could this be due to the PCI connection? To the best of my knowledge, the PCI slot is a separate bus from the Firewire bus, which should avoid the pitfalls of i/o on the same Firewire bus. What could be the problem here? Thanks in advance.

    If you have a MacBook Pro, then yes the ExpressCard bus is separate form the firewire bus. The pros here ALWAYS recommend capturing via firewire to a different bus, either firewire or eSATA via an ExpressCard (or PCI for the previous generation laptops) since the card is on a different bus. Have you tried attempting a capture to the inter drive? I know this is in no way ideal, but this way, we can rule out the camera/deck. DVCAM also isn't much bigger than DV if at all, so bandwidth shouldn't be a problem. Again, not ideal, but try connecting the big disk to the other firewire port on your MBP. This way we can rule out the eSATA card. Report back and we'll see what else we can do to help.
    Don't forget to rate if this was helpful,
    -Brian

  • Simultaneous analog and digital waveform read with PXIe-6361 and BNC2120 ?

    Hi there,
    I am trying to collect both analog and digital signals from a PXIe-6361 linked to a BNC2120, using the attached VI. I am running Labview 2011 64bit. This is the first time I am working with digital input. On the 2120 board, I have the digital input BNC cable connected to User Input 1 and wire between the screw terminal of UserInput 1 and the P0.1 (Digtial I/O) screw terminal.
    I have two questions related to this:
    1) When I try to run the VI in its current state, I get the following error:
    Error -89137 occurred at DAQmx Start Task.vi:3
    Possible reason(s): Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: PXI1Slot2
    Source Terminal: PXIe_Clk100
    Required Resources in Use by
    Task Name: _unnamedTask<6>
    Source Device: PXI1Slot2
    Source Terminal: None
    Destination Device: PXI1Slot2
    Destination Terminal: RefClockInternal
    Can anyone point me in the right direction for troubleshooting this?
    2) I would like to combine my regular waveforms and the digital waveform into one array which would then be written to file. I can't figure out how to combine the two different waveform types...can anyone give me a hint on this?
    Thanks for your help,
    Claire.
    Attachments:
    Export Waveforms To Spreadsheet File (1D)_wo extra line.vi ‏33 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin.vi ‏105 KB

    Hi ClaireJ,
    Sounds like a reference clock conflict. This KnowledgeBase (KB) talks about this error when using simultaneous sampling. Also, might want to check the device routes in Measurement and Automation Explorer (MAX) as discussed here. Finally, if you are routing your PFI line over a RTSI connection, this error can occur. This KB discusses it.
    As to your second question, this post should help.
    Bill E. | Applications Engineer | National Instruments

  • Pulse modulated CW with PXI-5650 and PXI-6653

    Hello,
    I am trying to generate a pulse modulated CW signal with the PXI-5650 as the RF source and the PXI-6653 as the modulating signal. Basically I am trying to generate a simple radar waveform. It seems like this would be possible to use the Timing Module (6653) to turn the RF output on/off on the Signal Generator (5650), but I am not sure how to route signals from one to the other using LabView.
    Has anyone tried this or something similar before? Can anyone please offer some advice?
    Thanks!
    -John
    Solved!
    Go to Solution.

    Hi John,
    From reading your post, it sounds like you want to use your timing and sync card to turn the RF output on/off, in others words, On Off Keying. OOK modulation is a built-in feature to the 5650. For more information, you can navigate in the NI RF Signal Generators Help to Devices -> NI RF Signal Generators -> NI 5650/5651/5652 Overview -> Modulation Modes, and just click on Modulation Modes. 
    An example of this can also be found in the NI Example Finder by navigating to Help -> Find Examples... in LabVIEW and then navigating in the NI Example Finder to Hardware Input and Output -> Modular Instruments -> NI-RFSG -> Modulated Waveforms -> RFSG 565x Digital Modulation.vi.
    Regards,
    Jason L.
    Product Support Engineer
    National Instruments

  • Capture Problem with "escape" command and error message

    Just got my Final Cut Express this week and I'm already having weird dreams about editing... I'm logging about 5 to 7 hours per night trying to figure it all out.
    Anyway, my most pressing issue is that while I am in the "capture" window and I rewind my tape (a Panasonic PV-GS320) (also, running this on my macbook pro with system 10.5.2 just loaded) - I press "now" because that seems to be the easiest to start with and when I try to stop and press "escape" it won't stop. So I tried pressing option/esc and it stops but I get the following message: " The audio sample rate of one or more of your captured media files does not match the sample rate on your source tape. This may cause the video and audio of these media files to be out of sync. Make sure the audio sample rate of your capture preset matches the sample rate of your tape.
    I have some ideas but I wanted to get started working out this issue. Thanks for any help with this all you FXC gurus out there.

    I recorded this in dv widescreen which imports fine in imovie. I am importing in DV NTSC 48Hz. I've tried all the settings. I know I have to probably just find the right mix of settings. I've tried changing the settings in the camera to 4:3 and back to 16:9 but I guess if you record in widescreen, you are stuck with that format. But this is actually a DV not an HDV camera

  • Spectrum Frequency Error with PXIe-5641R and PXI-5600

    Hello,
    following situation: I am using the PXIe-5641R (in FPGA-mode) in combination with the PXI-5600 downconverter to get a spectrum.
    After trying out with different span widths I've experienced strange frequency errors in the range span <10M.
    To negotiate errors in my program I've evaluated also the NI example of http://zone.ni.com/devzone/cda/epd/p/id/6196 - unfortunately same error in frequency happens there.
    What is meant with frequency error, for example:  I have a transceiver which sends FSK with center frequency 443,92MHz. Readings with span-width = 12,5M shows overall good results.
    Reading with span width smaller 10M, eg. 3,125MHz, gives unexpected readings. 
    With a center frequency of 433MHz and a span of 3,125MHz the transmission is out of range of spectrum. When I add an offset of 2M to the calculated IF-frequency, I get right results.
    With a center frequency of 434M I've got readings at 434,92MHz, means at 1MHz too high (after adding an offset of 1M to IF freq readings are correct).
    With center frequency 435MHz readings are correct. The limit between correct and wrong is exact at 434,5MHz (resulting IF = 14,5MHz) readings at that center frequency are good, just one step below (434,49MHz) readings are 1MHz too high.
    Where is the error hidden? Like I said this behaviour happens also with the NI example.
    Thanks for helping!
    Message Edited by Lars.B on 05-20-2009 04:26 AM
    Message Edited by Lars.B on 05-20-2009 04:28 AM
    Message Edited by Lars.B on 05-20-2009 04:29 AM

    To get closer to the problem: I've managed to get constant right results in editing the VI which calculates the IF-frequency for the IF-RIO after setting center frequency and span of PXI-5600.
    But the new values make no sense at all. Documentation says that with spans higher 10MHz step size of center frequency is 1MHz, below it is 5MHz (with lower phase noise). After my modifications it seems that step size is 1MHz at all span widths higher 1MHz and 5MHz at span widths lower 1MHz. 
    Attachments:
    Get NCO Frequency.vi ‏8 KB

  • Audio capture delayed with Java Sound and JWS

    Hi.
    I am experiencing quite a strange problem with Java Sound in my Java Web Start application. I am acquiring sound from the microphone through Java Sound, using a code which looks like this:
    ==============================
    AudioFormat audioFormat = new AudioFormat(11025, 8, 1, true, false);
    // Get a TargetDataLine from the appropriate mixer
    DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class, audioFormat);
    TargetDataLine targetDataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo);
    // Prepare the line for use
    targetDataLine.open(audioFormat);
    targetDataLine.start();
    targetDataLine.addLineListener(myLineListener);
    // Build an input stream from the line
    AudioInputStream audioInStream = new AudioInputStream(targetDataLine);
    // Create the output file
    File outputFile = new File("C:\\MySampleAudioFile.wav");
    // Start the actual audio file-writing operation
    AudioFileFormat.Type targetFileFormatType = AudioFileFormat.Type.WAVE;
    AudioSystem.write(audioInStream, targetFileFormatType, outputFile);
    ==============================
    This code is executed in an independent thread. As you can see from the code reported above, I add a LineListener to my TargetDataLine.
    The problem is that in my JWS application several seconds (about 5-6 seconds) elapse from the call to AudioSystem.write() and the reception of the START LineEvent on my LineListener. This delay only occurs when my JWS application is downloaded from my public internet website, while it is not present when I test my JWS application on my local LAN server.
    It looks like the call to AudioSystem.write() causes some kind of network connection to the remote web server of the JWS app, and this operation takes some time. In fact, if I download my JWS app to my client from the public web server, then I disable all network connections on my client, then the START event is received immediately after the call to AudioSystem.write()... This is STRANGE, isn't it???
    Do you believe the call to AudioSystem.write(), or any other Java Sound call, may cause a network connection to the server from which the JWS application has been downloaded?
    A final addition to the above picture: I also have a "Java Applet" version of this application, which is exactly identical to the JWS version and uses the same exact code to do audio acquisition from the microphone. But, in this case the delay is not present, even when running the applet from the public web server!
    Any help / suggestion would be highly appreciated.
    Best regards,
    Marco.

    Hi
    Just Visit the following link and download sample source code for rtp in java
    http://javasolution.blogspot.com/2007/04/rtp-using-java.html
    if u want know basic simple java voice chat then visit
    http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html

  • Is there a widget with I can open a text frame with a button and close it with the same botton?

    No lightbox, no rollover.
    Click on the same botton
    I need to use it in mobile version.
    I need add text information on the image of my project in the mobile website version.
    I tried here in the second image but I used 2 button; I can't hide the X button when it's closed. I don't like it.
    http://www.studioarcrea.com/phone/sanit%C3%A0.html

    Howdy,
    Your link doesn't work but perhaps the tooltip widget is what you are looking for?

  • Can I use SH68-68S cable with PXI-4351?

    I'm trying to figure out which cables are actually compatible with PXI-4351 and TC-2190
    Will a SH68-68S work?
    thanks!

    Hey Grocket,
    I apologize for the delay in any response.
    It appears that the TC 2190 is only compatible with the SH68-68 cable. The product manual only suggests using that cable.
    The SH68-68-S is only compatible with TBX-68S, CB-68LP, and NI 2501/NI 2503.
    Let us know if there is anything else we can clarify for you!
    Happy Holidays! 
    J Newk
    Systems Engineer
    National Instruments

  • PXI-6220 And Scan List

    I want to acquire mutiple singnels with PXI-6620, and I see that a Scan List memory of 4095 entries is indicated in the data sheet. I want to program the Scan List with CVI, and what should I do? I cannot find anything about it in the DAQmx mannul.
    Thanks!

    Hello,
    You can take a look at the examples we have that are included with NI-DAQ. You can find these examples in C:\Program Files\National Instruments\CVI70\samples\DAQmx. You can then program multiple scan lists depending on the application you want to do.
    Hope this helps!
    LA

  • Downconverting with PXI 5600

    hi...
    I am using PXI-5610 and PXI-5600 modules as separate upconverter and downconverter respectively. I have a 20 MHz centered IF signal which i upconverted with PXI-5610 and then that upconverted signal is fed to PXI-5600 for downconversion. I got the downconverted signal but the center frequency signal is 10 MHz which i expect 20 MHz. I tried to increase my IF frequency. When I used 26 MHz centered IF frequency after upconver and downconverter process I get 16 MHz at downconverter output.
    I am using Labview niRFSA example code. Why am I not getting the IF frequency on which the IF signal was upconverted originally? Can I set the center frequency of the downconverter???

    Can anyone help me with this???
    I tried to give different frequencies from 20 MHz to 30 MHz to the input of upconverter and the output of upconverter PXI 5610 connected to the input of downconverter PXI 5600. In all case i got 10 MHz less frequency at the output of downconverter, i.e if i give 22 MHz input to upconverter, at the output of downconverter I get 12 MHz and if i give 29 MHz then i get 19 MHz at the output of downconverter.
    In one document I read that PXI 5600 always give output on center frequency 15 MHz, which I am not getting. Can anyone explain me what I am getting is right or not? Do I need to use any setting for that?
    I need to further demodulate this downconverted signal, untill I am clear with the downconverter output i am not able to proceed with the demodulation logic development.
    Kindly help... Thanks....

  • FCP Capture Dropped frames with advanced pulldown

    Ok so here's my problem, I have Final Cut studio with FCP 4.5 and I'm trying to import 24p advanced pulldown media from my tapes, and getting a dropped frames warning that ends import; but after trying both cameras (the one the footage was shot with and a second one) and different tapes with normal footage and 24P advanced I still get the same error message. Then I went and replaced the firewire cable with no luck, and I just went and got a PCI firewire card qualified for video import same dropped frames.
    Now before I put in the PCI card I clean installed FCP studio with no luck, I also went through and triple checked every setting in FCP for any problems; and I'm wondering if it might mean that either, I need to replace the media drive I'm importing to or if I need more then my 1GB of RAM?

    I too am having the exact same problem with 4.5 (although no advanced pull down) and 24p. Last week I was importing fine, this week, dropped frames right and left using batch capture after logging my clips.
    I'm using a dual 2.0ghz G5 with 3.5gb of RAM, 10.4.9, booting off a 250gb internal (48gb free) disk but using a G-Tech 500gb firewire 800 external firewire drive for scratch(400gb free). Media is miniDV, tape deck is Sony GVD1000 and I've tried my DVX100b for playback as a test. I've gone thru the FCP checklist and used Disk Utility and Disk Warrior (no problems there). I've tried different tapes (including ones that were successfully captured last week).
    I'm suspecting that some recent download of QTime, OSX, or iTunes is at fault. Anyone else suspect the same?

  • Can I take a frame from my project and use it as a custom menu background with CS4 and its Encore

    My project is edited in CS4.
    I moved it to Encore CS4.
    I don't want to use any of the supplied menu templates in CS4 Encore.
    I was hoping CS4 would be all I needed to create custom menus using scenes from my project.
    My question is: Can I take a frame from my project and use it as a custom menu background with CS4 and its built in Encore or do I need some other element from the Adobe catalog to make these custom chapter menus and sub-menus?
    Thanks Jim

    OK, I'm back. Here are my steps for creating Custom Menus with PS, En and PrPro:
    In PrPro, move the CTI (Current Time Indicator) to the desired Frame. Check Frames on either side, with the Program Monitor’s Magnification to 100%, or maybe even 200% (you’ll need to scroll, but get a really clear picture). You want the clearest Frame in that area. With AME, in CS4, you’ll want to Export that Frame as .TIFF, or .BMP. I use .TIFF for this.
    Now, for a caveat. When you Import this Exported Frame into Photoshop, be sure to check the specs., especially the PAR. You may have to use Image>PAR to adjust this to match your Project’s specs. Or, all might be perfect - just check this out.
    Now, at this point, I choose the Library Menu, Blank, so that everything is setup. One can create the Menu from scratch, but careful attention needs to be paid to the exact naming conventions. At the very least, unless you’ve done this dozens of times before, use that Blank Menu, or similar as a guide, so you get things done, as they must be done.
    Using that Blank Menu, just drag the Layer from your Exported Frame to your Menu image. It will appear above the black Background.
    Add, or manipulate your Button Layer Sets, as is required, keeping them together. Remember that Button #1 will be the Button Layer Set, that is lower down in the Layers Palette. This can play a roll with Button Routing, back in Encore. Lower Button Layer Sets will have lower Button numbers.
    Now, I always rename my Button Layer Sets, keeping the required characters - just changing the name. I also do all of my Button text in PS, and make sure to turn OFF Sync Button Names.
    When done, Save_As .PSD, and then Import_As_Menu into Encore. Note: if you start with the Blank Menu, you can choose Edit in Photoshop, and then when done in PS, you just need to Save, and it will update in Encore. This is a personal workflow choice. I do the Edit in Photoshop route, but it is not necessary. One just needs to Import the resulting .PSD into Encore with Import_As_Menu, so that Encore does all the things that it needs to and recognizes the .PSD as a Menu.
    When deciding what to base your Menu on, remember that you can "populate" your Menu with Buttons from the Functional Content. I’d suggest studying these Assets, and picking the ones that work best for you. You can still alter/edit those back in PS, so you just need to "get close."
    Pay special attention to the required naming conventions. You cannot deviate from those first characters in the Button Layer Sets. They MUST be followed.
    If you have any questions, do not hesitate to ask.
    Good luck,
    Hunt

Maybe you are looking for