Problem with MX DAQ with USB-6009

Hey guys, I'd be happy if someone of you can help me!

I want to measure the tension of a place and it was working fine, but now I want to measure the temperature of the room too... and that's my problem.

When I put 2 virtual channels DAQ, that it won't work, I get an error when I tried to read the voltage and the temperature.

Error-50103 occurred at DAQmx Read (analog 1-d Wfm NChan NSamp) .vi:1

Possible reasons:

The specified resource is reserved. The operation could not be performed as indicated.

Task name: _unnamedTask<17C>

If I click on continue, I get the same error again and again and again...

Can someone help me on this?

How can I track more than one thing with DAQ MX?

Because when the measures only one thing it works, but when I try 2 or more, it's crushing.

I download the vi and an image with the code!

Thank you

You should do something like that. I don't really know if the data is sorted by the column or lines when you return a 2D array. This is for temporary data in the last column. If it is sorted by lines, then wire the '7' in the line of the array Index. Or, move the table to Index at before the transposition table.

You can use the function remove the table to remove temp data before moving on to the loop for. It is up to you. The for loop you have is built also hurt. Make use of the functionality of an Auto-Index loop and you don't need over to Terminal n of the loop and eliminates the Index table inside the loop function for.

Spend some time and take the LabVIEW tutorials and look at examples of delivery to get an idea of how do the work of loops and options for indexing tables.

Tags: NI Hardware

Similar Questions

  • Problem of analog sinusoidal input USB-6009

    Hello

    I am a newbie to Labview. I'm using Labview 2009 and USB-6009. I tried to use USB-6009 to display the input sinewave of function generator signal. First of all, the perfect sinusoidal looking at the frequency of 1 kHz, but when I changed the frequency of 10 kHz, the sinusoid turned into a triangle wave. When I test the input signal, I put the 48 kHz sampling and Terminal configuration is CSR. Is there a problem with USB-6009?

    You really need to spend some time to study sampling and Nyquist theorem-not LabVIEW. To faithfully reproduce the shape of the sine wave, you must go to a sampling rate 10 times higher than your input frequency. With the 6009, i.e. limit the entry less than 5 kHz.

  • Satellite M70-190 - problem with USB

    Hello!
    After you uninstall Windows XP and BIOS update, I have a problem with the USB ports. My work does ' t of USB flash drive. Windows also find a USB flash drive, but I can't find it in "my computer".
    If anyone idea about this problem?
    PS, External HARD drive works perfectly, as the USB mouse and USB WiMax modem.
    I m hoping someone out there can help with this problem.

    If I understand you well you don't have problem with USB port, but with a single USB device. Right?

  • Big problems with USB devices

    Since I upgraded to El Capitan I have several, serious problems with USB devices:

    1 USB hard drive: everything by watching a video from an external hard drive, the hard drive will be to disassemble all the minutes, the video will be of course hang and it takes 45-60 seconds until the drive reconnects. I also can not boot from any external hard drive more. Booting from a USB key works fine.

    2. I can't transfer my Sunny BT11 of beam data more. The Sunny Beam is a device that records the data of my photovoltaic plant. The overview of the system he sees when connected via USB, however he is not recognized and so I can't transfer data files. Also, it makes not a difference if it is connected via a USB hub or directly, the two versions do NOT work. In the Finder preferences, all devices are controlled to display on the desktop.

    The two scenarios always perfectly work with my Mac mini that has not been updated and uses Mac OS X 10.10.

    Hello Gulliver,

    It seems that if you live with loss of connection of your USB devices since the installation of Mac OS X 10.11 El Capitan, is that correct?

    I suggest that you are troubleshooting by following the steps in this article - OS X El Capitan: If a USB device does not work

    Thank you for using communities of Apple Support.

    Sincerely.

  • Problem with USB HUB using Windows 7 on Bootcamp

    I have an iMac when I installed Win 7 with Bootcamp. I have problem with USB hub. If I connect USB devices (printer, iphone... etc...) directly to my computer, it works without any problem. But if I connect them through USB hub, that they do not work properly. The sound instantly invites you, but certain peripheral functions partially and some not at all. I tried several USB hubs... same problem for all. Any solution? Thanks a lot for your answer.

    Hello

    I suggest you to see link and check.

    Tips for solving common driver problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-driver-problems

    I also suggest you to contact the apple support and check.

    http://www.Apple.com/support/

  • measure resistance with USB-6009

    I am measuring the resistance of a photocell using the USB-6009 case. There is an option of "resistance" in the DAQ assistant, but it does not display the values on the right. Here's what I do:

    Connections: GND - photocell - ai0

    I'm really not sure if this is right, but I assumed that he could measure the resistance as a multimeter. I have not tried doing a divisor of tension and using the Ohm's law.

    DAQ Assistant settings: I 'add channel' by using the more blue and choose "resistance". Then, I chose ai0 under USB-6009. I set the max and min values and read it all the time. First problem, playback is generally negative and it flickers a lot. I read about - 1.3 k when I do that with a k resistor 10 regular (not a photoresistor)

    Obviously there is something wrong, but I'm very new to all this and cannot figure it out by myself. Any help would be much appreciated.

    Thank you!

    The 6009 cannot measure the resistance as a multimeter unless you can prove that a current as the wizard by default source is set to. In itself, it can measure a voltage. Then, use a voltage divider.

  • measurement of current with usb-6009

    Hi, my name is hung and I am a student in electrical engineering... I'm doing a thesis that the project using Labview and acquisition of data NOR UBS-6009 to simulate the function generator, Oscilloscope, Digital Microsoft (DMM)... and now I'm simulating DMM. I managed to measure the voltage and resistance which i use voltage divider method, but I encountered a problem with the current measurement. The problem is the USB-6009 to measure use the current, it measures an incorrect value. I tried to use the current CQI 0-20mA Sample.vi example but it always measures an incorrect value. If NI USB-6009 supports for the measuring current? Is there a way to measure the currents using USB-6009? Please, help me. This thesis project is so important for me. Thank you.

    Hung,

    Since you are a student in electrical engineering, I'll show you how to know the answers to your questions.

    1. review the specifications for the USB-6009 case.  In particular look at the specifications of analog input.

    2. How would you measure current if you had only a voltmeter?  Use the same method with the USB-6009 case.  (Tip: apply the Ohm's law).

    General comment: when using any measuring instrument, always consider maximum permitted values at the entrances so that the instrument is not damaged

    and the measure is accurate.

    Let us know how you do.

    Lynn

  • Order of Python with USB-6009

    Hello

    I try to use the USB-6009 in Python 2.6 housing environment in Win7 64 bit system and I am facing problems with the following command.

    The following questions, I see the following error command

    1. DLL = windll. LoadLibrary("C:\\Windows\\System32\\nicaiu.dll")
      ...
      ... #command with return value! = 0
      error_str = c_char_p ("")
      b_size = c_uint (2048)
      ret_a = dll. DAQmxGetExtendedErrorInfo (error_str, b_size)

      After the last command python, I get the attached error message
      I'm doing something wrong?

    Thank you for the help,

    Hi Katerina

    You can try to replace "c_char_p" by "create_string_buffer." According to the Python reference library , "you should be careful, however, not not transmit (edit: c_char_p) functions expected of pointers to final memory.» If you need final memory blocks, types has a create_string_buffer() function that creates these in various ways. »

    from ctypes import *
    
    dll = windll.LoadLibrary("c:\\windows\\system32\\nicaiu.dll")
    error_str = create_string_buffer(2048) # try this instead of c_char_p("")
    b_size=c_uint(2048)
    task_handle = c_uint(0)
    error = dll.DAQmxStartTask(task_handle) #this will result in an error
    try:
        dll.DAQmxGetExtendedErrorInfo(error_str, b_size)
        print error_str.value
    except:
        print "oops"
    

    Let me know if it helps.

    Kind regards

    Sunil

  • HP 255 g4: problem with USB and SM Bus controller

    I have a problem with the (USB) Universal Serial Bus controller and SM Bus controller.
    System identifies them.


    I installed all the drivers for my noutbook of this site, but it does not work...
    Please, help me!

    I believe that these devices are based on the AMD chipset driver package... USB 3.0 and SMBus Controller:

    http://support.AMD.com/en-us/download/chipset?OS=Windows%2010%20-%2064

    Top package. @Paul_Tikkanen will know for sure.

  • Satellite C650 problem with USB ports

    Hello

    I have a problem with my laptop, with my USB ports.

    A few days ago, I plugged my mp3 to charge its battery. I did when system Windows began and after a few ports seconds has stopped working. They work for one to five minutes after starting my computer, but only after my laptop's turn off for a few hours at night for example.

    They work fine and all of a sudden we hear the sound of a disconnected device and usb ports turns off. I tried many solutions but nothing worked. I removed all the USB ports in Device Manager.

    I checked in the BIOS, but everything seems to be okay. I tried to disable the disconnection of usb ports to save energy, nothing. Tools that have been provided by Toshiba to check hardware see as usb ports work correctly. Only usbdview program sees as unknown device, I tried to uninstall it through this program but still nothing.

    You have an idea, what could happen? Or if there is no possibility to fix without service visit?
    I would appreciate your help.

    Hello

    Have you tested these ports USB plug a USB mouse or a USB keyboard?
    These devices work properly?

    I don t think you need a visit to the service.
    I think that it s just a software problem
    Given that the USB ports are controlled by the chipset, I would recommend reinstalling/updating the chipset driver

    The alternative is a bit drastic, I think about the recovery of the laptop...
    It might be possible that the registry has been confused upward or some 3rd party software preinstalled on the laptop could affect the USB ports.

    I remember that my USB ports do not work after installing iTunes.
    I had to reinstall the operating system once more to get the USB port work even more funny is that I installed iTunes once more and USB worked correctly

  • Satellite P300D-14F - problem with USB

    Hello

    I want to make a USB to boot, but the laptop does not recognize (I mean in the bios)

    For example, when I connect the external hard drive (1 TB, Hitachi HDT721010SLA360) I can see it in the Start Menu (http://s017.radikal.ru/i432/1202/20/b7b7edd221f9.jpg)

    But when I connect my USB drive (Transcend JF V30 / 4Gb, JetFlashTS4GJFV30) I have not even USB option in my Menu of Boot (http://i021.radikal.ru/1202/67/6bae3812f88c.jpg)

    Have problem in my USB?
    If so, could you please tell, what are the usb key properties must work properly, so that I could do the usb startup key.

    P.S.: on the first time 1 TB of HDD and USB connected photo (also connected SAMSUNG HD501LJ 500 GB), the second peak connected the USB _only_

    Hello

    To my knowledge, it there has not of special requirements to the USB flash key, a common USB should be recognized correctly as boot device.

    Of course, it might be possible that there is a problem with your USB key
    On the other hand, it might be possible that your USB drive is not formatted correctly.

    I think you need to format the Flash DRIVE to FAT32 standard and need to make it bootable.
    If this does not help, try another USB flash memory.

    Good luck

  • Problem with usb boot on Satellite A-50

    Hello
    I had a problem with a usb tip. When I insert a usb key, I can't start my computer by usb. I selected the option of a disk boot, but doesn't run. I have a "Satellite A-50-522. I have to update the bios?

    Greetings,

    Hello

    You can try to press F12 when the Toshiba screen! A small start menu appears. Choose USB - FDD and then it should work.

    Campino Bye

  • Satellite L870: Problem with USB to serial interface with FTDI chipset

    Hi all

    bought a L870 year last to run software amateur radio via USB to the serial interface.
    Interface uses the FTDI chipset.

    The problem I have is that the switch on the led on the interface flashes green to red several times to indicate that it works, but then must remain on green but task on every minute she goes through the same process again.

    All the controls on the drivers and the Manager of devices indicates that everything is ok. No problem with interface on computers laptops happens or advent.

    Is there anything on the Toshiba laurys usb ports every minute.

    Thanking you in advance for any ideas

    First of all, I must say that there are different models of L870 Satellite on the market supporting different hardware and software. Some are preinstalled with 8 and some Win with Win 7.

    In addition the L870 supports USB 2.0 and USB 3.0 standard.
    If you recommend to check the different USB ports and check if your software works correctly with the USB 3.0 standard.

  • Problems with USB 3.0

    Hello people!

    I'm here with a need for help to solve a problem that I recently got after reinstalling my windows 7.

    The problem is with USB 3.0 driver, which does not react to any device I plug on two of the ports, and they are not dead I checked that. I tried to re - install USB 3.0 drivers as well and downloaded from HP site for my model, the latest version has failed so I tried with the other older and did not work as well. Only my two USB 2.0 ports work.

    I don't know if there are any other versions or drivers that I could use, those for my model don't work for some reason, and this is the first time I did re-installation of windows for that.

    I would be very grateful if someone could help me solve this problem!

    The laptop model is HP Pavilion dv7 - 6113cl

    Kind regards

    Ed1Ross

    Hello

    Uninstall all the existing USB drivers and then try to install the drivers from this link:

    AMD Chipset drivers

    Restart and check.

  • Ideas for driver control of motors stepper with USB-6009

    I have a stepper motor driver that supports a digital input for the control signal.  Each rising edge on the driver entry corresponds to the movement of a single step.  I have two devices USB-6009.  Is it possible to generate a digital signal with the 6009 faster than 150 Hz?  I need produce variable frequency in the interval from 0 to 1 KHz.

    zaphead,

    The OID on your 6009 being timed sofware it comes out as fast as your computer all supports.  If a computer faster or less current will help things but you will get not the 1 kHz you need.  The best way to get this is to use another card that supports hardware timing DIO.

  • Problems with USB devices in Windows XP Mode on Windows 7 Pro

    I have a Palm Zire 21 that I use with ACT! Contact Manager to keep track of my appointments.  I was able to sync the Palm with my ACT database until this week. The device appears on the list of USB devices, but does not connect to Windows XP mode.

    I used this device in XP Mode since August without any problem.  Last week, I started having problems with the integration of XP features and had to uninstall and reinstall the integration features a few times.  I think I have a corrupted somewhere driver.

    Any help would be appreciated.

    No need to comment unless you have more insight.

    I solved the problem myself.  In XP mode, I went to the Device Manager and scroll down to USB controllers.  A virtualization USB bus drivers showed a problem.   I uninstalled this device and then managed to reinstall my Palm correctly after connecting it to the USB port, and then going back to the menu at the top of the XP USB mode screen and hit connect when I saw my camera.  The device connected in XP automatically and I was off to the races.

Maybe you are looking for