USB-6001 and LabVIEW 6.1

I'm working on a project with LabVIEW 6.1.

They just bought a NI USB-6001.

I installed the driver NOR-DAQmx 9.9 and the device comes in OR-MAX and I am able to use the Test panels to read and put pins.

In LabVIEW 6.1, the device does not appear.

What should I do to be able to program this device with LabVIEW 6.1?

You need tasks in order to use the DAQmx Read and Write DAQmx.  You can create tasks in MAX or do it programmatically with the available in the palette DAQmx screws.

Tags: NI Hardware

Similar Questions

  • USB-6001 and linux

    Hi all

    I have a NI USB-6001 DAQ device that I'm doing work on linux. My distro is opensuse 13.1, and I am using nor-daqmx base 14 to talk to the device. After much bother that I have finally made was get the drivers installed, however I am not having any chance to communicate with the device. The output of dmesg shows that the device is connected and recognized, however the output of lsdaq does not list the device at all as you can see below.
    For the device user's guide suggests that it is supported by NEITHER-DAQmx 9.9 and later it is true that the doc is written from the point of view centered on mswindows, so I
    hope that this applies also for linux.

    If someone managed to get this device working under linux? If not, can anyone think why it is not detected?

    Thanks for any help

    > dmesg
    ...
    [1,605963] usb 3-14: new USB full speed number 4 from the device using xhci_hcd
    [1,617849] usb 3-14: new USB drive found, idVendor = 3923, idProduct = 76bf
    [1,617851] usb 3-14: new USB device strings: Mfr = 1, product = 2, SerialNumber = 3
    [1,617852] usb 3-14: product: USB-6001
    [1,617853] usb 3-14: manufacturer: National Instruments
    ...

    > lsdaq
    --------------------------------
    Detect of National Instruments DAQ devices
    Find the following materials:
    --------------------------------

    > uname - r
    3.11.10 - 25-Desktop

    > lsmod | grep ^ or
    663726 1 nimxdfk
    322143 1 nipxirmk
    441753 2 nipxirmk nidimk
    3 524901 nimxdfk nimdbgk, nipxirmk
    4 141747 nimxdfk niorbk, nipxirmk, nidimk, nimdbgk
    nipalk 1193476 8 NiViPciK, nimxdfk, nipxirmk, nidimk, nimdbgk, niorbk
    Nation 113161 6 nimxdfk, nipxirmk, nidimk, nimdbgk, niorbk, nipalk

    It is not listed in the Readme as being supported.

  • take the digital output USB-6001 always high or low in c

    Hi all

    I am new to the NI DAQ interface. I have a USB-6001 and I am trying to use this device to control some flowchart in C. What I want to do is:

    * set digital output lines with high and low intensity and change their status as needed (in C).

    I tested the device NEITHER Max--> Test panels and found that the device is capable to do that. Then I try to do in C. I have checked hace examples and function I use is one called "DAQmxWriteDigitalU32". I have problem in the understanding of its input parameters. I tried something with my own knowledge, but it does not work as I expected. Here is a test I did:

    data uInt32 = 1;

    Int32 wrote;

    TaskHandle taskHandle = 0;

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/line7", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    taskHandle = 0;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/$line0", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    I just want to set ' Dev1/port0/line7' and ' Dev1/port0/$line0"at a high level, but only ' Dev1/port0/$line0' answer me. The second parameter of the DAQmxWriteDigitalU32 function is numSampsPerChan. If I replace (currently 1) with a higher value, such as 100, I see that "Dev1/port0/line7" sends a number of 1 output, then back to 0. So I guess that the problem is just that I understand not all parameters for the DAQmxWriteDigitalU32 function. Is someone can you please tell me how I can set up a line of digital output 1 or 0?

    Thank you!

    Hongkun

    Hello

    I finally find a way to do it! The feature works very well, and my problem was not set the data value to write correctly. It seems that if I want to write a 1 to the port0/line1, I put "data = 2 ^ 1" rather than "data = 1", because by default it is the second bit of the port.» Similarly, "data = 2 ^ 7 ' high level to port0/line7. I find that this setting is surprising when you want to control an individual line. It seems more reasonable when you control the whole port. In any case, is to solve the problem!

    Thanks anyway!

    Hongkun

  • ContGenVoltageWfm_ExtClk-USB-6001

    Hi all

    I just got USB-6001 and tried to go although the demo examples. The question is about the "ContGenVoltageWfm_ExtClk". To after my understanding, there should be no signal AO while no pulse train provided the sample clock source defined (/ PFI0). However, AO signal is always generated as if it is running an internal integrated clock. I use Examples\DotNET4.5.1. Support for USB-6001 external clock example? Any help will be appreciated. Thank you.

    Hello

    The Specification 6001 OR don't mention external trigger. To compare with another product, here's the Specifications NI USB-6211. On page 9, there is an external digital triggersection. for the analog output function, PFI can be used as Trigger Start, relaxing break, sample clock or time Base clock sample.

    This let me think that the external clock for analog output is not supported by NI 6001. Check if for example there are a list of supported hardware.

    Best regards

  • What is the first version of labview can be used with a USB-6001

    What is the first version of Labview, which can be used with a USB-6001?

    According to the user's Guide, you must DAQmx 9.9 or later version.  The oldest version of support DAQmx 9.9 is LabVIEW 2010 (DAQmx and LabVIEW version compatibility).

  • More and more common digital output on USB-6001 with ULN2003A

    I am ordering an engine step by step and the current required on the digital inputs of the stepper driver is close to 11mA (at 5V).  My USB-6001 is not capable of producing this high current.  I've seen people using the ULN2003A to control relay and it looks like it should work for my application.  It will work and then I use the 5V output to go to the ULN2003A because it can produce for a 150mA.  To associate the ULN2003A I use the 5V output and put the positive on the COM?

    As you drew it should be fine. Do not connect data acquisition + 5 V because the controller inputs are opto-isolated. That circuit is also compatible with the 11 current requirement my mentioned in your first post.

    USB-6001 digital lines are software timed so your maximum stage rates will be very high.

    Lynn

  • Simultaneous to the AO and HAVE with the acquisition of data NOR USB 6001/MATLAB Toolbox

    I am very new to data acquisition and bought a NI USB 6001 to start to learn. Because I can get free MATLAB through my University, I use Matlab data acquisition Toolkit as the data acquisition software.

    My problem is that I get the following error message when I try to generate an AO (an LED voltage) signal and measure a signal I (voltage of a battery of 9V) simultaneously.

    ATTENTION: This change is caused in the dump output data queue.  Use queueOutputData for the queue data before the start of the object.
    Hardware does not support the specified connection. Check the user manual of the device for the valid device routes and pinout.

    However to measure IA or by generating the AO each by themselves works perfectly well.

    My Matlab script looks like this:

    daq.getDevices;

    s = DAQ.createSession ('or');

    s.Rate = 1000;

    s.DurationInSeconds = 10;

    addAnalogInputChannel (s, 'Dev1', 'ai0', 'Voltage');

    addAnalogOutputChannel (s, 'Dev1', 'ao0', 'Voltage');

    aoVoltage = 1.8 + 0.1 * sin (linspace (0, 2 * pi, 10000))';

    queueOutputData (s, aoVoltage);

    s

    startBackground (s);

    Note that adding the channels HAVE and AO at the session also works, however I get the error mentioned at the start of the session. This is a limitation of my data acquisition hardware (I don't see something like that mentioned in the manual) or do I have to modify the script?

    The pins connected for the LED are AO0 (+) and AO GND (-).

    The pins connected to the battery are AI0 (+) and (-) AI4. (The problem is still there if I use the reference to the ground for AI)

    6001 cannot make simultaneous tasks.  Very standard limitation of the low-end hardware... just don't have on board computing resources to handle such things.  Even the 621 x boards have only limited multitasking abilities.

    Can intensify to a high range data acquisition ($$$) or buy a 2nd a low end and synchronize tasks in software (not as precise calendar).  I've done two approaches, one is "best" really depends on demand... If low-cost or high-performance is a priority.

  • entry digital usb 6001 of nor

    I am trying to simulate a signal digital 72Hz to an external circuit. Attached below is the pattern that I use. I had to initially waveform graph to view the signal, but data types are different, so I ended up using a waveform digital chart vi. Once I run the simulation, nothing in the graph. Help, please. I use a hardware DAQ USB 6001.

    BTW, I tried to create a task in the DAQ Assistant, but succeeds only when the acquisition mode has been set to 1 sample (on request). When you do what I wanted, which was a continuous sampling, an error has occurred.

    Error-200077

    Requested value is not a vaalue supported for this property. The value of the property may be invalid because it is in conflict with another property.

    Property: SampTimingType

    Requested value: sample clock

    Possible values: on request

    Basically, what I want is to see the place in the graph of the signal waveform and perform a signal processing.

    Too bad. I already solved the problem. I used to analog rather than digital input

  • GPIB-USB-HS and USB-8451 communication issues - appearing only in VISA

    Hello

    I recently started a new job and have had communication problems between my adapter GPIB-USB-HS, my VISA or MAX-Labview and USB-8451 I2C/SPI interface.  I installed LabView to 32 bits, OR-488. 2, the driver for the 8451 on my windows desktop and VISA 16.0 7.

    In the windows Device Manager, the 8451 appears as a device USB of NI-VISA and Gbspecifications FOR-USB-HS presents itself as a GPIB Interface of NOR.  Two of these instruments are recognized NI Max so but communication Gbspecifications FOR add-in adapter (and connected instruments) fails and he can't find the instruments and the self-test fails with a hardware error unknown gpib (-37052).  The watch also neither device VISA Interactive Control.

    The ready light is lit on the GPIB-USB adapter and the 8451 flashes green as if nothing is wrong at the end.  I uninstalled all the software of NOR and reinstalled, and I run MAX as an administrator.  Is there possibly some computer settings I could neglect or need to change to open a communication?  Any other ideas on why I can't communicate with devices?

    Thank you!

    Trey

    This is a device-Lock software that my it was preinstalled on the computer blocks the USB port.  SHE has added features like confidence, and now it works.

  • for control voltage can we use usb-6001?

    where can I find the usb-6001 software and driver?

    You can certainly use a 6001 to control the tension... in line with the specifications of the device.

    Driver belongs to DAQmx, available here: http://www.ni.com/download/ni-daqmx-14.1/4953/en/

  • Voltage of e/s-USB-6001

    Hello world

    The USB-6001 reference manual says on page 9 that I/O voltage is 5V.

    I think use to test a PCB where the microcontroller is powered from 3.3Vdc so the question is, first, is it possible to connect the I/O entrance to 3v3 rather 5Vdc os?

    Thank you and best regards

    The 5 v PIN is an output. The 6001 is powered by the USB interface.

  • Level of measurement OR-USB-6001 nosie

    I use a NOR-USB-6001 to measure voltages @ 5V level.

    I am trying to use an entry to measure the noise level on a 5V signal. The ripple is about 200 mV ACC (when you look at a scope in coupling AC mode). I can't find a framework in the DAQmx VI to set to measure with a higher resolution (4.9V - 5.1V)

    to be able to see this ripple.

    You could try to configure the line HAVE as a differential input (AI0/AI4).  Power of your signal to AI0 entry and ground of your signal to a DGND.  Feed in the + 5V on the USB-6001 to AI4.

  • 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

  • USB-6501 and opto-coupler SFH615A

    Hello

    I'm driving an opto-coupler (Siemens SFH615A - spec link attached) using the USB-6501. I am really a beginner and I am looking

    help on how I can connect it. I have tried a few options already but no luck.

    http://docs-Europe.Electrocomponents.com/WebDocs/009C/0900766b8009c194.PDF

    I use a Servo-Drive in a project, a motor drive. Unfortuantely USB-6501 turns out logically lines high on the servo-controller startup is

    receipt of a signal. I hope I can pass the INHIBITION of the servo drive line, through the opto-Coupler, so when you start 6501 will cause the optocoupler

    circuit close to inauguration of the line inhibit preventing displacement engine. The labview program will make the logic of the bass line to allow the engine to move.

    Looking at the manual of the USB-6501 and previous questions, there are 2 ways to do this, but working on resistance, values etc. required is

    still a bit beyond me, and unfortunately I'm a bit stuck for the moment.

    Any help would be greatly appreciated, thank you.

    OK got it works, I hope it will be useful for others.

    My problem, I think, have no idea really, is the impedance of the I/O device. Despite everything, I used a buffer of gain of the unit with the help of the

    Intersil ICL7611 powered by the + 5V line with the line of digital output connected the + IN the axis of the ICL7611. On the output, I have a

    Resistance 120 ohm before the opto SFH615A. Opto is open beginning 6501 and high but closed low logic logic. Happy days until the

    the next problem happens

  • Mcc usb 1208FS for labview 10.0 connection problems

    I have version 10.0 of Labview installed on windows XP computer. I want to connect MCC USB 1208FS for Labview. Not able to see the device MCC in device of measurement and Automation Explorer interface. It appears? Please let me know the steps to access the device of the MCC in Labview.

    I can see the MCC card detected in the software InstalCal of MCC supported. I installed the latest version of the CMC the CMC site software.

    As far as I know, you will not be able to see physical computer as in MAX.

    From the file of help from MAX: "Measurement & Automation explore (MAX) allows to access your National
    Instruments of devices and systems. "that is material MCC is not a feature of National Instruments.

    Why not stick with the InstaCal software and the MCC screws provided?

    Ian

Maybe you are looking for