Acquiring a signal from two separate DAQs at different rates at the same time

Hi I am trying to setup a system where I need to build two separate arrays one from two separate sets of data. The data needs to be brought in at the same time, but at a different rate. One set is from the PCI-4472 and will come in at ~10Hz, while the other is from a SCXI-1102 that is connected one channel on a PCI-6070E at ~3-5Hz. I was wondering how to have the two be read at the same time, but at the different speed. I am using LabView 6.1. Thanks in advance.

Hi Muheesh:
Since your DAQ's are working at an exact multiple of one another, what you could do is fill alternate channels with some "DUMMY" data...like zeros. Then you could index the array and match it up with the faster card. It might seem like a waste of memory, but it will give you two sets of aligned data, which seems to be what you need. If you're operating them at some weird multiple, it's a bit trickier. Whatever you do, you're going to have to insert some bits somewhere. Look for a least common factor (LCF) of your sample rates, and see if you can divide by that before logging the data.
Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705

Similar Messages

  • Multiple-point Hardware And Software Failures in Two, Separate and Not-connected Computers At The Same Time...

    A few days ago, I was working on a restoration of a 100-years-or-so-old Calculus book on one of my Linux based computers, while my other computer with the Microsoft Windows Vista operating system was serving as Broadcast TV receiver with its USB HDTV tuner
    in the afternoon.  The weather in Los Angeles was summer-like in November, with clear skies and 90 degree Fahrenheit temperatures.  All of a sudden, my Linux based computer halted in the middle of the processing it had performed hundreds of times
    before in hotter days.  It would not restart.  The entire boot block of the disk seemed to have been garbled.  This did not seem even feasible at all, so I decided to shut its power off for a while.   It came back up after a while,
    and everything looked normal.  Then, it did the same thing again.  I decided to open its cover and check on its multiple fans as there was nothing else that could go wrong.
    I then noticed that the computer with the Microsoft Windows Vista Operating system which had been receiving the broadcast TV, was displaying a freshly-booted log-in screen.  It had "Blue-screened" while I was working on the other computer
    across the large room.  This again did not seem any feasible as there had been utterly no connection between these two computers.  Even the AC power line circuit was different.  Furthermore, this computer had the most extensive air-cooling system
    I had built to have it work through 107 degree Fahrenheit temperatures indoors.  Anyway, I logged back in and started the broadcast TV reception again.  Sure enough, after a while it "blue-screened" one more time...
    I went back to the Linux-based computer and found all of its fans operating, but with somewhat hotter disk drives.  The problem was that in hotter days, the same computer had cooler disk drives with nothing different.  I concluded that somehow
    the 80 mm fan mounted in the front side of the case, with its side with rotating blades clamped on the perforated part of the steel case serving as the fan grill, was starting up fine.   But, as the time passed the spring-loaded rotating hub was slowly
    drawn toward the perforated steel case by two means: The partial vacuum formed by the suction generated by the blades of the fan, and by the magnetic attraction of the rotating hub with electro-magnets in it to the partially magnetized, perforated steel casing.
      The first effect was always there, so it was not the real cause, but once something else came along, it really helped the latter.  The hub was slowly drawn to the perforated steel casing due to magnetic attraction, with the holes in the casing
    inducing a huge air-drag on the hub blades as there was no by-pass around to supply the extra-air needed to reduce the partial vacuum.  In addition, the rotating hub with the electro-magnets now was very close to the conducting metal surface and the induced
    eddy-currents in the metal by the moving electro-magnets had added even more drag on the rotating hub, causing it to come nearly to a halt.  The disk drive electronics was heating up and was causing DMA access faults which in turn caused the Linux kernel
    to panic and halt.
    Well, this was nearly unbelievable, but true...  I had not brought any magnets into the room and I still do not know how the computer case got magnetized.  It has been working at the same location for years.  The solution was to move the fan
    away from the perforated steel casing a little so that some air could come in through the gaps on the sides of the fan (hence supplying a by-pass), reducing the partial vacuum in front of the fan.  This kept the rotating hub far enough away to prevent
    the massive induced eddy-current drag from slowing the fan down to a halt.  The computer now works perfectly with the very same fan as it has had been doing for years. 
    The real solution is to saw the perforated part of the steel casing in front of the fan away, and to replace it with a better fan grill.  The best fan grill material  I have found is the finely perforated, thin, black aluminum sheet that is usually
    used as a car audio speaker grill.  In fact, I use these in my Microsoft Windows Vista based computer.  The fans are quieter, with more air flow.  It also keeps dust away and you can brush the collected dust off easily.
    The next problem was the halting of  the computer with the Microsoft Windows Vista operating system with a blue-screen.  The fans in it could not be the cause of this, as it had already had the best improvements I could put in it,  with even
    externally powered fans that did not load  the computer power supply.  And, all of the fans were working well.  In the meantime, the Microsoft November 2014 updates for the Microsoft Windows Vista came out, and as usual I told the computer to
    load and to implement them.  Sure enough, the computer again "blue-screened" in the middle of the update procedure.
    That was somewhat too much, but there was nothing else I could do other than to debug it.  I had not changed anything in the computer and its power supply, completely internally updated by myself a few years ago, was working perfectly.  Whatever
    was causing it was not in the hardware.  It was not in the November 2014 software updates either as it "blue-screened" before those were announced.  I brought the computer back up after several disk and other software checks and after the
    completion of the updates,  I gingerly turned the network modem on.  I then sent the reports on the six failures (three "blue-screen" type failures and three "Anti-malware Executable" failures) to Microsoft with all of details
    requested using the Microsoft Windows Vista problem reporting system.  Within minutes, the Microsoft came up with a diagnosis that the USB driver code in the system had a serious bug.  I had not changed this code in years.  It suggested that
    I should use the "Microsoft Fix-It" for this problem and it pointed to a link to download it.  I did download it.  It ran and the "blue-screen" problem just went away, as if it had never been there...
    -- Yekta

    I ordered the capacitors on Friday and they arrived on Monday, November 17, 2014.  I removed the motherboard from the machine, by removing all PCI and AGP boards, drive and fan connectors and the computer power supply first.  The motherboard then
    simply unbolted from the case and came out with the CPU fan assembly still attached.
    I wrapped the solder side of the motherboard with aluminum foil and set up a work place with the aluminum foil under the motherboard and myself electrically well grounded.  Here came another surprise:  There were four more capacitors of the same
    kind just behind the CPU fan assembly and their tops were also deformed with one of them leaking the electrolyte inside from the the top.  Luckily, I had ordered more than two capacitors to get the quantity discount and the lower rate of shipping. 
    I do use them in other circuits I occasionally build.
    Technically, the only thing one needed to do was to unsolder the six old capacitors from the motherboard and to solder six new ones in in their place with the correct polarities.  However, due to fact that the capacitors span the 3.3 V power plane and
    the ground plane in the multi-layer motherboard, it is nearly impossible to unsolder these capacitors using regular, fine-tip soldering irons.  The thick copper of the power and the ground planes carry the soldering iron heat away very fast, preventing
    the solder from melting quickly.  Continuous application of heat at this point will simply burn the internal insulating epoxy layers and cause shorts inside the motherboard which are impossible to fix in any reasonable amount of time.
    The only reasonable way to remove these capacitors was to dismantle the capacitors from the top leaving their already soldered leads in place.  The new capacitors were then tack soldered to these stubs using lead-free, hard solder.  However, the
    CPU fan assembly and the CPU itself had to be removed from the board to be able to work on these capacitors.
    To dismantle the capacitors from the top, I first drilled small holes at the tops of the capacitors at the intersections of the indentations using the tip of a hobbyist's knife.   I then used needle nosed pliers to peel back the triangular sections
    of aluminum from the center at the tops to their bases at the top edges of the capacitors.  Next, I  removed the plastic layers covering the outside of the capacitors by scoring the plastic layers first from the bottom to the top using the tip of
    the hobbyist's knife and peeling the plastic layers off starting at the cut.  The following step was to cut the aluminum cans of the capacitors from the top to the bottom using the hobbyist's knife like a can opener.  One could not use a saw like
    tool here to accomplish the feat as the saws generated very fine metal chips which were very hard to remove and were certain to cause shorts in the densely populated mother board.  The cans were then peeled off the rest of the capacitors starting from
    the top at the cuts using needle nose pliers, revealing the spiral-wound metal-paper layers of the capacitors.
    The wound layers of the capacitors were peeled off layer by layer by cutting into the layers from the top to the bottom, leaving only the two aluminum electrodes which were crimped and soldered to the leads of the capacitors.  The picture below shows
    the six capacitors with one of them dismantled (left) and with all of them dismantled (right):
    The  black disks below the aluminum electrodes are the rubber plugs covering the bottoms of the capacitors.  The rubber plugs were then cut in half using the hobbyist's knife and removed using the needle nose pliers.  It was not possible to
    solder to the aluminum electrodes, so these were trimmed at the point they were crimped on the leads of the capacitors, leaving only the stubs of the capacitors' leads soldered to the motherboard.
    The new capacitors with suitably trimmed leads were then soldered to these stubs with the correct polarities using lead-free, hard solder.  The capacitors were lightly bonded together using a flexible glue to prevent them from moving.  The picture
    below shows the new capacitors as installed into the motherboard:
    I then assembled everything back together and turned the computer on.  The BIOS complained on the boot screen that the CPU was out of its socket and it needed to be reset.  I set BIOS parameters correctly to their original values.  The computer
    came up and worked without any problems.  I typed this message on  my newly repaired computer running the  Microsoft  Windows Vista operating system. 
    By the way, the manufacturing date on the motherboard is 09/12/2002 and the CPU is a Socket-478, 2.4 GHz, Intel Pentium-4.
    -- Yekta

  • Is is possible to open event lists from different tracks at the same time in Logic Pro 9?

    Is it possible to open event lists from two difference tracks in an arrangement at the same time in Logic Pro 9?
    When I switch between tracks the event list swiches as well. Thanks in advance.

    If you deselect the litte chain link icon in the event list window, it will no longer follow your region selection and you can openas many as you need. Also you can select multiple regions and see the inthe SAME window if you select to show multiple regions, and you can have the notes shown in their respective track colors.

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • Can two users work on different files of the same project?

    Sorry if this has been asked already...but can two users work
    on different files of the same project? How would that work? Would
    it work something like this?
    1. From RoboHelp 7, user A checks out the entire project.
    2. User A checks in the files they are not working with.
    3. User B checks out the project but can only 'edit' the
    files that have been checked in by user A.
    Is this how the source control works?

    That's the basic idea. User A doesn't actually have to check
    out the whole project, though. RSC will selectively check out only
    the files that are actually getting changed. Both writers will have
    a complete copy of the project on their local machines, but the
    files are read-only until they are literally checked out, which is
    on an as-needed basis unless the writer explicitly checks them out.
    G

  • Can I have two projects open on Premiere Elements at the same time? (Elements 13 for Windows)

    Hi there.
    Can I have two projects open on Premiere Elements at the same time?
    The reason I wanna do this is because I've trimmed many hours of clips in one project (One timeline) and I want to start a new project where I have a "clean" timeline and can add clips from the
    first project (Cut and paste). Or how do I bring a trimmed clip from one project into another in a easy way?
    Thanks
    -Dan-

    Your question is in the Photoshop Elements forum.  There is another forum for Premier Elements and this will probably be moved.
    That said, the answer is that Premier Elements has not be designed with the ability to cut and paste from one project to another.  The only "work around" is to "Publish&Share" to a best quality format that matches your project settings.  You can control the output clips with the "work area bars".  You can then add the new clip to the second project.   The output rendering process can, at least in theory, reduce the picture quality.  Depending on formats, settings and footage, it may not be noticeable.
    There is a third party product called Clipmate that some say works, but not always with good results. 

  • Control two different parameters at the same time

    Two motors were connected each other rigidly. One motor controlled torque and the other motor controlled speed. I generated some torque and speed data which represented one cycle of motion from a motor simulation. I like to send these two different data sets (torque and speed) to two different motors at the same time. Torque data sends to one motor and speed data sends to the other motor to see the response of the load profile. In order to do this, I thought about using multithread, but I am not sure it will work for this application. Usually multithreading delay the CPU time so the overall control process might be delayed, right? If you have better idea, please let me know.

    If you are using one motion controller to control both motors, you will probably run into problems if you try to use multithreading on the PC. However, you can execute up to 10 programs (threads) at a time, in addition to host communication, using on-board programming. For more information on on-board programming please refer to the following tutorial: Developer Zone Tutorial: On-board Programming in FlexMotion
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • Stream from iMac to 2 different ATV's; different movies, at the same time?

    Can I stream  from my iTunes library on my mid 2014 iMac; to two different 3rd gen ATV's, two different movies at the same time?

    Thank you Alley_Cat for your reply!
    Yes...all devices are enabled for Home Sharing with the same APPLE ID, all on the same network, the content is in iTunes and compatible, computer and iTunes running, and I am initiating playback on the AppleTVs themselves via the Computers icon.
    playback is is fine on 1st ATV. When I TRY to connect to ATV #2... and try to connect to my iTunes library i get:
    COULD NOT CONNECT TO _______ LIBRARY MAKE SURE COMPUTER IS ON THE SAME NETWORK AND ITUNES IS UP TO DATE AND ITUNES IS RUNNING.
    iTunes is up to date ver11.3.1.(2) .  As noted before,same network iTunes compatible, running and initiating playback on ATV's via Computers icon.

  • HT204053 Can I set up two iCloud accounts on my IPAD3 at the same time? If not how do you sign out of one to sign in to another?

    Can I set up two iCloud accounts on my IPAD3 at the same time? If not how do you sign out of one to sign in to another?

    Welcome to the Apple community.
    You can add more than one account to your iPad, but you can only have one primary account. Secondary accounts which you can add at settings> mail, contacts, calendars do not have all the features of a primary account such as photo stream.

  • How can I open two screens of Adobe digital editions at the same time?

    How can I open two screens of Adobe digital editions at the same time?

    I doubt that you can. Doesn't the Sound prefpane require you to select just one output device?

  • Can I use two apple TVs in different locations in the same house?

    Can I use two apple TVs in different locations in the same house?

    Welcome to the Apple Community.
    You can use 2 or more Apple Tv's in different locations in the same house. You can even use them at the same time and watch the same content on each or choose different content.

  • Adjusting two handles of an anchor point at the same time?

    Hi,
    Is it possible to adjust two handles of an anchor point at the same time?
    I want to edit the top shape of this egg shape so that it would be symmetrical on both sides when I do adjust it.
    What is the easiest way to accomplish this?
    Thanks!

    When I move the right handle, I need the left handle to move the opposite way and it doesn't. I don't get what you mean by saying that it "should behave just like you want them already."

  • How to compare two different characteristics at the same time in polestar

    Hi Gurus,
    I would like to analyse the e fashion universe in polestar with comparison of previous year product line with current year product line at the same time.
    is there any way to do that we can compare two years of the product line sales revenue at the same time with comparison chart like 2003 T shirts vs 2002 T shirts 
    in polestar we can compare the two measures at the same time but i want to compare the sales revenue of product lines of two years in a comparison chart at the same time.
    Regards and thanks
    Abid Paul

    Hi Stratos,
    I am actually able to compare the Measures  but i want the comparison between the two different characteristics like this year  productline  vs last year productline at the same time with say one measure like sales revenue or any other.
    Is it possible to compare the both and it should represent in the chart as well at the same time.
    In the polestar i can compare three measures at the same time but i want to compare characteristics like year  2009 productline VS 2008 productline with one measure say sales revenue.
    I would really appreciate if you could help me out.
    Regards and thanks
    Abid

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • HT204380 Can you FaceTime two different people at the same time?

    Can you FaceTime two different people at the same time?

    No, not at this time. Feedback to Apple goes HERE, and click on the appropriate section.

Maybe you are looking for

  • How can I transfer my playlists, ratings, etc. from one pc to another?

    After scouring the posts here for a couple of hours, I'm not sure I have the answer I need for my situation. I just purchased a 300 GB external HDD on which I have been extracting my CD collection. I want to share this drive between my main desktop p

  • Function Modules for Date

    Hi ALL, I would like to know the various function modules that can be used for calculating dates.Like first day of month,last day.....etc etc. Please give me a list of the FM's and not the F4 help option info. Cheers

  • Need help with Photoshop and Runtime Error

    Runtime Error Photoshop & MS Visual C++ WIN7 32bit Photoshop will appear to launch then dies with a ('MS Visual C++ Runtime Error!' = Application requested the runtime to terminate it  an unusual manner. Contact application's support team for more in

  • Having trouble with I-Tunes, Please Help!!!!!!!! New User

    Hi, im having continous problems with i tunes im a new user and im finding very hard to work out how me and my girlfriend can use i tunes with different i pods. Im sure their is a way we can use the same program without having to keep deleting each o

  • Loss of Sound After Waking From Sleep or unplug headsets

    As the title said, it lose sound sometimes, I have to restart it, then it will OK. Is there a better way to solve that?