Multiple 9221/9162 USB DAQ Conflict

I'm using LabVIEW 8.6.1 and NI-DAQ  8.8 on Windows XP. I'm trying to set up two NI 9221/9162 usb controlled DAQs to work at the same on the same computer. Each unit works individually, but If I plug one in after another the first one that was plugged in stops responding and I get the below error on a self test in MAX.
When I attempt to use the unresponsive DAQ with the softpanel in MAX I get the following error.
However, if I plug both usb cables into the computer at the exact same time I don't get the device conflict error. Unfortunately this work around is not a desirable solution for the environment this test will be deployed in. Is there a better solution for this problem that will allow both devices to respond regardless of the timing in the plugging in the usb cables?
Thanks you.
Message Edited by mattmaka on 10-26-2009 03:40 PM

The hardware is fine as the units work individually, but not simultaneously when plugged in at different times. I'll move it to the HW forum though.
The problem persists on different machines.
Message Edited by mattmaka on 10-26-2009 04:02 PM

Similar Messages

  • Which usb DAQ device to buy ?

    I am a total Noob when it comes to DAQ so please bear with me and help me with suggestiions on which NI USB DAQ to buy. I am biochemist and I have an old HPLC machine (basically a chemical purifying/seperation machine) I need to control by writing a labview program. I have labview 2013 and have some basic familiarity with it, and have used very easy VIs like blinking LEDs using arduino interface.
    My current project needs me to:
    1) control the flow rates on two pumps using their remote controller and vary their flow rates by varying voltages (0-10V) at not higher than 3 mA input current. basically, I need to be able to vary voltages on two analog pins. I am attaching the manual for the pump for more info. The pinout on the remote controller is on page 16/17 of the manual.
    2) I need to read analog voltage outputs from these two pumps (which measures the hydrostatic pressure) and save it to something like in .csv file.
    3) lastly, I need to read a analog output from a UV detector which will be in mV range and plot it and/or save that to .csv file .
    There are a bunch of NI DAQ USB devices which seems like they can do this job, my problem is that dont know enough to reliably make a judgement on which one to buy for this project. My budget is limited and I would definately like to do it with as cheap a DAQ as possible since we have multiple instruments like this, and we are planning to get rid of ancient 1990s computers running the original software and replace it with a USB DAQ device coupled with a labview program on a modern PC. The HPLC machines are far apart hence we run them on individual PCs instead of running a bunch on one computer through a DAQ device.
    I know its a whole bunch of questions, but I'll be glad for any guidance on this. also, to do the things I just described, how difficult do you guys think the VI would be if I use a NI DAQ and hopefully dont have any driver/communication  issues.
    Attachments:
    shimadzu-lc-6a-hplc-pump-service-manual-eng.pdf ‏985 KB

    I highly recommend you look up your local NI representative and have a nice sit down with them.  They can go over your requirements and give you really good advice on which device to get.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to generate a bipolar pulse train in LabView using USB DAQ 6211?

    Hi,
    I am setting up a system to generate either a single square pulse or a train of square pulses using LabView, with controls to adjust the frequency, amplitude, number of pulses etc. I have had a lot of help from NI tech support setting up the actual VI itself which seems to be working fine, and outputting the pulses via a USB DAQ 6211 using a square waveform generator and the AO1 channel on the DAQ.
    The problem that I now have is that I need to pulses generated in a train to be bipolar (as they are connected to electrodes so need to be bipolar o avoid salt build up on the electrodes from the voltage going in one direction only, at least that is how I understand it!).
    How can I set up my LabView VI to generate a bipolar pulse train instead of always being positive voltage? I am new to this area and so am trying to learn but there is so much to learn!
    Thanks,
    spamjam

    Hi Shalini,
    Apologies for taking a while to get back to you, I hope I can explain what it is that we need to create with the pulses. I understand what you mean about the existing pulses having a positive and negative on the graph - but we need the pulses to start from a resting voltage and the first pulse to be positive, then back to zero, then the second pulse to be negative then back to zero etc. This is to do with reversing the direction of the current between two electrodes to prevent build up of salts on one electrod from the current always passing in the same direction. 
    I have attached a .Tif file to this post to try to illustrate what I mean - the top picture shows how the pulses are currently generated, then bottom on is what we would like to produce if this is possible?
    Thanks for your help,
    Spamjam
    Attachments:
    Slide1.jpg ‏38 KB

  • How do I update a program written for a Legacy DAQ into one for a USB DAQ?

        I am trying to rewrite a program, replacing all of the AI Waveform Scan and AO Update Channel VIs in it with DAQmx VIs. This seems to be the only way for the USB DAQ to respond to the program and not get any errors. I was just hoping for some help in how to replace those VIs with updated DAQmx ones. Attached is the part of the program that I am working on. There is a slight error because of some changes I have made, but the gist of the program is still there.
    Thanks!!
    Attachments:
    DAQdriver.vi ‏52 KB

    What I would suggest is that in either your init state or outside the loop, create two separate tasks for the analog in and the analog out. This means using separate DAQmx Create Channel, DAQmx Timing, DAQmx Start Task, etc. Then, you would have the tasks in your shift registers and pass just the appropriate task to either a DAQmx Write or DAQmx Read. No need to pass channel or device. In the End state, you would add a DAQmx Clear Task for each.

  • What is maximum read out speed of USB DAQ 6343

    hello everyone,
    we have new USB DAQ 6343.Its application note(or say characteristcs) says that it's sampling rate is 500K Sample/second.Now i need some clarification from you guys.I have to read digital data(serial or parallel). so plz tell me how much far I can go with this product for both ways.
    thanks in advance, 
    Solved!
    Go to Solution.

    Unfortunatly I can't get the spec online
    Error
    You are not authorized to view this document
    but you should have get it with your device
    However the datasheet is telling me something like 500kS/s aggregate (500kS/s / <number of channels read> ),  but up to 1MS/s for digital input. However you need to get the data into your PC. If you read one 8 bit port @1MS/s the USB should be able to handle the datastream.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Need to generate a TTL pulse of 3 ms using USB Daq 6361

    Hi all,
    I need to generate a TTL pulse of 3 ~ 5 ms to trigger my external device. I am using USB daq 6361 with BNC connectors. I tried to use this examples(attached) but was not succesfull , can any one help me out in this, I just want a TTL pulse out to trigger my device. I tried to modify the example to see the wave form out but all it shows is a straight line. I want to generate a TTL pulse as soon as my program starts.
    Am I using wrong example? should I use somethis else to generate the pulse. please let me know.
    Thanks,
    Attachments:
    Capture.PNG ‏76 KB
    Digital - Continuous Output_ttl.vi ‏65 KB

    AnkitG wrote:
    Jeff·Þ·Bohrer wrote:
    Why would you create an Task with an analog output?  its a Digital line you want to drive! and, just create it in the project.
    Hi Jeff,
    thanks but I couldnt understand , what you meant by create in project? Can you please explain. should I create digital line but I am still getting the same error.
    Creating DAQmx items in Project Explorer saves the DAQmx object properties as part of the *.lvproj file.  This can be very useful when the Task configuration does not change in the built application and you seldom want to use the task elsewhere.  If you want to make minor tweaks to configuration of the run-time app there is even a human readable text file in the build output where properties like scale offsets, timing rates or ranges can be modified without redeploying a new app.  
    Jeff

  • Why is my USB DAQ device not detected by Windows?

    Hello,
    I had my USB-6229 connected to my PC (Windows 7 64bit) this morning and everything was fine: Windows detected the device, the device showed up on on NI MAX, and testing through NI MAX was successful. I then installed the NI DAQmx 9.8 driver to replace the NI DAQmx 9.6 driver that I was using (the DAQ Assistant icon in my functions menu in LabVIEW 2013 was not present, and this upgrade fixed that issue). Unfortunately, Windows now no longer recognizes the same DAQ device that worked earlier this morning.
    Here's what I've tried so far:
    Uninstalling the 9.8 driver and re-installing the 9.6
    Tested another USB DAQ device; Windows could not detect it either
    None of the DAQ devices register on WIndows's device manager (usb ports not broken, as the flash drives I inserted showed up on device manager)
    As expected, none of the devices show up on NI MAX
    Does anyone have any suggestions on what may have happened when I upgraded from the 9.6 driver to the 9.8?

    Thanks for your reply, Philip. Yes, I did reboot my computer after installing the driver.
    I contacted NI support, and we were unable to reach a solution, so, as a last effort, re-installed the driver for the third time, which finally worked. I'm not sure what the problem was, but here are some extra steps I took before re-installing the driver that may benefit those who encounter a similar problem:
    1. As Philip mentioned, start the NI Device Loader if it has not been started or stop/start it if it has. The startup status ought to be set to "automatic." You can find the NI Device Loader by starting Task Manager, selecting the "Services" tab, then selecting the "Services" button. Scroll down the list until you find it.
    2. Open up Device Manager and search for your device (mine was labeled as "unidentifiable"). Right click and select "Properties." Select the "Driver" tab. You may need to manually select the driver folder, which should be located in C:\Windows\system32\DRIVERS.
    Hope that helps.

  • RS 232 TO USB DAQ

    Hi,
    Is is possible to sync. RS 232 with USB DAQ 6008? i have a GPS mouse and i am woundering whether i could, physically wire each individual ports of RS 232 (output port) with NI USB DAQ 6008 and read the data in labview. thankyou.
    sincerely,
    solomon

    Yes if the baud rate is low enough for the 6008. Rember there is about 11 bits per byte (start data parity stop) and you want to over-sample at a factor of 10 or for each bits cell time.
    Converting the data stream to something that can be aprsed wll be like designing a chip for serial. THen you have to pars the data.
    It will be an excellent learning adventure so have fun.
    If this is not jus to learn something, I'd suugest you look into purchasing a widget that will give you GPS sync'd time pulses.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • USB DAQ with ARM controller boards

    Hello,
         I wish to use USB DAQ (for example USB6509) with ARM or CORTEX-M3 board. I recently purchased one cortex - M3 (by luminary micro) from NI with labview embedded software. I wish to control and monitor large number digital I/Os using USB6509 but the controller card i wish to use is cortex-m3 boards. 
    can some one tell me is it possible at all? if yes, how to go about this? 
    thanks in advance
    Nabhi

    Hi Andy,
    There are a few interfaces that can be used depending on the data you want to send.
    If you want to use Wifi then dongles will be difficult as you would have to write a USB driver for this.  The simplest method would be to use a WiFi ethernet access point to put it on the network.
    If you are looking at general wireless technologies there is quite a lot based on serial technologies.  If you look at http://www.active-robots.com/products/radio-solutions/index.shtml there is a lot based on RS-232 which is available on the ARM7 board.  You may also find some that are based on UART ports, SPI or I2C that should be able to connect.
    I also wanted to draw your attention towards the SingleBoardRIO. It offers the form factor but is much more powerful by allowing you alot of DIO and programmable FPGA.  This is a single board version of the CompactRIO which has the same features but is larger and heavier so depending on the project may not be suitable. Check out ni.com/singleboard and maybe get in touch with your local NI branch for more information.  The SBRIO will offer the same connectivity options as the ARM board with the WiFi access point the simplest way to connect.
    Cheers,
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

  • LAVA Gives away NI $150 USB DAQ

    The LAVA website is giving away a NI USB DAQ worth $150 in the latest coding challenge.
    http://forums.lavag.org/index.php?showtopic=3423
    Michael Aivaliotis
    VI Shots LLC

    Hi Lynn, thanks for the response. I'll try to answer all of your questions.
    I'll scope the outputs with an oscilloscope but the rated rise time on the encoder is quick enough that it shouldn't be an issue. I also run the program on just one analog input with no problems. I figure if there was noise in the encoder signal it would show up no matter how many analog inputs I'm sampling.
    When I run two inputs I have error -200019 coming out of the DAQmx Read VI. This error doesn't show up on just one analog input, only when I run two and only when the behavior that I describe in the next paragraph shows up.
    The zeros are in my written data but you can clearly see them in the measurement window. The attached picture is what my front panel looks like after a successful run. When it doesn't sample correctly the primary graph (cylinder pressure) drops to zero after between 50-150 samples. I open the spreadsheet and I see that it's recorded primarily zeroes.
    I've tried this on both Windows 7 and XP to the same results. I am aware of the XP USB connectivity issues and I installed the necessary Microsoft patch. The card is connected directly to a USB port, I believe it's 2.0. If by load you mean how much avalaible memory and CPU power is available, it doesn't look I'm even close to maxing out the PC. I tried closing excess programs as well as disabling all the other functions of the Labview program (analyzing and writing to file) to see if I was asking it to do too much at a time.
    Attachments:
    v34 Screenshot.JPG ‏432 KB

  • Can Multiple Applications Access same DAQ ni usB-6289 device?

    I have to Run Multiple Instances of a LabVIEW Executable Simultaneously. Is it possible to access the same DAQ ni usB-6289 device for all of the LabVIEW instance?
    Thanks.

    dianageorge a écrit :
    I have to Run Multiple Instances of a LabVIEW Executable Simultaneously. Is it possible to access the same DAQ ni usB-6289 device for all of the LabVIEW instance?
    Thanks.
    Never tried it but I doubt you will be able to acces the DAQ simultaneously, To verify it try accesing the DAQ in LabVIEW and in MAX at the same time.
    Ben64

  • Separate Analog Input/Output Tasks for Multiple USB-Daq 6008

    Hello, In my application I'm using two separate USB-6008 DAQ devices, they are to be used simultaneously,
    i.e both tasks will start in a same loop, there are both writing to some channels and sampling some data from
    some channels, the problem is, when I'm trying to define a task, via Daqmx base Configuration Utility, I
    sucseed at defining the task, for the first Device, but unable to define nearly same task but for the
    different Device, since the OK button is grayed out (Disable).
    I'm using Labview 7.1 and a NI-Daqmx base ver. 2.0
    Following attachment shows what I'm talking about.
    Attachments:
    daqmxbase.JPG ‏59 KB

    Actually it is not the easiest to use the full version of daqmx is easier, It is also very easy to set this up in MAX (measurement and automation explorer) What version of labview are you using. have you made sure that the device is recognised in MAX and that the device number is correct. i have a couple of 6008 and have run them alot without any trouble so it must be the way you have things setup. Could you post a section of the code that gives  you the error. also try running each device in max with the test panels for each one and see if it works there.
    Joe.
    "NOTHING IS EVER EASY"

  • 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

  • Multiple Printers on USB Hub with Airport Express

    I have been testing all day and I think my question is already answered. However, I would like to confirm with the gurus in here: Can AE be hooked up to a powered 4 port USB hub to which three printers are connected?
    In the hardwired situation, there seems to be no problem. All three individual printers are recognized by Printer Setup Utility on the computer to which the USB hub is attached. When I attach the USB hub to the AE and restart the hub, only the first (closest to the USB out cable) is recognized, no matter which one I place in that first socket. And only that first one is seen over the wireless network.
    I was looking for a way to allow other computers in the house to be able to utilize these three different speciality printers (labelmaker, DVD printer and LaserWriter), without having to have the connected computer always on as host.
    Any suggestions would be appreciated-short of buying two more Airport Express units.
    g5 dual 2.0   Mac OS X (10.4.8)   multiple monitors, internal RAID 6GB SDRAM

    Can AE be hooked up to a powered 4 port USB hub to which three printers are connected?
    Sorry, but no. The USB port on the AirPort Express Base Station (AX) can only accept a single USB printer. (ref: http://docs.info.apple.com/article.html?artnum=107857)

  • Why do bluetooth Trackpad and wired USB drivers conflict 10.6.7

    It seems Apple's implementation of Bluetooth Trackpad is incompatible with 3rd party wired mouse drivers, which have been around and continuously developed since OS9 days.  The odd thing is that what breaks is the bluetooth device discovery and pairing process via either the Bluetooth or Trackpad Preference panes. Also bizare is the interaction with wired usb mouse drivers that do not attempt to pair with bluetooth devices.  I could understand the failed cursor control on its own, but bluetooth vs USB at the recognition of device level is a weird failure, as it is kind of like my car failing to drive because I installed after market fluffy seat covers.
    I am rue to start a forum on the new Trackpad that I purchased June 2011, tried to implement under 10.6.7 (updated from a 10.6.0 Retail disk), but I've returned it for credit as unfit for purpose, despite 12 hours talking to AppleCare, and about the same searching the community and knowledge base.  I did get it to work after a fashion by retro-installing (via pacifier) much of the bluetooth and bezelservices components from the 10.6.5 combo update.dmg. I had removed all vestiges of third party software: USB Overdrive, Kensington, Logitech and a few others I tried sequentially with multiple clean installs.
    This partial solution to initialize the Trackpad although eventually gaining curse control over the Trackpad via the Trackpad pane (broken in every instance of third party software), failed to resolve the additional issues of non smooth Trackpad cursor (even with the eventually found Tackpad update - this is NOT installed automatically via the 10.6.7 Combo Update!!!); and  any use of the Trackpad rendered my wired mice largely unserviceable - both Apple and Logitech. without the Trackpad these mice functioned perfectly - although 3rd party software is necessary to provide sufficient cursor acceleration across my large screen (1920x1080).
    Granted third party drivers may use odd implementation methods, but all of them?  Either Apple should provide standardised frameworks and preference panes that can recognise, accept  and utilise industry standard button and scroll axis inputs. I had hoped the advent of the Apple mighty multi-button mouse would give me sufficient control to use the Apple pref pane to assign <command-Click> to my thumb button, and <option-click> to the wheel buton, but unfortunately I had to revert to USB Overdrive to do so. Not even the mighty mouse can accept these basic button assignments.
    I am interested to get insight from others - particularly knowledgeable developers -

    It seems Apple's implementation of Bluetooth Trackpad is incompatible with 3rd party wired mouse drivers, which have been around and continuously developed since OS9 days.  The odd thing is that what breaks is the bluetooth device discovery and pairing process via either the Bluetooth or Trackpad Preference panes. Also bizare is the interaction with wired usb mouse drivers that do not attempt to pair with bluetooth devices.  I could understand the failed cursor control on its own, but bluetooth vs USB at the recognition of device level is a weird failure, as it is kind of like my car failing to drive because I installed after market fluffy seat covers.
    I am rue to start a forum on the new Trackpad that I purchased June 2011, tried to implement under 10.6.7 (updated from a 10.6.0 Retail disk), but I've returned it for credit as unfit for purpose, despite 12 hours talking to AppleCare, and about the same searching the community and knowledge base.  I did get it to work after a fashion by retro-installing (via pacifier) much of the bluetooth and bezelservices components from the 10.6.5 combo update.dmg. I had removed all vestiges of third party software: USB Overdrive, Kensington, Logitech and a few others I tried sequentially with multiple clean installs.
    This partial solution to initialize the Trackpad although eventually gaining curse control over the Trackpad via the Trackpad pane (broken in every instance of third party software), failed to resolve the additional issues of non smooth Trackpad cursor (even with the eventually found Tackpad update - this is NOT installed automatically via the 10.6.7 Combo Update!!!); and  any use of the Trackpad rendered my wired mice largely unserviceable - both Apple and Logitech. without the Trackpad these mice functioned perfectly - although 3rd party software is necessary to provide sufficient cursor acceleration across my large screen (1920x1080).
    Granted third party drivers may use odd implementation methods, but all of them?  Either Apple should provide standardised frameworks and preference panes that can recognise, accept  and utilise industry standard button and scroll axis inputs. I had hoped the advent of the Apple mighty multi-button mouse would give me sufficient control to use the Apple pref pane to assign <command-Click> to my thumb button, and <option-click> to the wheel buton, but unfortunately I had to revert to USB Overdrive to do so. Not even the mighty mouse can accept these basic button assignments.
    I am interested to get insight from others - particularly knowledgeable developers -

Maybe you are looking for