The USB-6009 reading signals


I use 6009 USB to read the signals of the PMT and other equipment for experiments and I have a few questions:

1. is it possible to read a signal with DAQ assist? I looked around forums and have not seen any relevant element.

2. it is probably true, but I have not yet checked. Is it possible to read the two signals in the same loop (for example, AI0 & AI2 in awhile put in loop)?

I would be grateful if you point me to the right direction.

Thank you



I should probably mention that I want to read the signals with using DAQ hardware help because of the assumption that the DAQ Assistant is slower than a direct measure.


HEY Fan, Ravens

Nevermind, I figured it out... Well the first step of it at least :-).

Thank you once again,


Tags: NI Software

Similar Questions

  • How to configure the PFI0 terminal on the USB-6009 case as came event counter

    I'm watching the 8 inputs on the USB-6009 case and when fires Terminal PFI0 start saving the data.

    Y at - it and why to read the 8 inputs while monitoring the PFI0 terminal? I appreciate any help!

    Hi yacs1,

    You can certainly do.  I assume that you already have your 8 entries read correctly.  Everything you have to do is now to put a statement button in your loop that is controlled by your pfi0 line.  If this line is high, then save the data, if it's low, then only display data of your control.  If you need help reading the pfi line, open finder example under help > find examples.  Then go to the material input and output, reading Dig channel DAQmx, numerical measures.  If you need help logging data, go in Fundamentals, file input and output, and then depending on what type of file you want to write to, find the appropriate example (IE write into text file).

    Let us know if you need more assistance,


    Technical sales engineer

  • What is the MTBF for the USB-6009 case

    What is the average time between failures (MTBF) for the USB-6009 case?


    Unfortunately, there is no available for the USB-6009 case MTBF.  In order to retrieve this information, there is a cost for our R & D department.  If you need this number, please contact your local representative OR or open a service request to

    I apologize for the inconvenience.

  • Memory card not seen by Windows XP computer using the USB card reader portable

    I use XP SP2 and have recently had a problem where my laptop does not recognize a card of memory a camera when the USB card reader is connected. It automatically launch an Adobe image management application, but I think that the operating system would still see the USB card reader.

    Hello BSW58,

    Thank you for your message.  We will try to take a look at your AutoPlay settings.

    Plug your camera card.
    Conclusion Adobe once it opened.
    Click 'Start' > click 'my computer '.
    Right click on your card > select ' Autoplay > Adobe is listed as default application?  If so, you can change it here.

    Please let us know if it did or did not help to solve your problem.

    Soon Jason Microsoft Support Engineer answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Oscilloscope for the acquisition of data from the usb-6009 or - example of temporal division for 5 seconds, 10 seconds

    Hey Hey everyone

    I was looking for an example for two-channel oscilloscope virtual using e/s all-in-one of the 14 bits of NI DAQ USB 6009. I tried to research for example BOF time division or s/div for 1 second, 5 seconds, 10 seconds.  but was shocked to find that there is no reference for it. The range of oscilloscoper virtual

    Minimum - 10 micro s / div maximum -10milli second div but there is no example for 1 second / div or 5 seconds / div...  If anyone can guide me. I'm new to labview environment.

    This is the oscilloscope two sample obtained from google search. is there material limitations. ?

    I'm working on continuous 4-channel data acquisition data acquisition using niusb 6009

    The sampling frequency is sufficient for any desired s/div. The sample rate is 12 ksamples / s per channel, so if that meets the Nyquist criteria for the input signal, you can capture it. The number of samples has no effect on that with the exception of the amount of the signal you acquire. Your chart is not stable, if you do not trigger the acquisition. Even as real significance, therefore your emulation seems actually successful.

  • Configuration of the digital output in the USB-6009

    I have a card for the acquisition of data USB 6009. It seems that him when DAQ card is turned on, it is always default to digital output of 'High' or 'floating '. I want to default to 'low '. Is there some setting I want to 'program' the hardware DAQ to have all the outputs low when it is powered on the value? Right now I have manually enter MAX and adjust the level 'low '. Thank you very much for your help.


    Yes, it's low of 820 ohms. Unfortunately, the way in which the system is built, it is the only choice you have without having to build external circuits such as SnowMule suggested.


    Thanks for pointing the USB-6000. Finally a real, if limited, the DAQ hardware.  Nevermind, he was only 4 DIO lines.


  • Output analog, the USB-6009 case - can I use DAQmxWriteAnalogScalarF64?

    I just got a NI USB-6009 and I try to use the outputs analog simple.

    I'm running on a Mac, so I'll try to use the API OR-DAQmx Base 3.2 C (downloaded from here:  This is the most recent version of NOR-DAQmxBase, I could find.

    I try to do continuous analog output on the 6009, which does not have a built-in clock.   I was hoping to do the sync software and just new output values when I want to.

    I can't get an output of database to work.  Other messages and the example of Windows files, (e.g., National Instruments/NOR-DAQmx Base/examples/ao/MultVoltUpates-SWTimed.c) it seems that the best thing to do would be to use the DAQmxWriteAnalogScalarF64 function.

    However, this is not in the Mac version of the C API of NIDAQmxBase.  There is actually an entry for this in the NIDAQmxBase.h file, but it is commented out.  Anyone know why?  Is it possible to use this function for the analog output on request on Mac?

    Thank you.


    I have NEITHER-DAQmx Base installed 3.2 on a 10.4.11 system.  One of the examples files 'genVoltage.c' calls DAQmxBaseWriteAnalogF64.  I was able to compile and run this example with a USB-6009.

    The DAQmxBaseWriteAnalogF64 function would work for you?

    My guess is that, since you can write a scalar value with DAQmxBaseWriteAnalogF64, DAQmxBaseWriteAnalogScalarF64 becomes superfluous.  The example provided with the installation shows how to write a unique value (i.e. scalar.).  I pasted the code of OR below.

    int main (int argc, char * argv [])


    Task settings

    Int32 error = 0;

    TaskHandle taskHandle = 0;

    char errBuff [2048] = {'\0'};

    Channel settings

    Char [] = "Dev1/ao0" chan

    float64 min = 0.0;

    float64 max = 5.0;

    Sync settings

    uInt64 samplesPerChan = 1;

    Writing data parameters

    float64 data = 3.25;

    pointsWritten of Int32;

    float64 timeout = 10.0;

    DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));

    DAQmxErrChk (DAQmxBaseCreateAOVoltageChan(taskHandle,chan,"",min,max,DAQmx_Val_Volts,));

    DAQmxErrChk (DAQmxBaseStartTask (taskHandle));

    DAQmxErrChk (DAQmxBaseWriteAnalogF64(taskHandle,samplesPerChan,0,timeout,DAQmx_Val_GroupByChannel,&data,&pointsWritten,));


    If (DAQmxFailed (error))

    DAQmxBaseGetExtendedErrorInfo (errBuff, 2048);

    If (taskHandle! = 0) {}

    DAQmxBaseStopTask (taskHandle);

    DAQmxBaseClearTask (taskHandle);


    If (DAQmxFailed (error))

    printf ("error in DAQmxBase: %s\n",errBuff); ")

    return 0;


    Hope this helps!

  • Can the USB-6210 output signal square 10 kHz?

    I scoured the internet/forums to find out the maximum data rate for a USB-6210, but nothing helped.  I know that the device can handle 250 kech. / s, but this does not appear to be linked to output speed.

    By experimentation, I estimated the maximum rate 2500 kbps, but I fear that this figure may be inaccurate because I don't really know what I'm doing.

    I would like to know:
    (a) is the USB-6210 is able to produce a square wave of 10 kHz?

    (b) if not, is there a USB DAQ, which is?


    Emrys Maier

    University of Texas at Arlington Research Institute

    Research Assistant

    Let's see here.  No analog outputs.  Only software timed DIO, so it does not work.  But there are 2 meters which should be able to output a square wave at the speed you need.  I have not done it myself, but if you use the finder to the example and looking for something like 'pulse train' or 'exit meter', you should find some good examples of how to do it.

  • IM using usb-6009 input signal acquisition

    IM acquirng a domain controller of the signal in the analog input (CSR), a volt of entry in 1.9 ports V is read on the (ai0) port of entry when I use a multimeter to read the value and at the same time I used an indicator to show the data read in the port of entry in my code, the led will turn to 2.5 sometimes 4V... If any body could help me this please answer me...

    I have another doubt too, I read a document in which they mentioned everything using the CSR that the positive end of the source must be connected to the analog input channel and the negative end to the ground in the acquisition of data... but its im using a dc signal I don't have how to connect and what to do...

    Hi Lisette,

    I Don t know what could happen. However, this could be a wiring problem.

    First of all, if you read this signal I'll recommend over the analog GND with your digital GND. You also this thread from the mass of the signal.

    Another thing, you might be able to do is to measure in differential mode, you can connect your 6009 NOR as the multimeter.

    Here's a tutorial that may be useful for you:

    Here are also a few KBs talks about what concerns you. Take a look to see if something, it might help.

    Finally, don't forget to use the Op Amp in follower configuration to avoid damaging your 6009.

    I wish you success!

  • the usb disk read error

    I have problems reading from usb drive I use following

    path = "file:///E:/ChoferesRecreo";

    You can only read SD card or a card internal inside the device, or simulated in the Simulator.

    To run the SD card simulated in a directory on your PC, use the menu to "Simulate" (part of Windows Menu, no menu BB) on your Simulator.  Note that previous simulators were not able to use directories, according to me, which came with simulators for 4.6 and above.

  • temperature sensor with the acquisition of data usb-6009


    I want to use a sensor with usb-6009 to save the variation of body temperature about 15 minutes and then use these data in labview.

    If you please you can advise me with the best low-cost use and the way/circuit sensor connect it to the usb-6009.

    Hi ba7soun,

    If you can use with USB-6009 LM35 depends on the range of output voltage of the sensor. I understand that it requires a 5V supply with respect to the ground, which you can provide to the USB-6009 (more than 200 my should not come from the USB-6009).

    The maximum range of the USB-6009 is - 10V to + 10V, while the minimum range is - 1V to + 1V, also probably the output signal of the LM35 will be in this range. What you need to do is to compare the full range of the output signal with the range of the DAQ divided by 2exp (14) (because it is a 14 bit ADC) and ensure that the first is much more than the latter.

    Kind regards

    Condette Dhruv.

  • Why is the selection of the mode disabled in max for NIDAQ-USB-6009?

    I try to use NOR-USB-6009 AO to generate the sinusoidal signal.

    (1) I want to use MAX, but the selection of the mode and frequency are all disabled in the "Analog output" section

    (2) I find a VB example to generate the sine wave, but I received an error message.

    I want to know if the OR-6009 function support limited or not...?

    The attachment includes the screenshot.

    Thank you very much!



    Yes. Timed software means that the appliance has no internal clock or the buffer. You call the AO write with data point. Then you call AO write later with another data point. Repeat until cooked. This means that the maximum rate of update of the AO is approximately 100 hertz or a little faster. It also means that there is a lot of jitter of synchronization due to latencies of the OS at speeds like that.

    Think about AO on the USB-6009 case as a parameter Variant sometimes of continuous tension for your system.


  • How to measure the digital output of the linear actuator on USB-6009?


    I am a new user of Labview and need help to measure a digital input signal.

    I have an actuator Bimba Original line electric with a motor continuous integrated with encoder, drive and the controller. The drive has a programmable digital output that I put as a tachometer output that emits pulses of square wave 100 per turn of the engine. I put the engine to make a total of 56 rev in 22 dry. I want to measure the speed of motor rotation labview real-time and synchronize it with a few other analog input signals. I wired the actuator for the USB-6009 case as shown below.

    I opened the test i/o digital USB-6009 Panel and fix all the lines of port 0 as inputs. However, when I click on start and run the actuator, p0.0 led flashes, as indicated below.

    Shouldn't the led blink in response to revolutions of engines?

    I want basically to collect the drive pulse signals and convert them in rpm on labview.

    ahsan2 wrote:

    I have it wired correctly?

    It would help if you do not attach the HIGH signal.  Remove the + 5V in the circuit.

  • USB-6009 slow output signals using SignalExpress - error 200077

    We have a Council of USB-6009 and Signal Express version 3.5.0

    We want to generate low-frequency, analog and digital outputs to simulate some slow movement process.

    We have created the signals and their generated as output, put when we RUN the project, we get error 200077, which seems to indicate that we must use On Demand distribution of signals.

    If we choose On Demand, then the generate DAQmx says we have a missing entry.

    So, what method should be used with the slow USB-6009 to generate box (.01Hz and slower) analog and digital outputs?

    These are 2 of the projects, we tried - using On Demand, N samples, continuous, internal, and external triggering etc..

    Thanks adavance for your help...

    Welcome to the forums of Steve,

    I have good news for you.  I played a bit with the sweep and actually got a code facing up to generate a slow signal.  I went and tested it with the 6009 and he was able to run without any errors.  I joined here, but if you have to open (or anyone else in the future), here are some screenshots of how it works.  If this works, feel free to make the forum as resolved while others can locate a solution a little easier in the future.

    Scan Configuration:

    DAQmx Config:

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.


    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

Maybe you are looking for