Driving a relay 24V with a USB-6009

Hello

Someone at - it a circuit diagram of how to drive a relay 24VDC with a box USB-6009 and a ULN2803? I've done it before, but I can't find my old tickets and for some reason that I can't get it going now.

I put the chain properly by using the DAQmxBase utility, but I still can't relay to pass.

Any help much appreciated.

Thank you

Got sorted! It was my software not the hardware.

Thanks for the tips anyway.

Tags: NI Software

Similar Questions

  • It is not recognized to the max with Windows7 USB 6009 x 64

    Hi all the comunity and I apologize for some possible errors with my English.

    I have a problem in installing a USB-6009 device in Windows7 x 64.

    I already downloaded and installed the latest NOR-DAQmx 9.0.2 and the device display correctly installed on the operating system in the Device Manager.

    The problem is in the MAX which is not able to detect the device.

    I try to change the USB port and reinstall all the NOR-DAQmx package, but the device is still not detected in the MAX.

    Any other suggestions are much appreciated for this problem

    Thank you all

    Hi Maverjk,

    I have a couple a question for you to try to solve your problem.

    * You have download the base package or full DAQmx?

    * Can you try to install your USB-6009 on another PC and tell me if it works?

    Otherwise, you can try to repair your database to the MAX: presents the documents.

    Ciao!

  • 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

  • With the NI USB-6009 analog input lag

    Hello

    I try to acquire analog signals with NI USB 6009 using LabVIEW. (The signal is 50 Hz of the functional generator).

    However, the acquired singnal has dynamic splitters, which is NOT observed by my oscilloscope.

    I have no idea why this phase shift occurs.

    Any information is welcome. Thank you for reading.

    An image file will not help. Post your real VI. If Firefox does not work, use explore or Chrome to fix your VI (s)!

    You have here a Subvi, I don't see what's inside and how it is configured. In addition, this while loop is ridiculous: there is no button to stop him running. Never use the red button to abandon for a normal shutdown of a VI!

    Why you have configured NChan NSample? Measure a unique signal, Yes? For example, use 1 channel only.

    Edit: why do not you play first with an example given, delivered with LabVIEW?

    Your LabVIEW, go to the Help menu--> find--> material and output examples--> DAQmx--> entry--> and open 'Input.VI - constant tension!

    This VI allows to enjoy your analog signal.

  • inputs and outputs analog digital usb 6009

    I'm having a problem with my USB 6009 in labview programming.  I try to read continuously from the analog inputs while having an event focused on digital output within the same program/vi.  Basically, I need to taste all the time the analog inputs while having an event defined by the user (button control) to signal the digital inputs to turn on then after awhile.  The event of digital output must be independent of the analog sampling system.  I was throwing the "error already allocated resource" in most of the vi, I wrote to try to achieve.  What is programmatically possible with usb 6009?  I am at my wits end trying to do this and any help would be greatly appreciated (by myself and my boss).  Thanks in advance for your answers.

    RJ


  • 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: http://joule.ni.com/nidu/cds/view/p/id/1078/lang/en).  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.

    Clement

    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,));

    Error:

    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!

  • generation of signals USB-6009

    Hello!!

    Can someone suggest me how to generate a pulse of 3V/0V to output pin (a01) to change the transistor...

    requirement is: 1ms - 3V and 400ms-0V permanently...

    With the help of NOR-USB-6009

    Thanks in advance!

    The short answer is that you cannot do with the USB-6009 case. Outputs analog device are timed software and 1 ms pulse is too fast for the outputs timed software. According to the computer, OS and other software activities and perhaps the phase of the Moon, you can only expect rates to update AO 100 Hz to a few hundred Hz and there may be considrable timing jitter at these rates.

    You must obtain a DAQ device with hardware timed AO.

    Lynn

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

    Hello

    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.

  • Timed software a generation of impulses - USB-6009

    Hello.

    I searched for a reliable way to produce a pulse point by point with the USB-6009. My question is whether or not it is possible to produce such a signal without hardware timing or a counter as the USB-6009 supports neither. Is the closest I've come to produce a square with a very low duty cycle wave. However, what I would ideally look for is the ability to produce a single pulse inside a loop which I can go once per minute or more. Also, I would like to know what are the parameters I would be sacrificing to produce a pulse in this way.

    I also have access to a function generator and as it seems quite difficult I will be probably triggering just its pulse function in the same way, but I'd like to explore this obstacle before moving on.

    Thank you

    Travis.

    20 ms can enter the region where you will begin to see significant amounts of timing jitter. You really need to write your program and make some careful measurements - over a long period of time - to see how much of a problem you will have. Actual performance will depend on a lot of details: the operating system, other software process running in the background, and how the LV program is implemented.  You must reduce as much as possible, everything else on the computer: no network, no antivirus, no Bluetooth or WiFi connection and so on...

    Lynn

  • Sinusoidal linear encoders Heidenhain 11 (micro) App and USB-6009

    Hello, I need to read the two linear encoder sinusoidal signals App 11 Heidenhain (micro), described on page 37: http://www.heidenhain.com/fileadmin/pdb/media/img/208_945-28.pdf

    I have been using a standard oscilloscope and merged the two signals on a X - Y axes screen two, to display a circle to inspect if the glass scale is OK.

    If the glass scale is OK, then the circle is relatively stable in size and position when you move the receiver along the scale.

    Now, I would do the same test with a USB-6009. Is this possible? The two signals should be treated as current input analog? In this case is 11 specifications USB 6009 operator?

    Thank you

    Luke


  • OR USB-6009 with op-amp to amplify the analogue output

    Hello.

    I use an NI USB-6009 data acquisition to send a signal to a proportional pressure regulator which varies the pressure of pneumatic system. Unfortunately, the controller of pressure requires a signal of order analog 0 - 10V and the 6009 can 0 - 5V.

    So I thought I'd build a small circuit with a gain of 2 to amplify the signal. See photos attached to a schema and the picture of the installation. The 741 operational amplifier is powered by a 24V DC power supply. 24V is a bit on the side high to the op-amp but I have this supply already built in and (using a supply of laboratory bench) the circuit works exactly the same in 12-18 v.

    Bascially, with voltages of entry of 5 up to 2 volts, the circuit behaves perfectly. The output is just the input multiplied by two.

    However, the output is never less than 3.9 volts (ish), regardless of the input voltage.

    Can anyone suggest a solution (or know where else to ask)? I really need to be able to control my production within the range of 1 - 10V.

    Thank you very much. John

    Yes, a LM358 should work.  You will not be able to get all the way up to 0 v, but it should get you up to 0, 5V or almost.  The LM358 is a dual op amp, then you will not be able to deposit into the same outlet as your 741.  You can probably get away with leaving half disconnected unused.  (Which is not true of all double operational amplifiers).

    Chris

  • temperature sensor with the acquisition of data usb-6009

    Greeting

    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.

  • Control of Stepper Motor with case NI USB-6009

    Hi all

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

    http://www.haydonkerk.com/LinearActuatorProducts/StepperMotorLinearActuators/DualMotionLinearActuato...

    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.

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

  • Can I synchronize and AI on USB-6009 with meter?

    Hi all

    I use USB-6009, LV 8.5 under windows XP. I want to generate signals synchronized with Amnesty International. I know that I can not use the sample as DO clock clock. But can I use the card counter to synchronize and AI? And can someone give some similar examples? Thank you!

    Best wishes

    Bo

    The unit will display whenever you call writing DAQmx. It is more complicated than that. And synchronization is practically based on the flow of data and when you want to generate the digital output from the analog input.

Maybe you are looking for

  • Satellite P300-20R - where can I find drivers for AHCI?

    Hello I have a TOSHIBA Satellite P300-20R and I installed a 320 GB 7200 RPM HD.I partitioned and formatted and I would like to install Windows XP Pro and I started the installation CD and after the first screen when loading Windowsall files in memory

  • Reading port com1 through LabView

    Hi all! I create an application that will receive the data sent by the software installed on your computer. The software communicates with the hardware dedicated via usb connector. In the software, it is possible to choose the COM_x (x = 1, 2, 3...)

  • HP Pavilion g7-1227nr: phone locked

    I have a hp Pavillion g7-1227nr laptop it is asking for administrator or power on password, when I enter 3 passwords wrong that it displays 72614948 please help!

  • The v3-572pg made in charge of the optical drive?

    I just bought this article and have not yet received.  I know that it does not include an optical drive, but I would like to know if the hardware supports the addition of a. Thank you!

  • Administrator of the repair disc menu password recovery

    My windows has / had a corrupt registry error / System 32. I followed these instructions before and he went to be totally turned off to get stuck at the windows logo screen. http://social.answers.Microsoft.com/forums/en-us/XPRepair/thread/2e49321b-b6