Multiple DAQ devices with AI scan clk loop control

I have an application running under RT on a PXI controller that acquires AI data from a 6052E board. The time critical loop uses an external digital trigger for the scan clock. AI Single scan controls loop timing since it puts the thread to sleep until the arrival of the digital trigger. It works great. The attached VI is a simplified example of how the system works.
However, I needed more AI input lines and have purchased a second 6052E board. I now need to scan multiple devices within the loop and am having trouble coming up with the best solution. Ideally, it would be great if I could group the AI channels on both boards and scan them with one node, as in the example, but that seems impossible. I'll prob
ably have to synchronize the two boards and use two AI single scan nodes to get the data. Does anyone have an idea about the best way to configure the clock/trigger for the second board to accomplish this? I've looked through examples and haven't yet found anything that exactly fits the bill.
I'm using LV 7.0 and RT 7.0 on Mac OS X.
Thanks.
Attachments:
Single_Device_AI_cntrld_loop.vi ‏95 KB

Byron,
You will need to route the scan clock for the PXI-6052E (master) that is receiving the external clock to the second PXI-6052E (slave). In the example you attached to your post, all you would need to do is duplicate the code from AI Config.vi to AI Clear.vi for the slave device. In your actual application, since the scan clock is not already available on one of the PXI Trigger (RTSI) lines, you will need to use Route Signal.vi to route the master device's AI Scan Start (scan clock) signal to a RTSI line. You can then select this RTSI line as the source of the scan clock for the slave device.
Good luck with your application.
Spencer S.

Similar Messages

  • How to FaceTime and iMessage on multiple apple devices with one iTunes account

    We recently received iPad 2's for Christmas and was looking for some advice on how to FaceTime and iMessage on multiple apple devices with One iTunes Account (Apple Id).  I have created or attached other e-mail addresses to our apple id but do not know how to use them on the new devices.  Our home MacBook Pro uses our main apple id for FaceTime.  The iPads have been setup with the main apple id w/o being able to use FaceTime and iMessage.
    Please Help...
    I appreciate the help and support.

    P and V-
    If you are trying to connect to someone with a different Apple ID, I think all the devices should work, but one at a time.
    The problem is when you try to connect between two with the same Apple ID.  Once the calling device tries to make the connection, it finds the second device to be "busy".  That is where each needs to use a different E-Mail address when setting it up.
    On iOS devices, when you press the Home button to exit an App, the App may still be active in the background, even when the device is sleeping.  If FaceTime or iMessage is merely being active that way, it may be enough to "tie up" the E-Mail address.
    From the Home screen, double click your Home button.  You will see a list of recent Apps along the bottom of the screen.  Press and hold on one of them until they start to wiggle.  You will then see a red minus sign on each.  Pressing the minus sign will remove an App from the list, and stop it from working in the background.  (Click the Home button to stop the wiggling, and again to hide the recent Apps.)
    Fred

  • Multiple Bluetooth Devices with different functions

    Is it possible to run multiple Bluetooth devices at once?
    For example, my BMW is currently paired to my phone and the integrated hands-free operates flawlessly. I would like to run a seperate A2DP device to my Aux input to be wire-free, but before I buy it, will I be able to run my BMW hands-free and my A2DP paired at the same time. Will the phone transfer to the BMW when an incoming/outgoing call comes? As far as I know the A2DP device has no microphone, so I don't believe it's meant for taking calls.
    Thanks

    I second that question for my Audi A4. Have the phone paired with the car via Bluetooth for calling, but don't want to use the Audi AMI cable for playing music, as that fixes the iPhone to the "Accessory enabled" screen ( know I can get around that by jailbreaking) and start Auto Play. I'd like to use the iSkin Cerulean RX Bluetooth dongle instead, and plug that into the Audo AMI cable.
    But I'd have to have my iPhone paired to both the car (for phone) and the Cerulean RX (for A2DP audio) simultaneously. Is that possible? Anyone?

  • I want to setup multiple computers/devices with one user

    I have multiple computers, Macs and PCs, and two iOS devices; iPad and iPhone. I want to setup my server as a file server for all devices with me as the only user. I'm having trouble finding that scenario. Any help would be appreciated. Thanks in advance.

    Thanks for the prompt reply. I found a lot of information beyond the basic instructions for configuring the WebDAV before turning it on. But unless there's a way of using the server to store files instead of iCloud or Dropbox, there isn't a real need for connecting the iOS devices to my server. Again, thanks for prompting me to "read the manual".

  • Multiple IOS devices with one apple id and different PCs to synch

    I have 2 macs, 1 Apple TV, 2 iPhones, 2 iPads, 3 iPods and 1 windows pc.
    I would like to:
    1) sync each of them with one of the Macs using the same apple Id;
    2) connect with FaceTime with each of them separately (at least the iPads and iPhones);
    3) synch one phone with the Mac for music and my work PC for apps.
    What should I do using my unique apple I'd?
    Txs,
    Roberto

    When you say "sync", are you talking about physically having songs, movies, etc on your computers and devices?  Or simply want to access those files on those computers and devices?  *Syncing is different from Home Sharing but you are in the Home Sharing discussion forum.  That is why I am asking.
    If they are all in the same network and just want to access them or listen/watch them, all you have to do is turn on Home Sharing for all of your machines and devices with the same account.
    For Mac/PC desktops, you can turn on Home Sharing in iTunes 11.  Go to File > Home Sharing > Turn on Home Sharing.  Do this for all machines.  After doing that, you go to the media selector button at the top left to see your Home Shares.  Or you can enable the sidebar by going to View > Show Sidebar.  From there, just connect to your other computers and you will able to listen or watch to your content.
    For your devices, turn on Home Sharing in Settings.  Go to Settings > Music or Video > Home Sharing and enter the same Apple ID and password.  You can listen to songs in Music and watch videos in Video.app.
    For your Apple TV, if it is a 2nd gen ATV or later then you can turn on Home Sharing under Computers in the main screen.  For the 1st gen ATV, you can either share or pair with iTunes.
    If you want to physically have files (this is syncing), then you can sync your devices to the machine you want to sync with.
    With respect to FaceTime, if you want to use FaceTime on your phone with someone but separately on your iPad then you can associate your phone number to FT on your phone and on your iPad, you can use your Apple ID for FaceTime.  That way, if people want to FT on your phone, they should use the phone number to FT.  For iPad, people should enter your Apple ID when doing FT.

  • Capture Torque vs Angle readings with multiple DAQ devices simultaneously

    I am trying to capture a torque signal from an NI 9237 and combine it with an angle signal from a PCI 6251 with an SCC-68. It seems that I am able to capture each individually without a problem, but I seem to be getting off on time bases during aquisition. I am running a 1mhz oscillator for the aquisition clock through the SCC-68 for the angle signal and a 10khz internal clock for the torque aquisition on the 9237. I take every 100th point out of my array to size it correctly down to the 10khz collection of the torque signal. Since the signals are coming from 2 different devices I am having trouble getting them to align accurately on the time base. I am new to labview and am stumbling through this at the moment. Any suggestions would be appreciated. Also i'm guessing there is probably a better way to do this with different hardware?
    My code is attached.
    Attachments:
    Ni9237 Torque Angle.vi ‏105 KB

    First off, Thank you for you first reply. I have finally gotten to the point where I have the correct equipment for the job.
    I have a cDaq 9174 chassis, 9237, and 9401. I have been working with NI support to get the clocks synchronize between the modules. I initially had the 9401 set up to generate a clock signal and the 9237 would read it internally for sampling. Unfortunately this method worked when using virtual equipment but the 9237 would not obtain samples with real hardware(Times out before any samples could be acquired) So now I am running the angular encoder off of the oversample clock generated by the 9237. This way seems to work correctly as far as data acquisition goes. Now I am back to the offset between the sources, I understand the 9237 will have some offset due to the oversample clock and acquisition/filter delays. The problem I am having now is that the offset does not seem to be constant. I am running a 1hz digital waveform (using an external function generator) into both the 9401 and 9237 using a voltage divider. I confirmed there is no lag between signals using an oscilloscope. When reading these inputs into my vi there is an offset but it is not constant, given the synchronize clocks I do not understand why this is happening.
    *Also the previous knowledge base article you referenced is missing links to images that should show up on the page so it is hard for me to grasp what it is describing.*
    The attached image shows the offset scatter I am seeing.
    As always, any help is greatly appreciated.
    Thanks
    Message Edited by Mrgoomis on 11-24-2009 08:27 AM

  • DAQ Assistant with multichannels causing Simulation Loop slow?

    Hi, another LabView newbie here.
    I have in a Real Time Target (NI 9132)  a Control & Simulation Loop with DAQ Assistant block inside, whose signals are fed into a Discrete State Space block. The discrete state space model has 1 second time step. I have set the Simulation Loop parameters so that it executes every 1 second as well (see Fig. A below). *sorry for the big white gap under the figures..
    The DAQ assistant acquisition mode is set as "1 Sampe (On Demand)".
    However, when I run the VI, the plot seemed to be updated much slower than 1 second rate. To confirm this, I put an "Elapsed Time" block inside the Simulation Loop. The "elapsed time" shows the actual time in seconds while the simulation plot show slower time (see Fig. B below).
    I tried to isolate the problem by removing the block one by one. Finally, I found out that this problem was caused by (at least) the DAQ Assistant which acquires multichannels data of NI 9214. When I remove some channels and leave one or two channels, the VI runs at the actual time (see Fig. C below). But when I added more channels reading, it became slower again. 
    Here is the snippet of the block diagram (after all other blocks were removed):
    What am I doing wrong here? I'm going to use all of NI 9214 channels so how not to have similar problem like this?
    I look forward to hearing any relevant comments from the members. Thanks in advance.
    Tian

    Hi Tian,
    why do you need a Sim loop anyway?
    - When it comes to speed you shouldn't use the DAQAssistent. Use basic DAQmx functions…
    - Use parallel running loops for each task. Put DAQmx functions in their own loop, running in parallel to your Sim loop…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Multiple BlackBerry devices with one BIS account

    Hi,
    I'm planning to get a second BlackBerry and I want to use it together with my current one (not at the same time of course). My provider (O2) supports up to three devices for one plan (they'll send me copies of my SIM card for the other devices, so they all can be active at the same time), so that's no problem. However, I also want to have both devices connected to my BIS account, so my mails will be pushed to both devices at the same time, and I want to be able to use BBM on both devices at the same time. I'm afraid that when I connect my new BlackBerry to my account, the old device will be disconnected automatically.
    Has anyone tried that before or does anyone know where to find information about this matter?
    Best regards,
    Jonas

    Well when you said copies of the SIM card, are they just giving you extra ones, each with a different SIM number? Each SIM card has a unique number associated with it so it should work.
    Actually now that I think about it if it's a copy of the SIM card with the same phone number then I don't think it will work. Like you said before if you switch devices the new one will be active. I think if it's a different SIM card with a different telephone number (like an additional line on the account if you're on a family plan) then it should work.
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Blue Screen (STOP: 0x00000050) when using multiple Agilent34970A devices with a single GPIB

    Hi,
    I am using two test fixtures that contain two Agilent34970A Multimeters and two Sorensen Power Supplies (each test fixture is contaning one Multimeter and one Sorensen Power Supply) that are connected via GPIB cables to a single PCI-GPIB card. Below I have attached two VI's. GPIB_Communication_Experiment_1.vi (Test Fixture 1) and
    GPIB_Communication_Experiment_2.vi (Test Fixture 2) are used to run self test on the
    Agilent34970A multimeters. GPIB_Communication_Experiment_1.vi is talking to one of the Agilent Multimeters and one of the Sorensen Power Supplies (Address 9 for Agilent Multimeter and Address 2 for Sorensen Power Supply) whereas GPIB_Communication_Experiment_2.vi talks to the second Agilent Multimeter and its Sorensen Power Supply (Address 10 for the Multimeter and Address 3 for the Sorense Power Supply).
    The Problem occurs when I try to run these two VI's simultaneously where it generates a "blue screen of death" with a Technical Information : STOP: 0x00000050 (0xF8AC00440, 0x00000000, 0x8041889, 0x00000000).
    This Problem only occurs when trying to run the executables that were built from the attached VI's.
    I have tried to use VISA CLEAR within the while loop as you can see in the VI however it did not improve things.
    I have also uninstalled and re-installed the software for my PCI-GPIB card but that seemed not to work either.
    At this point I am confused.  If I try to run only one Test Fixture at a time I have no problem doing the Self Test on the Agilent Multimeter, yet every single time if I try to run the two test fixtures together I am  gettig the blue screen.
    Besides the two executable VI's I have also attached the regular VI's
    I would really appreciate your help, thanks in advance for your time.
    Attachments:
    GPIB_Communication_Experiment_1.vi ‏23 KB
    GPIB_Communication_Experiment_2.vi ‏23 KB

    Hello aps7828:
    If I read that correct, you only get the error when you run the executables and not the VIs. Can you take a look at your processor level while one .exe is running. I am wondering if that is the source of the problem.
    Regards,
    Roland A.
    Applications Engineer
    National Instruments
    Check out VI Roadshow

  • Multiple USB devices with LKIF.dll

    I am successfully using a single USB Keyence LK-G3001 laser displacement controller with 2 heads and making function calls to LKIF.dll
    The next step is to implement a second controller.
    According to Keyence, the LKIF.dll will only support a single device. They suggested disabling the 1st USB port and then enabling the 2nd port.
    How can I programmatically
      determine which device is attached to which port?
      enable/disable the USB port?

    If you're running on a Windows machine you can try using devcon. It's a command-line based utility. For other operating systems you would need to use the old Google to find an equivalent utility.

  • Multiple itunes devices with one itunes

    I share a computer with a roommate. He has a motorola phone that uses itunes and I have an ipod nano. Currently the itunes library has his stuff in it. I really don't even want to use itunes, I just want to hook up my ipod so it can charge. My question is, if I hook up my ipod will it open itunes and sync my library on the ipod to the library in itunes or vice versa? I really don't want to accidentally end up erasing all his songs or vice versa. I know there is a setting for automatic syncing but I could not find it in the preferences..

    So if you have 2 iPods on one computer, but are using 2 different names.
    Like, user accounts.
    Then you WANT to sync your iTunes?
    Because under File there's at the bottom, it says "Snyc your iPod"

  • How do I manage multiple itunes devices ?

    How do I manage multiple itunes devices with other family members on a single computer?
    I do not want to share libraries.

    There's a couple of options (other than using specified playlists or manual management out of a single library).
    The following document is worth checking through: 
    How to use multiple iPods, iPads, or iPhones with one computer

  • Device with AC coupling anti-aliasing and can connect to laptop

    I am looking for a DAQ device with the the following features.
    Two analog inputs
    10kHz sampling rate per channel (min)
    16bit resolution
    AC coupling
    +/- 10v input
    Anti-aliasing filter
    Can connect to a laptop
    BNC input connectors
    Powered by laptop connection (a plus)
    Do NI do any such device?Message Edited by mosher on 06-02-2005 03:53 AM
    Message Edited by mosher on 06-02-2005 03:54 AM

    Hi Mosher
    There are PCI/PXI solutions to do what you require. For example you could use an S-series device or a DSA board. However a set-up for connection to a laptop is more tricky. The reason is that devices with these features are based around generally high end and therefore need to use the higher bus speeds of PCI/PXI.
    Is there definitely a requirement to use a laptop, or would a small PXI system or desktop be ok instead?
    SimonS

  • Daq device questions

    Hi:
    I need to syncronize AO and DO on a DAQ device. 
    I am thinking about USB-63XX series (for example USB-6341.), which has clocked DO, and probably cheaper than PCI series.
    I have checked this example : http://digital.ni.com/public.nsf/allkb/EBD603683446EC13862575B3006A63A2 , which makes DO's clock to be AO's sampling clock.
     (the website shows that example is for PCI-series)
    What I am not sure is, is this kind of shared clocks supported by most of the DAQ device with clocked digital output?
    Many thanks
    js777
    Solved!
    Go to Solution.

    Hi js777,
    You are referring to sample clock synchronisation as mentioned in the article in your post. This type of synchronisation is supported on most types of DAQ devices. Please refer to the following links for a list of the NI DAQ models that support this form of synchronisation:
    http://zone.ni.com/reference/en-XX/help/370466V-01/mxdevconsid/synchronmxsc/
    http://zone.ni.com/reference/en-XX/help/370466V-01/mxdevconsid/synchrone/
    Please note that as mentioned in here: http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/syncsampleclock/ this form of synchronisation can result in jitter when used with multiplexed DAQ devices.
    Thanks and Regards,
    Supreeth.K
    Applications Engineer
    NIUK

  • How to setup multiple daq lists on a ecu with ecu mc toolkit?

    Has anyone had the pleasure of setting up multiple DAQ lists on a ECU?
    I am using ECU MC Addon for Labview 2011.  I can successfully setup a single DAQ list and read the data correctly.  This method uses DAQ list mode to initilize instead of polling, it really cuts down on CAN traffic.
    I dont have my VI on this PC but it basically is ECU Connect > ECU DAQ List Initilize (sets sample rate and channel list) > ECU Transmit DAQ List to ECU > Start DAQ List > LOOP{ ECU Read } 
    I need to create a second DAQ list to sample at a different speed.  Any ideas?  
    Thanks,
    Ben
    Solved!
    Go to Solution.

    My revised VI is:
    ... >  ECU Connect > ECU DAQ List Initilize (sets sample rate and channel list) > ECU DAQ List Initialize #2 (sets sample rate and channel list) > 2 Parallel Loops of ECU Read
    The ECU DAQ Initialize or the ECU Read VI's appear to transmit the DAQ list to the ECM, so I removed those VIs.  The ECU appears to also start transmitting the channels without a need for the ECU DAQ Start.
    FYI, the  "ECU Transmit DAQ List to ECU" was  "MC DAQ Start Stop .vi" with the mode set to "transmit daq list to ecu".
    Its running great, I am able to run this on a cRIO & 985x or a USB-8473.  Now I am just working on setting up TDMS data logging.

Maybe you are looking for