Simultaneous AO AI

Dear all,
The attached labview program (vsweep.vi) is part of a larger program which I have been using. This program should produce a linearly increasing AO voltage on a PCI-6229 DAQ(Dev1)  and simultaneously sample four AI channels on the same device. The four channels should sampled as close to each other in time as possible (essentially I would like to have four samples at exactly the same time). The start and end values for the AO voltage are controllable parameters as well as the rate of voltage increase. The AI sampling should be performed "Points" number of times and at a rate so that the sampling takes place while the ramping is performed, i.e., first sample (close to) when the AO voltage is at the start value and the last sample when the AO voltage is at the end value. I hope my explanation is somehow clear. The other program (sweepform.vi) is used to produce the AO waveform based on the start and end voltages and the voltage ramp rate.
My question is this: is this program doing what it should? More specifically, do the two tasks happen simultaneously and how well are they synchronised? I am not too familiar with LabView myself and would greatly appreciate it if someone could help me here. I have of course tested the program as well as I can (e.g., by inputing the AO back in to the AI channels etc.) and it certainly seems to be doing what it is supposed to. The sychronisation requirements are not too stringent, tens (or even a hundred) of ms would be acceptable.
With kind regards,
Erik
Attachments:
vsweep.vi ‏105 KB
sweepform.vi ‏40 KB

Your AI and AO tasks aren't really synchronized in any way. They will probably happen close to each other because they are both dependant on the data from your 'sweep parameters' cluster and nothing in between will take very long.
This document should tell you all you need to know about task synchronization for your device... http://zone.ni.com/devzone/cda/tut/p/id/3615.
I've attached your vi with the suggested changes, it seems to work in the simulation I did.
PS.
a. The DAQmx start should be before the write. (Changed in attached vi.)
b. Are you sure you want to be messing around with the AtoD conversion rate? If you are, you should do it in line (not hanging like it is) and before starting the task. (Deleted in attached vi.)
Message Edited by Troy K on 07-11-2007 01:55 AM
Troy
CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
Beware of the man who won't be bothered with details. - William Feather
The greatest of faults is to be conscious of none. - Thomas Carlyle
Attachments:
vsweep2.vi ‏53 KB
sync AI AO.png ‏14 KB

Similar Messages

  • How Can I Login To Multiple User Accounts Simultaneously

    I am using an Intel iMac (2GHz Intel Core 2 Duo) with 1GB of memory and 10.4.11. I have Fast User Switching enabled. I restart the Mac every morning. Then I login to a second user account. While at work, I access these accounts via VNC.
    Sometimes I forget to login to the second user account. I do it from work via VNC, which sometimes causes complications.
    Does OSX support simultaneous multiple user account login? If not, is there a work-around solution such as an AppleScript? This would provide a time savings to me, as well as a convenience if I forgot to login to the second user account before leaving home.
    Thank you.
    Kurt R. Todoroff

    Seems to me, in another discussion, the simple Fast User Switching does not
    do much really fast or automatically; there are a few faster steps than having
    to log into each and every account change (even when FUS is enabled) so
    this later development sounds a little more automatic, esp over a distance.
    Is there a third party app or valid script that an do the multiple logins automatic
    after the first-run; so passwords need not be re-entered, and the screen can just
    switch over "fast" to another open account window, ready to go to work in there?
    {And not just a keyboard shortcut to save a few little steps, overall.}
    Whichever way the road turns...
    Good luck & happy computing!
    {edited}

  • Can two users share the same iMac simultaneously?

    I have recently acquired several 2009 Mac "towers" (kind of new to Mac, here...  have patience...) and I'm trying to stretch the 20 computers I was given so it can service 40 students.  They all have 6gb of RAM, a couple of TB's of memory, fast processors and (from my understanding) can support two demanding users at one time.  They also have two network ports.
    Now, I'm not talking about using two monitors on one Mac, because I know how to do that.  I'm trying to have two totally separate users, with two different accounts on a network, logging in totally independently and drawing off of a similar network.  So, I'm basically trying to make it so we "split" one Mac so that two students can use one machine.
    I thought about partitioning the drive so that I can have two parallel installations of iOS, running independently of each other (not sure if that's possible) but then I wouldn't know how to connect the machine to the internet.  I know it has two different network ports but I'm not sure how to make them operate independently.  The students need to have their own login and should not be able to mess with the other student's items.
    I appreciate any and all tips or help.
    Thanks again!

    You can create as many individual user accounts on a Mac as you like. Then, any one or more of those users can remotely log in from another Mac and use that Mac as their own, simultaneously. Each account will remain separate from all others.
    However, since each user needs to have a Mac to do that, I'm not sure how you could effectively double the number of users as you describe.

  • How can multiple users simultaneously use 1 library?

    We have 3 computers in our home and have our music on a networked drive, with on each computer an itunes library. We would like to have 1 itunes library on the networked drive, that each of the computers can access simultaneously. How can we achieve this?

    The Wine Bug wrote:
    How can we achieve this?
    only one instance of iTunes @ a time can access the same library, sorry.
    you should be able to +work around+ the problem using _*Home Sharing*_.
    JGG

  • Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously?

    Hi Apple community,
    This is my first go at this so be kind,
    My question concerns launchpad. Coming from Snow Leopard I had been using spaces. I like to keep certain bundles of programs on separate desktops, for example all word processing related tasks in one place. I have set up the equivalent on Yosemite.
    My problem is concerns the loss of exposé. Now I know when you swipe into launch pad you get a very similar effect but the issue I am having concerns the "zoom out" effect when you swipe into launchpad. With exposé all open apps/pages etc would be fully exposed - in my case several (sometimes as many as 9 word documents). What I am running into is when I do this in / into launch pad the "pile" of docs is exposed but they are still overlapping so I can't get a good look at which is which and visually identify where I want to navigate to.
    My question is this; Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously? If so, instructions on how to do so would be greatly appreciated. Any alternative suggestions to doing this outside of launchpad are also welcome. If there is an exposé app for example, I would be quite willing to go that route.
    My main concern is being able to quickly (ie a touchpad gesture) expand all the open pages so I can bounce between them.
    Much thanks from a loyal Apple friend.

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Looking for a simple app that can output 8 channels simultaneously.

    Hello esteemed audio community.
    I have to create a little effect for an upcoming party. For this I have created the following audio tracks in Garage Band:
    - 4 separate audio channels (stereo front and stereo rear)
    - one mono combination of these four tracks (to drive a Light organ gizmo - makes the light flicker with the audio)
    - and finally two separate tracks with simple 1Khz pulses to trigger relays for a fog machine.
    I now need to be able to play these 7 tracks simultaneously and send them to different amplifiers and relays. So I need two things: 1) a software that can play them and 2) a hardware interface that can take these 7 channels out of the computer and convert them to line levels analog signals.
    I thought this would be pretty straight forward but it turns out that it is not, unless you want to throw $$$ at it which I really can't afford.
    Software wise, unfortunately, GB can only output 2 audio channel at one time. So I need to find a little app that can offers multitrack output. Ideally it would some shareware thing that would allow me to load in up to 8 tracks saved from GB, adjust their individual levels and then output them.
    Second issue is hardware. Here I have found the M-Audio 410 firewire. This box will take up to 10 audio "returns" and output them to analog. They can be found used for about $150. So I think this might work.
    Budget for this setup is very limited, hopefully no more than $150. Quality does not have to be very high although a good bass response will be important for the effect. I don't need any recording. Only playback.
    Would any one have any suggestion on how to best accomplish this? If this software does not exist, how complicated would it be to write it? Would Applescript be useful for this? All it needs to do is read 8 audio files (2 minutes max), allow me to adjust their level and output all 8 at the same time.
    Thank you very much for any help.
    Bo

    Ah. I'm surprised, but there we go.
    Have a look here ...
    http://jam.hitsquad.com/vocal/about2136.html
    (courtesy of googling 'OSX free multitrack recording software')
    Didn't have time to do more than skim, but 'Ardour' looked promising. Protools is the only one I've used, the full product is one of the industry standards, but the free 'lite' version listed here seems to be limited to 2 in/out as well.
    Referring to your original post, I'd think trying to write or 'script' something would be a nightmare ... synchronisation of streams within something like Applescript would be a major issue, quite apart from anything else.
    G5 Dual 2.7, MacMini, iMac 700; P4/XP Desk & Lap.   Mac OS X (10.4.8)   mLan:01x/i88x; DP 5.1, Cubase SX3, NI Komplete, Melodyne.

  • Can we load data simultaneously in ODS by various infopackage

    Hi Experts,
    I just wanted to ask that
    Can we trigger paralel load in ODS  by various infopackabyge, once I tried to load two files at the same time in ODS with 2 different package, I was able to load the files, the request id were different for both processes but the activation id was same.
    If anybody did the same , then tell me is there any problem to load Simultaneously in ODS

    Hi,
    No problem with the load...
    Activation ID is same after activation because u might have selected both the requests at the same time during activation processes....
    rgds,
    Edited by: Krishna Rao on May 21, 2009 7:11 PM

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • Simultaneous data activation in cube - request for reporting available

    Hi,
    I'm on BW 3.5.
    I am loading several million records to a cube, processing is to PSA first and subsequently to data target.
    I have broken the load up into 4 separate loads to prevent caches from filling up and causing huge performance issues.
    When I load all the data in a single load, it takes 10 hours to load.  When I break it up into 4 loads it takes 3 hours.
    My problem is that during the loading from PSA to data target, the first data load becomes green and ready for reporting before the last one has finished loading, and so the users get inaccurate report results if they happen to run a report before the last request activates.
    Is it possible to get all 4 requests to activate simultaneously?
    I have tried adding an aggregate to the cube, no good.
    I have tried loading the 4 loads to the PSA in sequential order in the process chain, and then loading from PSA to data target simultaneously (side by side), no good.
    Does anyone have a solution?
    Many thanks,
    Paul White

    Hi ....
    Have you done the Roll up ?
    Since aggregates are there on that cube....until and unless you do the roll up that request will not be available for Reporting...
    Regards,
    Debjani....

  • Qosmio G30-126: how to connect analog TV and satellite TV simultaneously

    Hi, I have a Qosmio G30-126 and have a problem with simultaneous receiving analog TV (by TV-in port in built-in TV tuner) and satellite channels from satellite set-top-box (by AV-in ports).
    I can programm Windows Media Center for analog TV (but without satellite STB) by antenna TV-in port and it works perfectly.
    I can programm Windows Media Center for digital channels from satellite STB (but without analog TV) by AV-in ports and it works perfectly.
    But i can't program Windows Media Center for both analog TV i satellite STB, because during programming WMC forces me to choose between analog TV or satellite decoder and doesn't allow me to choose two signal sources.
    For me it is a big problem, because I have cable TV (analog) and satellite STB with digital channels. And I want to watch on my Qosmio all channels.
    Could anyone help me?

    >... because during programming WMC forces me to choose between analog TV or satellite decoder and doesn't allow me to choose two signal sources.
    I think in this statement you answered your question. I had Qosmio G30 long time ago and i also know that WMC cannot handle with two signal sources at the same time.
    To confirm this contact Microsoft and ask them. I mean they have designed WMC and know how it works exactly.
    Toshiba has just offered proper hardware (TV tuner) to offer TV option on this notebook.

  • Can i use the HDMI port and the Mini displayport to HDMI adapter simultaneously to switch between two displays?

    I just bought a new Mac Mini and was hoping that i can connect my TV via the HDMI port and also connect a 19" monitor via the Minidispaly port to HDMI adapter or the Mini DisplayPort to VGA Adapter. This way i can pick between having the screen mirrored to my tv, or having the screen displayed at my desk.
    Is this possible?

    Yes. Note the resolution via HDM is limited to
    This model simultaneously supports 1920x1200 on an HDMI or a DVI display (using the included HDMI-to-DVI adapter) and2560x1600 on a Thunderbolt or Mini DisplayPort display or even a VGA display (with an optional Mini DisplayPort-to-VGA adapter, which is compatible with the Thunderbolt port).
    HD 4000 Mini Video

  • Trying to Output Sound to Speakers and TV Simultaneously on H8-1360t

    Hi everyone -
    I have an HP H8-1360t with an AMD HD 7570 video card, running Windows 7 64-bit.  I have speakers hooked up to the on-board sound via a standard 3.5mm cable.  I run DVI to my monitor and HDMI to my TV.  I am trying to get sound to go to the speakers and the TV simultaneously, without having to keep swapping the default playback device.  I tried the following that I found online:
    Open Sound panel
    Select Speakers as the default playback device
    Go to the "Recording" tab
    Right click and enable "Show Disabled Devices"
    A recording device called "Wave Out Mix", "Mono Mix" or "Stereo Mix" (this was my case) should appear
    Right click on the new device and click "Enable"
    Right click on the new device and click "Set as Default Device"
    Double click on the new device to open the Properties window
    Go to the "Listen" tab
    Click on the "Listen to this device" checkbox
    Select your HDMI device from the "Playback through this device" list
    This worked the first time I tried it and I was getting audio through both the PC speakers and from the TV.  Since then, it no longer works and I am only get audio via one or the other, depending on what device I select as my default.  It's more of an annoyance than anything else - having to manually switch between output devices every time I want to watch something on my TV instead of my monitor.  I assumed I could get dual audio output and simply not turn on the PC speakers when I wanted to watch something on the TV and it worked the first time!  I don't understand why it is no longer working.  Thoughts?
    TIA!

    Thanks for the reply!
    I believe that the answer is answer is yes to both questions - it defintely worked the first time.  I'm not sure if I tried it on the first reboot or not but it did not work the next time I tried it.  As far as what may have changed - I have no clue?!?  I do not see that the 7570 or the Beats audio had any updates.  According to Device Manager, I am running the latest IDT High Definition Audio CODEC driver.
    i did notice a couple of things tonight.  The video I used as a test the other day, that had audio and video going simultaneously on both displays, is displaying video on both the monitor and TV today but no audio on the TV.  That said, when I open up the Sound control panel, and click on the AMD HDMI Output, right-click, and click "test", I do get test "beeps" through my TV (while the audio from my video is running through my PC speakers).  So, it appears that it is indeed capable of outputting sound to both the PC speakers (via the onboard sound) and the TV (via the HDMI) - just not the same sound anymore!  Another thing I noticed is that when I go to the Recording tab, the Stereo Mix selection is noted as the Default Device, and I can watch the "meter" on the right move up and down in sync with the volume of the video I am playing back - only there is no sound via the TV.
    As usual, when I switch to the HDMI Audio Output as the Default Device, the sound plays fine on my TV.
    This is strange...

  • Can we post entries in 2014 and 2015 fiscal years simultaneously

    Hi,
    Now we are in fiscal year 2015.Still postings are going on for FY2014.Not yet done any year end activities for 2014.Client is asking to open posting periods for fiscal year 2015.They want to post in fiscal years 2014 and 2015 as well simultaneously. Is it possible? If possible,what are the precautions we need to take ?
    Thanks

    Hi
    Yes if you have special period defined for 2014
    or keep both Fiscla period open in FI .
    in MM you should be able to post only in period 12 of fiscal year 2014 . so its depend on what sort of entriews you want to post

  • I have an IPad 2 and an Iphone4, but as it suggests that I can click a photo on my iPhone and the image will also reflect simultaneously on my IPad does not happen, though I have activated cloud on my iPhone. What could be the problem.???

    I have an IPad 2 and an Iphone4, but as it suggests that I can click a photo on my iPhone and the image will also reflect simultaneously on my IPad does not happen, though I have activated cloud on my iPhone. What could be the problem.???
    Also in my iPhone4 the photos that I have downloaded manually from my computer cannot be erased from the phone, how do i do this.???

    Sounds like you are not running iOS 5 ..........
    Update your iPad 2 to iOS 5............
    I purchased an iPad 2 for my wife for Xmas and it did not come with iOS 5 so I had to update it......
    http://www.apple.com/icloud/get-started/
    http://support.apple.com/kb/HT4972

  • Amount of max possible simultaneous INSERTs depend on what ??

    Hi all,
    can somebody comment on following statement , whether its is absolutely true, only a part of the truth or completely wrong :
    "The maximum possible amount of transactions that are simultaneously performing inserts into an Oracle- table is MAINLY constrained by the available ITL-slots of that table." (Assumption : Hardware performance identical)
    Background : We have a mission critical table where every user performs inserts (some kind of an audit table). These inserts are part of the original business transaction and are -normally- very fast.
    Problem is that the commit of the original business txn is only issued after populating this audit table.
    We were asked how many hanging user transactions would be required in order to completely lock the table for further inserts and as a consequence completely hangup the application.
    Cheers,
    Mig

    mbobak wrote:
    2.) You didn't mention version, or whether you're using ASSM, but, if you're still using MSSM (free list managment), then you'll need to consider freelists as well. The freelists parameter should be set to the max concurrent number of inserts on a segment.
    Mark,
    I wasn't planning to go into details about how to configure the number of blocks available for insertion, but you're right: freelists is a significant setting, as is freelist groups. ASSM is roughly equivalent to just freelists 16 freelist groups 1 - which is why systems with very high rates of concurrent DML should seriously consider avoiding it.
    P.S. Come to think of it, you're more likely to have trouble from buffer busy waits before you run into problems with ITL waits if you try increasing insertion concurrency by setting a high INITRANS.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking" Carl Sagan

  • Regarding the Belkin Audio Splitter (3.5mm-M/2x3.5mm-F).  Are both sides of this splitter simultaneously bidirectional?

    Regarding the Belkin Audio Splitter (3.5mm-M/2x3.5mm-F).  Are both sides of this splitter simultaneously bidirectional?

    Direct connections are always best, but if you insist:
    Get a Griffin iTrip or replace your radio with one that has AUX inputs and/or Bluetooth.

Maybe you are looking for

  • My firefox loads in another language than English

    I am in the USA, but firefox and some other pages also load in Spanish, i want them in English.

  • Simple Question abbout email/submit

    I'm so embarrased about asking this but I've only just started to learn Adobe Designer 7. I' m learning through the Livecylcle  Designer Help before I start purchasing books. I'm learning and creating ok but the 'Submit' button is nagging me in the b

  • "AppleMobileDeviceHelper Has Stopped Working" -- how to fix??

    The "AppleMobileDeviceHelper" every 60 seconds or so triggers the above Windows error message. In additon, when I connect my iPhone 3GS, I get various messages -- iTunes Sync Services problem, iPhone not recognized, etc. In the time it's taken to wri

  • Can't connect to server from internet

    Hi I've just set up a new Mac mini server with Lion 10.7.1. It's configured as "Host name for Internet". I can reach the router from Internet. NAT on the router is setup to forward the the required ports according to Apple's document "Well known TCP

  • Displaying other columns/tables apart from a cross tab

    Hi, I designed an RTF template. This contains 3 tables. First table contains the invoice information. 2nd table is the cross tab and 3rd table contains the aging details. My requirement is to print the other tables in all pages if the cross tab goes