Method for accessing multiple DAQ cards

Hello, I am trying to access two analog-input cards in a "ping-pong" type fashion with LabVIEW 7.1.
The two cards are PCI-6052E DAQ cards (call them "B" and "C"). What I'd like to do, is get data in this fashion: B/ai0, C/ai1, B/ai2, C/ai3, B/ai4 ..... etc. However when I try to do this I get this error :
"Error -200558 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi.
Possible reason(s):
One task cannot contain multiple independent devices.
Create one task for each independent device.
Device: B
Device: C"
So my question is, IS there a viable way to do this? I have attached my .vi that contains the trouble. Any help would be GREATLY appreciated! Thanks!
Attachments:
Surrogate.vi ‏251 KB

One task cannot span multiple devices. Your problem is that your physical channels in DAQmx Create Channel reference two different devices. You cannot create tasks like that. If you want to ping pong between devices, you'll have to do it with single point reads like this:
B/ai0 >> DAQmx Read Single Channel Single Sample
C/ai1 >> DAQmx Read Single Channel Single Sample
etc...
Hope this helps.
Regards,
Erin

Similar Messages

  • VI Logger - use of multiple DAQ cards

    How do I configure VI Logger to acquire data from multiple DAQ cards?
    I have set up channels for two DAQ cards but the VI Logger Tasks seems only capable of acquiring from either DAQ card, not both.

    Hi Metronet,
    VI Logger doesn't support acquiring data from multiple DAQ cards.
    VI Logger was a free software tool that came with new DAQ cards up until the end of March. To get customers up and running and acquiring data in the quickest possible time.
    VI Logger however is not LabVIEW, and as such cannot use more than 1 DAQ card at any one time. If you want to acquire from multiple cards then you will need to program in LabVIEW, CVI, Visual Basic or Visual C.
    I am sorry that I have to inform you of this, but NI has no plans to release VI Logger with support for multiple DAQ cards.
    Regards
    James
    Applications Engineer
    NI UK

  • Looking for examples of VI with two or more inputs for the 1200 daq-card ( PCMCIA )

    Thank you , if you can help me by sending VI examples for the 1200 daq-card
    , with 2 or mores inputs

    You can find several examples that will work with the DAQCard-1200 at zone.ni.com/libraries/.
    Then look under Data Acquisition. There are also examples that ship with
    LV and NIDAQ. Look in ...\Labview\examples\daq\anlogin\.
    "david frazao" wrote:
    >Thank you , if you can help me by sending VI examples for the 1200 daq-card>,
    with 2 or mores inputs>>

  • How to structure the DMA buffer for PXie 6341 DAQ card for analog output with different frequencies on each channel

    I'm using the MHDDK for analog out/in with the PXIe 6341 DAQ card.
    The examples, e.g. aoex5, show a single Timer  (outTimerHelper::loadUI method), but the example shows DMA data loaded with the same vector size.
    There is a comment in the outTimerHelper:rogramUpdateCount call which implies that different buffer sizes per channel can be used.
       (the comment is: Switching between different buffer sizes will not be used)
    Does anyone know what the format of the DMA buffer should be for data for multiple channels with different frequencies ?
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?

    Hello Kenstern,
    The data is always interleaved because each card only has a single timing engine for each subsystem.
    For AO you must specify the number of samples that AO will output. You also specify the number of channels. Because there is only one timing engine for AO, each AO will channel will get updated at the same time tick of the update clock. The data will be arranged interleaved exactly as the example shows because each AO channel needs data to output at each tick of the update clock. The data itself can change based on the frequency you want to output.
    kenstern wrote:
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?
    In your example, you need to come up with an update rate that works for both waveforms (1 KHz and 1.5 KHz sine waves). To get a good representation of a sine wave, you need to update more than 10x as fast as your fastest frequency...I would recommend 100x if possible.
    Update Frequency: 150 KHz
    Channels: 2
    Then you create buffers that include full cycles of each waveform you want to output based on the update frequency. These buffers must also be the same size.
    Buffer 1: Contains data for the 1 KHz sine wave, 300 points, 2 sine wave cycles
    Buffer 2: Contains data for the 1.5 KHz sine wave, 300 points, 3 sine wave cycles
    You then interleave them as before. When the data is run through the ADC, they are outputting different sine waves even though the AO channels are updating at the same rate.

  • I use labview 8.0 and i can not run daqmx driver for pcmcia 6062e daq card

    i use labview 8.0 on window xp .when i installed a PCMCIA daq card 6062E, i could not run daqmx driver.It is fine to see that the traditional version is working well.When i install daq card sometimes it is working well with traditional driver  but mostly i see error on reading an analog input from PCMCIA daq device.An error called 'base adress' occures .I use last version of driver that is daqmx 8.0.1. and i have installed this correctly but again i could not  see any signal on the test panel for daq-mx driver.I don't know what is the problem.Also when i install PCMCIA daq card Please reply this message.I need your helps.
    Thanks

    Hello,
    Thanks for your reply.I will try to answer your questions.
    I have checked the Device Mananger and I have seen that the device is detected by Windows  XP.  For another question the card shows up under both NI-DAQmx Devices and Traditional NI-DAQ (Legacy) Devices consistently in the Measurement & Automation Explorer.I use a way that I reset the driver for traditional NI-DAQ in MAX,and then i reset the device for NI-DAQmx driver in MAX and again i tried to run the test panel of DAQmx driver but again i saw a wrong signal or noise signal on the test panel i could not see the sinusoidal signal that i connected. i do get the test panels to run with the card using the DAQmx driver,  But could not run the DAQ diagnostic utility.The error was as i specified below.
    03.05.2006 09:49:35
    Results saved to:  C:\Documents and Settings\serkan\Desktop\Diagnostic Results.txt
    Selected Device: Dev1
    Device Type: DAQCard-6062E
    Serial Number: 107509E
    Device Support: (PASS)
    NI-DAQmx Version: 8.0 (PASS)
    Device Reset: (FAIL)
    Error -50002 occurred at an unidentified location
    Possible reason(s):
    The specified device is not a valid device. The operation could not be completed as specified.
     ------ DIAGNOSTIC UTILITY ABORTED -----
    And for your last question i can say that i have used the DAQ card on other laptops.But the results were the same.İ hope to see your reply
    Thanks,
    Serkan Buhan
    Electrical-Elecronics Engineer
    Researcher
    TUBITAK-BILTEN

  • Pda module - ao examples for 6024 E daq card

    I am having trouble finding a working example of Analog Output for PDA (using a daq card 6024 E). Ni.com suggests using "PDA single point AO.VI" but I do not know how to configure channels. The website further states: "Single-point analog output is not supported in NI-DAQmx Base 1.0"
    Essentially I have tried using both Configuration utility and MAX to set examples, but in both cases the example does not recognize them. Is there any other way to configure a channel?
    Any suggestion will be greatly appreciated.
    thanks,
    -petar 

    Hi Petar-
    I spoke with the engineer you reached over the phone and seemed to believe that you might be using the incorrect version of NI-DAQmx Base.  With PocketPC you will need to use NI-DAQmx Base for PocketPC 2003.  After uninstalling your current version and installing this new version you will need to also install the driver software to your PDA.  This can be accomplished when connected to ActiveSync by choosing the option to install the driver to PDA in the Start>>Programs>>National Instruments>>NI-DAQmx Base folder.
    You will need to create the task to be used in the NI-DAQmx Configuration Utility in Windows.  First open the utility and click "Create New Task."  Make sure you give it a descriptive name and choose the appropriate device type as well as selecting an analog output channel type.  Click "Save and Exit" to save your choices.
    You will then need to open LabVIEW and target your PocketPC 2003 device on the splash screen.  Make sure that you do not open LabVIEW before saving the Task in the configuration utility or the task will not be referenced properly.
    Finally, extract the zip file in this KB and open the "PDA Single Point AO.vi" and click "Run" in LabVIEW with the target set to the PDA.  After a short time to build and deploy the app you should see the front panel appear on your PDA.  I tested with a DAQCard-6024E with good results.  Note with this example that you will need to click the "RUN" button each time you want to update the output voltage.
    EDIT:  I forgot to mention- if you receive a prompt for "ESeries.dll" you might have to browse to "C:\Program Files\National Instruments\LabVIEW 7.1\PDA\utilites\LVPocketPCProject\lib\DAQmxbase\E​Series.dll" to find the necessary file.
    Hopefully this helps-
    Message Edited by Tom W. on 07-27-2005 05:30 PM
    Tom W
    National Instruments

  • Need for sugestion about DAQ Card for load cell

    Hi.
    I have a AT-MIO-16XE-50 DAQ card. But, I guess it doesn't work with load cell since it dosen't have output. So I need your regomendation about what DAQ card I should use. Also, if I need to use strain gage conditioner, recomende to me.
    Thanks
    Jee

    I couldn't find any information about a DAQ 512, but I did find info about a DAQCard-512 and DAQCard-500. If you meant one of these boards, then you will need NI-DAQ 6.9.3. That is the latest version of NI-DAQ to support these boards. Post again if you need additional assistance.

  • Multiple DAQ Cards, Multiple While Loops

    I'm writing a code to support 3 small test stands that each have the same outputs and inputs as the others. I'm running them all off of an 8-slot DAQ. Each test stand has its own dedicated RTD Card and Analog Out card, but they all share a 32-channel Analog Input card.
    I'd like to decouple the 3 test stands as much as possible - if I have to take out an RTD card or Analog Output card, I don't want the entire LabVIEW program to stop running. I want to be able to keep running and logging data on the other two test stands if I were working on the other test stand. Is there a way to do this with only 1 cDAQ? Is it simply a matter of creating separate, independent while loops for each test stand? If so, would LabVIEW have issues with each while loop writing its own measurement file in parallel with the others?
    Thank You.

    Is it safe to assume you've been running the three tests?  Some of your post makes it sound like you've run them coupled while other parts make it sound like you haven't successfully had all three tests running simultaneously.
    If you aren't running them, are you using hardware timing (counters) for your tasks?  If you're looking to use counters, you're only using one per task, correct?  The cDAQ will only have four counters total to be shared between your loops.
    I can't remember off the top of my head if it is the task or the computer that reserves a cDAQ chassis.  I want to say it's the computer so you can run multiple tasks from the same cDAQ.  But, you'd still need to choose ctr0, ctr1, ctr2, etc in each task so that you don't share these resources between tasks.
    Are you looking to pull the shared module out frequently?  If not, are you gaining enough functionality to justify buying two redundant modules to gain decoupling?

  • HT5552 Apple decline payment method for apple ID (credit card VISA) after 2 weeks of active using it. And did it one more time

    Few mothes ago I registered my Apple ID.Payment method chose credit card VISA. It allowed me to make purchases and download apps. But after 2 weeks it said that my payment method was declined and I have to register and pay 1$ once again. So I registered one more time with the same credit card, made several downloads and purchases and after 2-3 weeks the situation was the same. My payment method was declined. What is the reason?

    Kateryna Malykhina wrote:
    ... My payment method was declined. What is the reason?
    As this is a User to User forum no one here would know...
    You need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I need a user manual for a PCI-MIO-16E-1 DAQ card

    I am starting research using a PCI-MIO-16E-1 DAQ card that was used by a prior student and the manual is not available.  I tried to access the manual online through your websitem, but I was denied access.  How can I gain access to this manual so I can start to use this DAQ in my research?

    What you need is the E Series help file.  Here is the link, but for some reason if you can't get there, the zip file is attached.
    -Alan A.
    Attachments:
    370503f.zip ‏1260 KB

  • GPIB and DAQ card access from JSDK 1.4.2

    Dear Friends,
    I have done many projects (by jsdk-1.4.2) of data acquisition and control with serial ports (COM-1 and COM-2) by RS-232C method.
    But is it possible to access the GPIB card or Data Acquisition card of National Instruments (USA) for control and exchange data with some external instrument?
    Can any body suggest anything ?
    With best regards,
    Avijit Das

    You could use JVM 1.3.X because it uses SSL from the Internet Explorer, not the JSSE SSL.
    Apart of this, you could see if the implementation of PKCS#11 for the forthcoming J2SDK 1.5 works with your card AND if JSSE can use the PKCS#11 Sun Provider. Download the beta and try it.

  • Ground problem for daq card

    I am using daq card PCI-MIO-16E1.It was working fine in one PC.When transferred to another PC, there is some ground problem it seems.when no signal is connected, it is showing a voltage level of -5v and when a signal is connected gradually it rises ffrom this level and reaches the level of the signal.whereas in the old PC a level of about 0.1v was seen.this is irrespective of the configuration(differential,RSE,NRSE etc).can anybody help ?
    R.P.Kumar

    How does the 6070E (PCI-MIO-16E-1) perform if you put it back in the
    original system or yet another one?  Have you tried multiple channels? 
    Do you notice a difference in the keying of the PCI connector between
    the two motherboards?  The 6070E is a 3.3V 32-Bit card and will not
    work with a 5V 32/64-Bit slot even though it will fit.  Consult the
    following document for more details on PCI keying: PCI Keying and Voltage Compatability
    Elijah Kerry
    Senior Product Manager, LabVIEW
    Follow my Software Engineering for LabVIEW Blog

  • Multi usb daq cards for stain gauge calib

    Hi guys,
    I am new to labview and tring to build a daq system use multiple usb cards. My application is to calibrate an array of 36 strain gauges. I know there are cards that have 40 analog inputs (I use single input from amplifier) but budget is tight, boss want to use cheap multiple cards. I already have a ni6009 and need 4 more ni5008 to get a total of 40 inputs (resolution is not a problem). The guy told me that the problem with many of these usb cards is that they can't synchronize. But I think my application need not to synchronize these cards. I only want to read all the ports at "approximately same" time, so  software timing will do. Is it correct? Will a use one vi to read all these cards?
    Another thing is that my computer only have 4 usb ports. Can I use a usb hub or should I use an adaptor?
    Is there any other solution? Any suggestion will be welcomed.

    Hi Xiao,
    “Synchronization” can mean anything from devices on either side of the world operating on a clock disciplined to GPS, to starting to devices at about (ie: a few milliseconds difference) the same time. The USB 6008 can accept a digital trigger, so you could make it so that all the USB 6008’s start on the same trigger. The lack of synchronizing ability of this device that “the guy” mentioned most likely has to do with this device’s inability to share a clock. Although each device will start at the same time each devices clock with me slightly off from one another and with time this error will accumulate and could become significant. If that doesn’t sound like a problem and starting all the devices at about the same time is fine then your approach seems reasonable.
    You absolutely can use one VI to read each of these cards, you would have to create a different task for each but they can all be in one VI.
    In answer to your last question, if you do use a hub, a powered USB would be better, however, I would recommend a true PCI or PCIe USB card in lieu of a hub. USB hub quality varies greatly between manufacturers, and unfortunately I don’t have recommendation of a USB hub use.
    Matt
    Applications Engineer
    National Instruments

  • REGISTERING CREDIT / DEBIT CARD FOR ACCESSING

    Hi Using iPad,
    For accessing iTunes, App store or Apple store, is it mandetory to register my credit / debit card ? If yes, then kindly tell me the procedure. 

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • My previous method for payment on itunes was debit card but now I dont have one.  How do I change to no card without creating a new apple id

    My previous method for payment on itunes was debit card but now I dont have one.  How do I change to no card without creating a new apple id?  It tells me to update payment details when I try to update apps but it only has visa, mastercard, amex and maesto.  I dont have any of them.  I did previously use visa but I dont have the card anymore and cant get another one.  Please can someone help me set it up so I dont need a payment method.  Thanks

    Thanks for you reply.  Is that the only way as it would cost me £15?

Maybe you are looking for

  • Is it possible to partition my hd without losing data for dual boot?

    i have 10.6.2 as my main OS right now but want to create a separate partition and put 10.5 on it, can i do this without losing my data on snowleopard?

  • Crystal Report 8.5 reports on 64 bit OS

    We are migrating from 32 bit OS to 64 bit OS.  We have a VB application that uses crystal report 8.5(CRPE32.DLL).  Is 8.5 compatible with 64 bit OS? Thank you for your response

  • Rendering XML output (with large number of columns) to browser breaks

    We have a stored procedure in our database which returns a cursor with over 400 columns.  When we call the stored procedure from within the QT (using mode FixedQueryWithOutput), it renders just fine and very quickly in CSV format.  however, when we a

  • Custom / default probe LV 8.2

    Hi All, I have recently created myself a custom probe by right clicking on a string, creating a new probe giving it a name and saving it under the Labview/probes directory.  However when i right click a string and select probe (I am wanting the defau

  • Netboot Images on other Volumes

    Hi, I am setting up Netboot images for the first time on Mac OS X Server 10.4.7 and have run into a strange problem. I have successfully created a Netboot image and can use it when the image is in the /Library/Netboot folder on the Boot volume. The p