Acquiring data from daq-pad and saving video at the same time

I am trying to record data from my daq-pad at 100 samples per second. At the same time I am using a usb interfaced camera to record a video feed. The idea is that when i begin recording data i also begin recording the video feed.
The way I record the video  feed works fine in its own VI (I need it to record at 30fps and it does this just fine). But when I integrate it with the data record/capture VI the framing rate slows down to only 10 fps. I suspect this is because the VI  gets caught capturing the data from the daq-pad thus slowing down its ability to record the video feed. I was hoping you could give me some help with how to record the data at 100 samples per second and get the VI to capture 30 frames per second. Thanks in advance for anyone who helps out.
I've attached the VI that has both the data capture and the video capture already integrated.
Attachments:
usa_swimming with video21.vi ‏892 KB

Hi,
I took a look at your code and the problem is that you have both the data acquistion and the image acquistion in the same loop.  Have you tried using parellel loops?  There is more information about this in the labview tutorials that are available online if you are unsure how to do that.  The problem is that you are doing a lot of things in that loop (acquiring data, doing some analysis, and writing to file), so you can't acquire images very fast because it depends on the speed of the loop iteration.  I hope this helps.
Have a great day,
GG

Similar Messages

  • Playing and saving videos at the same time

    Hi~
    I wanna download a movie clip from the Web and play it, and at the same time, save the clip onto the local disk. So next time I play the clip, no more downloading.
    my environment is Flash CS4 and AIR.
    I looked up three classes: NetConnection, NetStream, VideoPlayer.
    give me some hints~
    thanks.

    I found this tutorial and was going to try it out. http://tdotblog.info/?q=node/1 It looks pretty simple and and works with AIR.

  • Is it possible to output to div monitor and s-video at the same time?

    I'm editing video and want to see the broadcast results on the fly (ie monitor and tv side by side, same image onscreen). Is it possible to output to div monitor and s-video at the same time? Maybe thru a splitter cable. I'm concerned about resolution issues.

    This is not possible with a mini.

  • I have Windows 7, 64 bit, and I am using iTunes 11.0.1.12. I have been all through the threads and internet..how do I delete songs from my iTunes and hard drive at the same time? I have my music in the correct iTunes folder. Nothing works.

    Windows 7 64 bit
    iTunes 11.0.1.12
    I have my music in the correct iTunes folder
    In iTunes, I select songs, click "delete", then "move to recycle bin", finally, empty my recycle bin that shows the file is there
    File is still on my hard drive.
    I just want to be able to delete files out of my library and off of my hard drive at the same time. I have tried everything I have read, and there really seems to be no real answer. Somebody please help!

    Tarantulaman wrote:
    i do, but like i said it fell once and since then it hasn't been able to connect to my laptop. it acts like nothing's connected. i believe if i call the company the HDD is from they'll be able to transfer it to a new one but who knows how much they'd charge. looks like i have no choice now.
    If it were truly a backup, then the media would play on the laptop as it would be on the laptop.
    Sounds like you actually do not have a backup, instead you chose to keep your media on an external drive.
    Regardless of where the media is stored, it's always a good idea to have a backup for instances like this.

  • Dual screen-annotate and watch videos at the same time?

    Does anyone know a way to annotate pdfs while watching a video lecture at the same time?  I have tried notability and side by side but both lack the capabilities to do both.  Thanks

    @kalos
    Uninstalled everything PA, also uninstalled mangler which was the only thing that depended on PA. It didn't work anyway.
    No pulseaudio --kill command so I couldn't run.
    Checked systemd journal and there is no mention of PA this time.
    Checked top, and grepped ps aux and there is no PA there either.
    I also rebooted the machine completely just to make sure. However VLC and HTML5 have the same incompatibilities.
    _ vlc Videos/anime/fmab/01.mp4
    VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
    [0x1bc30f8] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0x1af4118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    [0x7fb604001248] main vout display error: Failed to resize display
    But the video and audio did work until I ran some HTML5 video, after which the audio worked, and then I opened it again and it didn't work...
    @nomorewindows
    I see. That's too bad. At least we're not alone.
    Last edited by Greduan (2014-11-14 01:34:29)

  • Streaming from Macbook Pro and using it at the same time?

    Haven't decided yet if I'm going to buy the Apple TV or not, and I still have a few questions in the back of my mind. The biggest one being if I am streaming a movie from my MacBook Pro, does it still function regularly as a laptop or do I have to stop using it during the duration of the stream? I like to be able to work and watch movies or TV at the same time, and this is going to be a big deciding factor if I get one or not. Can anyone help? Thanks!

    if I am streaming a movie from my MacBook Pro, does it still function regularly as a laptop
    It does indeed. In fact when you use it, you probably wont even notice your computer is streaming content to the Apple TV.

  • Just purchased a Track Pad. Can I use the track pad and my mouse at the same time?

    Hello folks.  Am new to the community.  Asked a question but didn't go through.
    Have just purchased a magic track pad for my desk top iMac.  I have been using both the track pad and my mouse together.
    It froze up after several hours.  Is it ok to use both together?  I find that fine movements are better on the mouse but the other
    stuff is easier on the track pad.
    Thanks for your help.

    That is very strange..... haven't heard of that one. I guess I'd try the following: unpair them all and start over, one by one. I must say, my current mouse is not an Apple mouse - and it is USB, so it doesn't come into play in this scenario, but it is listed in the bluetooth devices and I do have the keyboard and trackpad.

  • Can i play audio and record video at the same time, disabling the external mike, so the video has that audio?

    can i play  audio while recording a video so that the audio is recorded with the video? .. disabling the inboard mic, ? .. thank you 

    Hi SwedelostinAmerica,
    Welcome to the Apple Support Communities!
    The iPhone can maintain multiple pairing records, but it can only connect to one headset or hands-free device at a time. However, in your situation there may be a solution. You can connect the iPhone via Bluetooth for calls and use the 3.5mm jack on your iPhone and car radio to connect for music.
    The following article explains Bluetooth pairing and usage. Please use it as a reference.
    iOS: Third-party Bluetooth accessories
    http://support.apple.com/kb/HT1664
    Have a great day,
    Joe

  • HDMI and Component Video at the same time?

    I'm trying to connect both outputs of the Apple TV at once. HDMI to the projector and the component to my receiver. I want to be able to get a preview of what I'm going to be watching before sending it to the projector.
    Is there a way to have both outputs active? I just need one component or composite output for my preview.

    Wiqui wrote:
    Is there a way to have both outputs active? I just need one component or composite output for my preview.
    no.
    HDMI takes precedence and will disable component when an HDMI cable is connected

  • How do i remove MYWEBSEARCH from my PC and block it at the same time

    some how i have downloaded something that brought MYWEBSEARCH page and can not find out how to
    remove it permanently and also block.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Installed new hard drive and windows 7 at the same time. Left old hard drives in computer but unable to get bookmarks from old drives to new.

    Installed new hard drive and windows 7 at the same time. Left old hard drives in computer, installed firefox however I have no idea in which file the old bookmarks are located. I still have the old files for firefox in the old drives.

    Your "Firefox personal data", like bookmarks, are stored in your Profile folder in Firefox. See this support article about how to recover that data from that old hard drive and transfer it your your new Profile.
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • I bought a bluetooth Bose speaker so I could listen to music from my imac in multiple rooms at the same time. I wanted to use BOTH my existing speakers using the headphone jack and add additional bluetooth speakers in other rooms, but the imac wants me to

    I bought a bluetooth Bose speaker so I could listen to music from my imac in multiple rooms at the same time. I wanted to use BOTH my existing speakers using the headphone jack and add additional bluetooth speakers in other rooms, but the imac wants me to pick one or the other, is there a way to have both?

    I asked same question
    Any answers

  • IS there a way to load and purchase different photos from iPhoto and ship them at the same time? the only way that I can find is to purchase each photo (or multiple of one) at a time, which increases the cost of shipping, as I want to get one print of 20

    Is there a way to order multiple different prints in any quantity from Iphoto? it appears currently like I would have to ship each separately, even if only one print... is there a way around this so I can can get several DIFFERENT prints of any quantity and ship all at the same time?

    Sure - easiest way is to make an album for photos you want to order and drag photos to it - when it is complete open the album, select all and order
    LN

  • My iPhone 4s will not sync a changed playlist from itunes unless i turn off music match. Shouldn't I be able to use a playlist and music match at the same time?

    my iPhone 4s will not sync a changed playlist from itunes unless i turn off music match. Shouldn't I be able to use a playlist and music match at the same time?

    It's not entirely impossible actually as someone has pointed out to me that I can turn on Call Forwarding and that stops any incoming calls. I've just forwarded it to my google voice number and then turned on "do not disturb" in google voice and whenever I get a call it goes straight to my google voice voicemail and my phone does nothing. The only thing now is I still get text messages but I think the phone calls bugged me more because they would make my music turn off for much longer.
    Even though this isn't a perfect solution it's something so far so maybe you shouldn't just come out and say there's NOTHING I can do because so far I've found part of a solution. If you don't have anyting productive to say then just don't reply and close the tab. Thanks.
    At this point I'm wondering if anyone knows of any Jailbreak tweaks that can enable what I want. Unless of course it's agaisnt the rules of this forum to mention jailbreak stuff...

  • Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Are you in DSL? Do you know if your modem is bridged?
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

Maybe you are looking for