How to plot two analogue inputs from a DAQ device against eachother on an XY graph

I am trying to separate data I am acquiring from two analogue inputs on my NI USB-6009 in order to plot them againt one another on an XY graph. I have tried setting up two DAQ assistants on the block diagram, one acquiring data from ai0 and the other from ai1. I tried to wire these to the X input and Y input respectively and running in a while loop but Error -50103 shows up.
I've read through a few discussion threads and have found that you should acquire the data from both analogue inputs thorugh one DAQ assistant, useing index arrays to split the data and wire to the X input and Y input of the XY graph, but I cannot figure out how to do this.
Any help would be greatly appreciated!

It's pretty trivial to use a single DAQ Assistant. When you create one, you are given the option for multiple channels and shown how to select them. Once created with a single channel, you simply open the assistant and click on the Add button. After the acquisition, you use the spilt signal function if you stick with the evil dynamic data.

Similar Messages

  • How can multiple vis share input from a DAQ simutaneously

    How can multiple vis share data input from a DAQ simutaneously?
    Recently I am building a EMG measurement platform and somehow DAQ data need to be shared by several vis at the same  time.
    Are there any ideas?

    If you may need to add/delete tasks that will need th edata you may want to consider a publich/subscribe pattern. Basically your DAQ task will post a message to a single queue. The process listening on this queue (message broker) will determine if there are other processes registered to receive this message. When a device registers for a message it provides a queue to receive it on. The message broker will then post the message to all interested processes. The nice thing about this pattern is that you have dedicated code to handle broadcasting the message and it is very easy at run time to change the number of processes that get the message. The DAQ task will always send the message and will not care how many processes are listening.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to merge two search button from different criteria

    How to merge two search button from different criteria
    this image show the question
    http://s24.postimg.org/4algthuj9/1111.jpg
    two different criteria for the same view and I need to merge it in one button as when I click
    on the button search result give from two criteria parameters

    You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
    As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
    For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
    Timo 

  • How to compare two views/tabels from two systems via RFC

    Hello
    How to compare two views/tabels from two systems via RFC. I know there is a transactio or program but which

    Hi Tina,
    You can use a trnasactions like SCMP, SADJ or SCU0 - all tools to do comparison of customizing objects across clients/systems using RFC.
    Details of these tools, their usage and functionalities are available in the Help Portal -
    [http://help.sap.com/saphelp_47x200/helpdata/en/70/1accb7fab511d18e0f0000e8a48612/frameset.htm]
    Best Regards,
    Rekha

  • How do I share my music from one Appel device to another ?

    How do I share my music from one Appel device to another ? ie From mi Imac to my Iphone ?
    Can I retrieve easily all the music I bought on I tune ?

    Click here and follow the instructions.
    (89891)

  • I recently cracked the screen on my iphone 5c, i would like to switch to a previously owned iphone 4.  How can i switch my service from my current device to my old iphone 4?

    i recently cracked the screen on my iphone 5c, i would like to switch to a previously owned iphone 4.  How can i switch my service from my current device to my old iphone 4?

    Ask your carrier.
    (122404)

  • How do I move an item from my ipad device IOS 8 to the cloud

    How do I move an item from my ipad device IOS 8 to the cloud?

    You cannot put Amazon Kindle books on iCloud. They are DRM protected and can only ever exist on Amazon's own Cloud Service.
    When you purchase a Book from Amazon you can select to send it to Cloud Reader:
    http://www.amazon.com/gp/help/customer/display.html/?nodeId=200701430
    You can use Amazon's Kindle App to access your Books.
    https://itunes.apple.com/us/app/kindle-read-books-ebooks-magazines/id302584613?m t=8
    You can also  use Amazon's Cloud Reader to read books that have been bought form Amazon but are not downloaded to the Kindle App on the device.
    www.amazon.com/CloudReader

  • How to plot two points simultaneously on image?

    I want to plot two points simultaneously on an image. I tried using IMAQ overlay point and IMAQ Light meter for point. But when I try to plot two points using either of these two VIs, I find not even one point is plotted. How to resolve this?
    Solved!
    Go to Solution.

    intensity a écrit:
    I want to plot two points simultaneously on an image. I tried using IMAQ overlay point and IMAQ Light meter for point. But when I try to plot two points using either of these two VIs, I find not even one point is plotted. How to resolve this?If your image is zoomed out, the point size may be to small to allow a proper drawing of the point. Otherwise IMAQ overlay point works flawlessly...
    Message Edité par chilly charly le 01-31-2009 11:40 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Example_VI.png ‏223 KB

  • Profile.xml: how to select a video input (from number not name)

    Hello,
    I'm using FMEcmd in command-line mode with a custom
    profile.xml
    If I look at the profile.xml it looks like the selection of
    the inputs (video and audio) is only possible by giving the full
    name of the input (not just the input number like for Real Producer
    or Windows Media Encoder).
    The app. I'm developing will be used with a webcam and I dont
    have the information about the model someone will be using (and the
    user won't open the FME GUI to generate a profile).
    Is it really not possible to select an input from its number
    (as seen by windows)?
    If not do you have any suggestion to overcome this
    limitation?
    Also I've played with <crossbar_input> but I'm not sure
    what it means.
    Thanks
    <video>
    <device> ToUcam Pro Camera; Video</device>
    <crossbar_input>0</crossbar_input>
    <frame_rate>15.00</frame_rate>
    <size>
    <width>320</width>
    <height>240</height>
    </size>
    </video>
    <audio>
    <device>Appareil photo Philips ToUcam F</device>
    <crossbar_input>0</crossbar_input>
    <sample_rate>22050</sample_rate>
    <channels>1</channels>
    <input_volume>75</input_volume>
    </audio>

    Now that FME 2.5 is out I tried again. I still can't find the
    possibility to select the source from number (like Windows Media
    Encoder or Real Producer can).
    Can someone confirm that this possibility is not present in
    2.5?
    Is there any slight chance it will be implemented in the next
    version?
    What work around do you advise?
    Thanks for any answers.

  • How do I get sync data from my mobile device to the new hard drive in my computer?

    My hard drive crashed and I need to get my synced data back and the instructions for doing so aren't adequately explaining how to do so.
    I have my mobile device in my hand, which has my Firefox data on it. I can't find the sync key. It is telling me to go to "sync options" on my mobile device, but that isn't available on my mobile device.
    I just want to have my bookmarks. My hard drive crashed and I am having enough problems without not being able to sync my firefox data to the new hard drive.

    Hi!
    You can recover yous Sync Key from your phone with this add-on: https://addons.mozilla.org/en-US/mobile/addon/aboutsynckey/
    Install it in your phone so it can display your Sync Key (also know as recovery key).
    Once you do that, follow this steps: [https://support.mozilla.com/en-US/kb/How%20to%20sync%20Firefox%20settings%20between%20computers#w_what-if-im-not-near-my-first-computer Set up Sync in your Computer with the Sync Key]

  • IMovie 10.0.5: How to import an iMovie project from an iOS device

    This description (iMovie '11: Import an iMovie project from an iOS device) seems no longer accurate because:
    a) the command "Send project to iTunes" is NOT available in iMovie for iOS 2.0 (791)
    b) editing an imported project in the iMovie theater in iMovie 10.0.5 seems NOT possible (at least I don't know how).
    So how would I import an iMovie project from an iOS device (version 2.0 791) to iMovie on Mac (10.0.5)?
    Thanks in advance!

    I too are having difficulty trying to import a project from iMovie iOS (iPhone) to iMovie 10.0.5 on my mac mini.
    I found how to export the file to iTunes. you simply share it and the send to iTunes option is in there. But when i try to open the files after i have transferred to my documents folder, they do not open or import. The file has a  .iMoiveMobile file extension, which does not seem to be correct.
    Can anyone help further ?

  • How to send a binary output from ni daq 6009

    I am trying to get a binary output from ni daq 6009 to make the selections of a multiplexer.
    I am trying to make the selection directly from the labview program.
    Please help me in getting this binary output from ni daq 6009 to do the selection

    Try something like this. 
    I'm not a fan of daq-assistant express vi's... use the primitives.  Create the task outside the main structure, pass that task inside the loop and do a write where needed.  Close the task after the main loop.  This improves speed and labview performance.
    Attachments:
    ocelot.png ‏43 KB
    ocelot.vi ‏21 KB

  • How do we FaceTime each other from five different devices iMac at home two iPhones and now to iPad minis

    How do we do all this usually we use our phone numbers for the phone and the apple I'd at home now we have two iPad minis amd don't know what to do should we create a new apple I'd for them or what

    For the iPad mini's you need to utililize an independent verifyible e-mail address for each of them.  You can associate these two e-mail addresses with your  single Aplle Id.  If you supply the ipads with the same email address, you will not be able to make Facetime calls from one to the other, or if you make an FT call from your phones, both ipads would respond.  In other words, if you want the ipads to function as individual devices they each need a unique e-mail address assigned to them.  To help you with this, I'm including a link to an Apple informational page that will help you in adding neww e-mail addresses to your Apple ID.
    http://support.apple.com/kb/HE68

  • How to send two seperate queries from OBI and combine the results

    Hello all,
    I am trying to understand how to combine results of two queries in OBI. Here is the scenario.
    There are three tables, User, Security Roles joined though a Bridge Table Role_User
    Each user has multiple roles, The roles to which a user has access is identified by a flag column with value T or else it will have value F.
    I am trying to create an analysis as below
    User Id
    Roles with Access
    Roles without Access
    So column 2 will show all the roles with flag T for particular user and column 2 will show all the roles with flag F for same user.
    I tried creating two Fact tables and using Filter condition on the flag value, but in analysis I could only use one at a time. When I add both the columns , I get error as None of the fact table are compatible with the query request. I do have hierarchies created for the dimensions and assigned them in the content level for all dims and facts.
    Any hint will be highly appreciated.
    Thanks  

    Got the solution. I am posting it here in case anyone face similar issue.
    I added this SQL code in the advanced tab:
    Select A.saw_0 saw_0, A.saw_1 saw_1, B.saw_1 saw_2
    FROM( Select Col1 saw_0,Col2 saw_1 FROM Table1) A LEFT OUTER JOIN
    (Select Col1 saw_0,Col2 saw_1 FROM Table2) B
    on A.saw_0=B.saw_0
    I created to Logical Facts using same source with two different filter conditions and used them with sub-query as above
    Ref: OBIEE Interviews: Reports

  • How to acquire two signal values from the same GPIB

    I have a power meter which provides two values,  the power and wavelength simultaneously.  So when I'am giving in the GPIB write command probe a joint command is not provided by ILX light wave. So how can i get the values simultaneously.
     Please help

    Hi perumpadapu,
    you should read the manual of your device/software. There you should find the answer.
    Or ask the customer support for that device.
    As long as you don't even provide a name of your device we cannot provide much more help!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Mac pro no longer connects to web via internet sharing

    My Mac Pro does not have an airport card so I have often used a PowerBook G4 or MacBook Pro to share a wireless internet connection via ethernet. A few months ago this method began failing but I was able to share a connection via firewire. Now I am n

  • ASP getting removed when updating Template

       Hello, I have a strange problem I can seem to find an answer for. I'm using Dreamweaver Templates, and on some of my individual pages I am also using ASP code for contact forms. In theory this code is outside the template and shouldn't be removed

  • HELP! Variation on Standby issue

    OK, so last week I closed the lid on my Thinkpad T400 running XP After I opened the lid the screen just stayed black. I had previously set the power manager so that closing the lid did nothing. In other words, my setting was that closing the lid was

  • Failure accessing WMS theme

    Hi to All, I'm trying to call a WMS with mapviewer (OC4J 10g)to add a Layer to an existing map, so as i've seen from documentation i've added a new theme to my maprequest: <theme name="WMS" > <wms_getmap_request isBackgroundImage="false" > <service_u

  • SAPscript text problem

    Hello, I am using the graphical editor for entering notification tasks. Normally, I copy and paste content from an e-mail. After saving the notification and exiting from it when I re-enter the notification in display or change mode, the text in the n