Hello world...

I am a student and I started using labview. Please, could someone help me with a problem?

I runs tests in the load waveforms and discharging of a capacitor, and I want to stay, collecting data for a week without interruption.

The block diagram doesn´t measure both inputs at the same time. What I am doing wrong in the block diagram?


You do not have an error out indicator c, you do not see the reserved resource error. You must use the task unique s with multiple channels. Use Dev1\ai0:1 to acquire two channels. This is a very common mistake.

Tags: NI Hardware

Similar Questions

  • Default settings for digital lines? USB-6009

    Hi all

    I use the digital lines on my USB-6009 to control normally open SSRs.  When I turn on the system, I would like to have the digital lines on the USB-6009 case to automatically configure themselves to be output digital lines put in position "Low", so I don't spend on my SSRs until I gave the command.  Is there a way to do this?

    Thank you.

    Cannot set default on 600 x Renault States, unfortunately.

    Do a genius on the hardware side, knowing the lines are pulled high on the acquisition of data is initialized. and if certain combinations of outputs produced a dangerous situation, you must stop to happen in hardware.  Good practice to do so anyway.

    Another option is to use an analog output, those can pump a little more power than otherwise to 1V, and do what is usually not sufficient to turn of SSRs.

  • Is it possible to install a usb-6009 Dasylab box?

    I need to install a usb-6009 case in Dasylab, but Dasylab not recogise daqmx devices, or what it looks like.

    MAX, I see I have traditional NI DAQ installed (7.4.2f3), but the usb devices are listed as daqmx devices.

    Is there a a way to deceive Dasylab seeing my device?

    I usually work in Labview, but now I need to replicate a measure of a colleague from Ethiopia and Dasylab is confusing at first.

    Wouldn't be easier to use a pci card (we pci 6220 available)?

    Max version4.3.0f0

    8.6.1f0 DAQmx

    traditional OR daq 7.4.2f3

    DASYLab 8.00.00 since 2004, old, I know)

    LabVIEW 8.2

    If you create a task OR-DAQmx with the device, DASYLab should see it.

    There is a download for the driver OR DAQmx for DASYLab 8.00.04 to

    We can only provide active support for current versions of DASYLab (V11 and V10), therefore, it is not much of help available.

  • Simulate signals wired to the DAQ assistant for USB-6009 device


    I'm trying to send a signal to the DAQ Assistant Express VI.  I watched the movie "Generating a Signal" on the Web site of NOR ( and I have my Signal simulate connected directly on the DAQ Assistant, as shown in this film.  In my case, the DAQ Assistant sends the signal to a device USB-6009.

    However, I received this message:

    Error-200077 occurred to the DAQ Assistant
    Possible reasons:

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

    Property: SampTimingType
    asked the value: Sample clock
    You select: On-demand

    If I select 'On Demand' in my DAQ assistant and run the vi everything works beautifully.  However, I need my DAQ assistant to be configured to generate a waveform AC continuous, not output a single alternating current rippling.

    What happens here?  I did not have this problem before on other devices of NOR. I am using LABView 2010.

    Please answer.

    Thank you.

    double post

  • OR USB-6009 and Tek TDS2024C comparesment

    My apologies if this topic was already discussed, but I searched through the forum and manuals and can't find anything.

    I have a problem with measurements in parallel with TDS2024C NI USB-6009 and Tek.

    I measured the noise high frequency on 10 s window.

    I used the data logger with a frequency of 40 kHz connection in parallel with TDS2024C (which reached 250 Hz on 10s window) and got very different results.

    On the attachment figure, first signal comes from screenshot of scope data and the second of the NI USB-6009 islogged.

    Can someone explain to me why are these so different results?

    Different sampling frequencies could easily explain it.  Try to run the USB-6009 case at the same rate as the scope and see what you get.  I also think that the TDS2024C has fewer bits in the ADC, which could also cause differences.

  • With the help of MAX to configure digital input levels on a USB-6009


    I use a USB-6009 box in a Windows environment. MAX allows me to configure the 8 bits in the port 0 as inputs or outputs. However, when I put the bits for all entries, their default level is high, and the "ALL LOW" button is grayed out. Is there a way I can turn this button to set the bits all low entry and therefore be configured to read a + 5V input pulse?


    Geoff Hammond

    When you set up the pins as inputs, you can read 0 or 5 volts. It makes no sense to set then high or low. No PIN disconnected feel of course a logic 1 because of pull-ups on the device.

  • Current output digital USB-6009

    Hi, I'm trying to increase the voltage output digital device USB-6009. I read a few topics on the use of a relay, but I couldn't get it.

    I was thinking of using power 5V on the map because there current 200mA on it, but when I use it with open-collector output, it cannot change the relay. When I measure the current between

    5V and ground: 200 ma,

    5V output, I read a value around 30-40 my.

    Why can I not use this 200mA with output? It is the Relay that I use.

    If this is not possible, can I use an external power supply 5V (with more current) and a digital output to pass the baton without damage the 6009?

    Outputs digital of the USB-6009 confined to 8.5 my. Your relay coli requires much more than that. Even if the power source can provide enough current for the relay, digital output can not put.

    The solution is to use a buffer of extermal. The ULN2003 can switch currents up to 500 my and voltage up to 50 V while being controlled by digital output.


  • Reduce the period of sampling of the digital inputs of NOR-USB-6009


    I need to read a line of digital input in the NI USB-6009 using NOR Express 2013 Signal box. I selected 1 sample (upon request) as acquisition mode. I need to define a smaller sampling period as 1 MS, but it gives error too short sampling period: "the current sampling period is too short.  Please specify a longer sampling period. ».
    I do not understand the reason for it and a way to slove this.

    Any help would be greatly appreciated!

    Thank you!!

    The 6009 doesn't have a clock that you can set for a sampling period. According to the specifications, the digital I/o is software programmed - sample on request you use now. I'm not at all familiar with SignalExpress but I don't think that you can find near a reliable khz sampling frequency on Windows or any other os non-deterministic.

  • Methods of protection for NI USB-6009


    I developed a tester to measure 8 outputs varies between 1-5 V to a power supply Board. But suddenly the meter 6009 got damaged since the problems with rectifier circuits of UUT that caused the volt of entry (230 v AC) to reach the limits of measurement.

    Could someone help me to design/introduce certain protection measures between USE and DAQ unit to avoid happening again?

    It would be really helpful for me if I can solve this problem before the transfer of the tester at the end of production.

    Thank you.

    The USB-6009 is supposed to be a bottom of the line test solution and is not really designed for quality of production systems. As you have discovered, it doesn't have its own internal protection products OR more expensive. I used it before production systems and I killed one like you did it (a week before delivery, no less).

    My only advice is to make sure that all of your grounds are connected and your system is melted, but there is not a lot you can do other than that. Maybe an EE here can provide more wisdom.

  • 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.

  • 8-bit word per pulse output USB-6009

    I need to generate a 8-bit word and a strobe pulse in Matlab via a usb-6009. How do I do that? Any help is appreciated!

    To answer my own question:

    Connect the wires to the digital pins p0.0 - 0, 7 (each represents a bit) and an additional to p1.0 (strobe bit).

    MATLAB code:

    OID = digitalio ('nidaq', 'Dev1');
    AddLine (dio, 0:7, 0, 'Out'); %8 lines on port 0

    AddLine (dio, 0, 1, 'Out'); Strobe % on port 1

    sendthisvalue = 23;

    binvec = [dec2binvec(sendthisvalue,8), 0]; % the 8-bit word and the ILO first strobe set to 0

    putValue (Dio, binvec);

    binvec (9) = 1; bit set strobe 1%

    putValue (Dio, binvec);

    Initially, I used two separate "putvalue' instructions, set up the word of 8 bits, and then another for the bit of strobe, but the flash has not been received. That doesn't seem to work, it's if I include both the 8-bit word and the value of bit of strobe in each 'putvalue' statement, as in the code above.

  • 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 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.


    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.


  • Control of Stepper Motor with case NI USB-6009

    Hi all

    I am currently creating a movement control system with a double movement actuator

    and two bipolar chopper drives (see table), which should power the motor. We already have a NI USB 6009 in our lab, so I was wondering if I could use it to send signals to the two pilots to control the speed and direction of each axis on the engine?

    Enclosed driver's manual indicates that input signals should be 0-5 V DC (TTL logic). I have been informed by the engine distributor that the 0-5 V DC TTL drivers required, the signals are analog. The NI USB-6009 manual reading, there are two 0-5 V analog outputs on the acquisition of data usb so I could provide two signals?

    There are often posted however similar problems, it is usually a digital signal NI6009/6009 sends the driver. Looking at the driver's manual, can someone tell if an analogue signals or required as I have said, I was misinformed or 0-5 v DC signal will be enough. I can get more in touch with the dealer if you have any questions you guys think I should ask him.

    Thanks in advance for any help! It is much appreciated.

    I looked in the manual and it doesn't seem to be very clear. I know that the USB-6009 case is capable of AO and DO, then you would be although it is. I could contact the Haydon Kerk support for more concrete details on the gap between what says the manual and what they told you.

  • What hardware adapter is used to connect a Dell Axim X50v to a USB-6009?

    I wanted to use the X50v to connect an NI USB-6009. Should which adapter I plug these two devices together?

    You cannot use the USB docking station to do what you want to do.  You need a "USB host" ability, which provide the cradle nor the Axim itself.

    My suggestion would be to buy the SolarExpress device.  I was able to do and can successfully use a 6008 connected to it.  I did have problems with the map.  This seems to be the best, if not one of the single plug USB CF cards out there.  Feel free to post back or email me directly with questions.

  • Synchronization features 2 usb-6009 - please help


    I'm trying to simultaneously capture data from 2 devices usb-6009.  I've implemented the two Renault as follows.

    1. using a function generator, generate a sine wave, which is slower and not a multiple of the sampling notes (48 kHz) and apply it on the odd numbered tracks.

    2. connect the pairs of channels on the ground.

    3. connect the PFI0 to a digital output of one of the Renault.

    4. implement each DAQ sample faster (48 kHz) as possible and trigger off the coast of PFI0 entry.

    5 generate the shutter of digital output - software write to 'Dev1/port0.

    6. read samples that result and determine the difference between each of the odd channels between the Renault in a given set sample.

    My results are not as expected.  Use Excel to plot the data, I see that the Renault 2 data are staggered on each set of sampling.

    I checked on the scope that the trigger works and that both got triggered.  I think that the configuration above is not complete and I think I need to

    Configure the two Renault to share the same clock source, but I don't know how to set up 2 Renault to share the same clock.  My questions are

    (1) exceeds my setup ok?

    (2) If you need to configure 2 Renault share the same clock, how to put in place?

    (3) is it possible sync 2 devices usb-6009?

    Thank you


    Your above configuration seems correct.

    The method that you use to synchronize two devices is the best you can get.  The PFI line can only read in a trigger or a counter of entry.  You cannot use to import a sample clock.  Each 6009 must use its own on-board clock.

    Typically, if you really want to sinchronize both acquisitions you must share a sampling and a trigger to start clock.  Here, we are only able to share a departure with the PFI line trigger (such as material prevents you from sharing the clock) and let the individual clocks govern the actual acquisition is simply not possible really to synchronize two 6009 s and you're doing the best you can.


  • OR USB-6009 daq sample following loss, while the loop iteration


    I am trying to acquire and display data measured from a DAQ NI USB-6009 material using Labview 2015. I am using the wizard daq defined for the differential mode and n samples with the sample rate and the total number of samples registration by the user. My problem is that when the specified amount of samples is acquired and the while loop continues to the next iteration, some samples are removed (I know because I tested it acquire a wave of fishing and there is a noticeable artifact in the signal at times where the while loops - I downloaded a file showing this artifact in a wave of fishing that was recorded with a sample rate of 1000 Hz 500 samples of recording each) iteration which means that the artifact occurs every half second).

    I think that this can be corrected by simply taking off the while loop daq assistant and specifying the number of samples you want the entire test to acquire. However, I would like to see the signal in a graph as its achievements and the daq can acquire data indefinitely until the user presses the stop which, to my knowledge, it would take a while looping. I downloaded my vi for reference, and any help would be greatly appreciated!

    Set your Acqisition Mode on "samples continues."

    N samples: reads the desired number of samples and stops.  Will read once again what DAQ Assistant is represented.  In other words, that there is a gap of time between readings.

    Continuous samples: data acquisition just constantly reads the data.  The DAQ Assistant just gets the number of requested samples and data acquisition keeps just read and store it in the buffer.

Maybe you are looking for

  • allowed maximum devices one apple ID

    I have an old MBP (early 2011) and use it as my main computer.  My iOS devices synced this MBP.  I thought that I understand the concept on AUTHORIZED devices (MBP).  What I'm not clear on, is the RELATED devices and no limits for the Apple ID that I

  • Update firmware BIOS Satellite L500-1

    Hello I am looking for an update of firmware Bios Satellite L500-1 CPU Intel T7300 SLA45 support.The previous CPU was Intel® Celeron® Processor 900 SLGLQThe latest version of the Bios is The system

  • Re: Qosmio X 875 - Q7280 - BIOS is back from 6.10 return to 1.30

    Hi guys. A few days ago, I decided to listen to Service Station alert of the Toshiba and updated my BIOS. Big mistake (at least for an owner of X 875-Q7280) The new version had problems of incompatibility:* Eco Mode has become useless because it forc

  • Satellite A305D-S6835 - need some drivers for Windows 7 32 bit

    I installed Windows 7 (32 bit) on my machine, everything is recognized, except the 2 devices! I don't know what could be, because in 'Device Manager' writing 'base system device '! I tried to update the Device Manager, but I haven't had much luck! If

  • does not restore the system files after clean install

    When I click on the HARD drive which has my backup file, it says that "windows could not find and backup sets on e:\.» Please selection elsewhere. "When I click on"Refresh"this disc shows up... again.  When I look at the contents of the disc there is