DI USB 6008 issue in Labview

Hi all

I did some simple laboratories with my new DAQ6008.

I am following the video tutorial "entry analog with digital alarm" on the following virtual demos tab

http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/14681

The problem is when I run the VI, which is the same as on the video, I get an error message, I have pasted below:

Error-200524 occurred in the DAQmx write (Digital 1-d 1Line Bool NChan 1Samp) .vi:2

Possible reasons:

Scripture cannot be performed because the number of data channels does not match number of channels in the task.

When writing, provide data for all channels in the task. You can also change the task so that it contains the same number of channels as the written data.

Number of channels of task: 1
Number of data channels: 10

Task name: _unnamedTask<268>

The only difference between what I do and the vid tutorial is that I have a USB6008 and the 6009 is used.

Any ideas what the problem may be?

Hi Marko,

The problem you encounter, it's that your DAQ assistant is set up at the exit of a digital line.  For this he needs a single Boolean value, true or false.

The error occurs because you are providing 10 numeric values and it cannot convert the value 10 in 1.

If you post your VI I can better advise you where the error appears.

Best regards

John

Tags: NI Hardware

Similar Questions

  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • MAX and Mac (to control on Labview, NI USB-6008)

    Hi, I would like to order my USB NI 6008 card in my Mac. I'm using Labview, but I'm a real beginner. I get my sensor on my USB card data and I can use them in Labview to control an electric trolley. This project is for my review: engenering school.

    So, on PC (Windows), it's ok, but on my mac, I do not find MAX. And if I understand, I need MAX to create the DAQ Assistant and a few other VI in Labview. However, I have yet install Base DASmx 3.4 for mac os.

    Could you help me please?

    I'm sorry for my English, it's so bad. I'm studying french and I'd rather post here because I found no answers in the french part of forums of NOR.

    See youi soon.

    Thank you

    Thomas L

    The USB-6008 camera is supported with DAQmx Base, Yes. You do not get MAX, but you can always control your USB-6008.

    Install LabVIEW 2010 and DAQmx Base 3.4and this should give you the DAQmx Base vis in LabVIEW palettes.

  • Get incremental counter/sound to work along side with action with usb-6008 with labview tia sal22

    Get incremental counter/sound to work along the coast with usb-6008 with labview tia sal22

    Hi all

    I can get this vi to work if they are distinct from the vi but I can't join them together

    Example of my error:

    If buffers are set to 0 the freq counter increment works, but no sound
    If the buffers are set to 1 the audio works fine but is not increment the Freq counter
    If the buffers are attached to more 1 clicks and pops are coming

    That's what I'm doing:
    (1) have the frequency of increment of my internal sound card to a certain level as .01hz a second until he gets to 20 000 hz

    (2) use my device usb-6008 daq, which is connected to the same machine to measure the voltage at the same time. (I am in a position very low voltages between 1-5volts)

    (3) output to a worksheet text file which will show you:

    time in seconds, frequency, voltage
    0,400.01,2

    1,400.02,2.5

    2,400.03,1

    I'm a bit confused about how connect the increment and the audio during the measurements with the usb-6008 housing on the same machine
    at the same time and in the same VI.

    Anyone have any ideas?  I'm using labview 8.5
    TIA sal22

    Ha ha you have been deceived by a dynamic thread. Insert a convert from Dynamic Data Express VI (Palette to own: Signal handling screw Express) between the daq read and build the array function. Then it won't work. Now the value in the dynamic data is only converted to a numeric value

  • USB-6008 LabVIEW 2011

    Hello

    I can't find any solution so that my usb usb-6008 interface works on LabVIEW 2011, DAQmx Wizard is missing and I can't find any comparable VI!

    Someone at - it an idea?

    Simon

    Have you installed the DAQmx driver after installing LabVIEW?

  • New to Labview, need help. USB-6008

    Hi there, let start by saying, I'm totally new to Labview.  I have experience of programming in C, C++, VB etc, but never in Labview.  I thought that Labview is not much of a difference, but I was very wrong.  I went and bought the acquisition of data USB-6008 and downloaded the trial labview to explore and I am totally stuck and have no idea how to proceed.  I can start over again and probably learn all the basics, but I don't want to take too much of my time.  in any case, here is a description of my project:

    Configuration: USB-6008 - to measure the voltage of a battery lithium ~3.6V

    Circuit printed with a switch either connects the battery resistance or not.  the switch can be turned on and off by a USB-6008 analog voltage output

    What I want to do in pseudo-code:

    If you click START,

    Take a read of DAQ and shop to chart and indicator of voltage 1

    If the voltage is > 3.6, then

    30 seconds

    a voltage data acquisition to turn on the switch and light load lights output

    read DAQ and update graphic and indicator of voltage 2 reading

    If it is DAQ< 3.5,="" status="" indicator="OFF," else="">

    30 seconds of the end loop

    If the last reading after 30 seconds of DAQ is > 3.5, the message 'pass' else a message "fail".

    on the other

    indicate a voltage lower than 3.6V and stop the program

    end if and stop the program.

    NOTE: the voltage indicator 1 show ONLY the first reading before the circuit switch is on.

    I didn't know that it is very difficult to program, because everything is very basic, but since I don't know Labview, I do not know how to proceed.  a front is attached.

    Thank you for your help.

    John

    Hello!

    To start, here are a few things.

    1. learning LabVIEW:

    www.NI.com/lv101

    This has all kinds of videos step by step based on LabVIEW and is a great resource just start... it's really great because you can click on a video about any topic that interests you. There are a set of tabs at the top that categorize videos.

    2 examples of DAQ. In LabVIEW go to the Help menu > examples of find... Then in the window that opens (this is called the Finder of the example) you can navigate to the material file Input and Output > DAQmx > Analog measures > voltage

    We have tons of DAQ examples, so this should at least allow you to read a voltage quickly.

    I hope this helps!

  • USB-6008 appears in Device Manager but not in MAX or Labview

    I use Windows 7 Ultimate 32-bit and you want to use a USB-6008 in LabVIEW 8.5.1. The device appears under data acquisition devices in the Windows Device Manager. The flashing on the device, but the device does not appear in the Explorer of Measurement & Automation 8.7.1. am I missing something?

    He doubts.

    First, check the easy things... to refresh the list of devices to MAX and see if it comes to that.  I'm guessing you've already tried this, but it never hurts to check.

    My bet is that it's a database corrupted Max.  This happens from time to time.  Usually when I see it, the 'Dev1' always appears in LabVIEW if you plop down constant DAQ hardware or control.

    There are tools and processes to erase and start over with a new database, but in my experience, the best way to resolve it is simply update or reinstall MAX.

  • USB 6008 - how to display the two position linear pot (mm) and output (volts) in LabVIEW?

    I have a USB-6008. I have a linear potentiometer attached to the USB DAQ. Now I can view the output voltage of pot in LabVIEW through the AI0 on USB DAQ channel. However, I would also like to be able to show the position of the stem of the linear potentiometer (mm) that generates this tension. can anyone tell how to proceed?

    Since there is no lag, just use wired the primitive multiply with a constant of 20 to one of its entries, thread the other entry to your reading the voltage. Wiring of multiply it to a digital display to show location output.

    -AK2DM

  • Chip exchanged on the issue of USB-6008

    I have a USB-6008 data acquisition that went wrong in a set-up.  The MCU was getting very hot while it is plugged (I had a ground problem that it fried).  I ordered a new microcontroller and succeeded him, now he does not become hot at all when it is plugged in but I need for the flash I think.  The argument of doing nothing, the indicator light is not flashing and the computer does not even recognize whether he has a connected device if he acknowledges.

    Has anyone here done a repair like this?

    Where can I get the software to Flash the chip and can be done on my site?

    Thank you all,

    Hi ChillyWilly,

    You should contact the Customer Service and seek to return the unit.  If it is within 30 days of the purchase, this should not be a problem and would be much easier to try to flash the device yourself.  You will need the serial number of the device when you call.  Hope this helps!

  • USB-6008 LABVIEW 8.2. SINGLE CHANNEL WITH DBL INPUT VOLTAGE OUTPUT COMPARISON

    I AM WRITING A PROGRAM THAT USES A SIMPLE USB-6008 ANALOG INPUT CHANNEL. I WANT TO READ CONTINUOUSLY THE VOLTAGE FOR 60 SECONDS. I WANT TO COMPARE A TENSION FOR THE PREVIOUS OF THIS SAME CHANNEL VOLTAGE, MAINLY FOR THE PERIOD OF TIME MAX VOLTAGE GIVEN, THEN GET A FINAL VOLTAGE READING. THE OUTPUT OF THE VI IS A DBL. I WANT ONLY TWO TENSIONS OF EXPORT TO EXCEL. TO SAVE TIME, I KNOW HOW TO EXPORT. CAN SOMEONE HELP ME WITH THIS ONE.

    VI needs an register shift related to the Max & Min function. The current value would be the entrance is and the entrance of x is the left shift register. The max value gets wired for the shift register to the right. Don't forget to initialize it. The output of the shift register is the max you would write and the value of the DAQmx Read out of the loop of wire will give you the last reading.

    Your waiting for 45 seconds makes no sense since you said that you wanted to read continuously. You also said that you wanted to read 60 seconds and all this logic is missing. A simple function of time elapsed, it's all you need.

  • Acquisition of data USB-6008 not detected in LabVIEW

    Hello

    So my USB-6008 DAQ hardware is not available when I do a new task DAQmx (or open the DAQ assistant).

    I found this link: http://digital.ni.com/public.nsf/allkb/179BC9B0266168288625722100738C22
    I did everything just said but LV still does not detect my USB-6008.

    As you can see on the image below it is detected by the solution of measurement and Automation Explorer. I don't know how to test with visa test Panel.

    After that, I tried to test with the diagnostic utility, and here it does not appear in the list.

    I downloaded the appropriate (several times) drivers but still nothing.

    Can someone help me with this?


  • LabVIEW think my NI USB-6008 has only analog inputs

    I am using an NI USB-6008 box to run a route of analog input and analog output.

    If I do a constant material DAQmx channel and out the finger tool and pull down... and it offers me 8 analog inputs on Dev1 and nothing else. I've nothing else connected to this computer, but the box USB-6008. A USB-6008 doesn't even have 8 analog input channels.

    I'm a bit confused.


  • USB-6008 how to move an executable file to another computer.

    Hello Forums NOR!  Please bear with me as I'm new to products OR as well as this forum.  Hope I have write in good advice.  I'm an electronics technician with over 30 years of experience in a variety of hardware and software that is trying to move an executable file from an old computer to Windows XP on a new computer Win 8.

    First of all, I just moved the file .exe itself.   When it is run, it produces an error dialog box: "Unable to locate the LabVIEW run-time engine" "this executable requires a 2011 version (or compatible) LabVIEW Run - Time Engine."

    Then I ran the installation disc driver supplied with the USB-6008 module.  Now, the executable will start but it does not seem to connect with the USB-6008, because it does not have the digital I/o.

    I can run NI MAX and see the USB module as well as test the analog and the digital I/o so I know the hardware works.

    I've been surfing on the knowledge base and found references to .dll & .vi type support files, but have no idea of which ones to get and where they might be.

    This is possible without having to recompile the exe file?  I have no access to the source files.

    Thank you!


  • USB-6008, USB-6501 and Embarcadero C++

    Hello NEITHER and NOR users,.

    I spent a considerable amount of money several years ago on a number of devices USB-6008 and USB-6501 for a class that I teach on interfacing the simulations with realworld sensors and actuators.  Write us code using Embarcadero C ++ Builder and we wrote the code to interface with the jury of EZIO AD / DA via RS - 232.  The EZIO is much too slow and limited.  Given advertising NOR, we bought these boards, but after several attempts to get some information OR on the way to talk to these devices directly via C++, we have yet no valid response.  No, I don't want to LabView or any additional expenses.  I just want to talk to them directly.

    OR: are you ready to help with this, or not?  If this is not the case, although wanting to refund these purchases.  Announce as being accessible from C++, but you are not willing to provide any help of substance to this day...

    Yes, I am self-taught, write code, and old-school enough to feel that I have a right to know how to talk to all the devices I buy.  I confess my ignorance, but I'm sick and tired of secret corporate and misleading advertising.

    Can someone please provide me with enough example of code to start.  That's what we wrote for the EZIO:

    http://www.Duke.edu/Web/ISIS/Gessler/Borland/RealWorld-Ezio.htm

    We would like to start writing similar code for these materials of NEITHER.  If possible, we can buy more.  If this is not the case, these cards are useless.

    Kind regards

    Nick

    Nicholas Gessler, PhD.

    Nick,

    When you have installed the DAQmx drivers to communicate with the 6008 and 6501, I assume you also installed programming examples? It is here that they are on my XP machine: C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C.  I don't think that Embarcadero C++ Builder is one of the languages supported, so you'll need to twist your compiler, but it should give you a good start.

    Tom

  • Acquisition of data NOR usb 6008: a strange problem: mxwcgoutrunsilent.VI is not respected

    Expensive OR

    Today, I bought an acquisition of data NOR usb 6008

    and I'm using labview in 2011
    the problem is appear when after I end the process of configuration of the i/o data acquisition Wizard

    the following image shows the mxwcgoutrunsilent.VI is ignored and an error has occurred

    someone can help provide this VI for me

    What is the complete labview modules can also so I could do a real time data acquisition

    Best regards

    mangood,

    You received an error code? If so, what is it? What version of NOR-DAQmx driver you have installed? It seems your driver potentially incorrectly installed, and you may need to reinstall the driver.

    Here is the link to the latest version of the NOR-DAQmx driver: http://www.ni.com/download/ni-daqmx-9.8/4297/en/

Maybe you are looking for

  • Layout error for Sony Picture Package even after the installation of Adobe Flash Player.

    When trying to open Sony Picture Package-message says need to install Macromedia Flash Player.  After you download Adobe Flash Player - always get the same message.

  • disabled automatic update

    My shield of security in the taskbar indicates the automatic update is disabled.  When I try to solve the problem, it said I have to go to systen and click auto update, and turn it on.  When I go to automatic update it is said that it is on.  I hit i

  • Windows Movie Maker has frozen, any solution?

    I was working to make a video with Windows Movie Maker. Took me a few hours to make. Then when I finished I clicked on save movie file. The window froze. I can still use other windows but not this one. Is there a way to unfreeze it without losing my

  • Hotmail or Live does not work with our Web site.

    On our website we have provisions for a person to click on a link to ask a question to the Lister or send page to a friend.  It works it the receiver has an AOL, Yahoo or based Web site address.  However, it will not work if they have a Hotmail or Li

  • BlackBerry Smartphones Telenav GPS Navigator

    Hi guys my first post so if I miss info ask for... I have a bold 9700 on T Mobile UK V5.0.0.423 (Platform 5.1.0.116) My probem is I want to be able to use my devices as a sat nav so and T Mobile gave me with telenav GPS Navigator, which, from what I'