How to operate DC 5v USB 6008 relay coil?

I'm operating relay 5v using LabVIEW and USB as DAQ 6008.

The voltage maximum o/p of DAQ is 5v. Requires relay + 3.4V and - 3, 4V on the coil (min).

Since generating a negative tension using data acquisition is not possible. How to trigger the relay using a simple switch on the front?

Or use a CI for the conduct of the relay, as a ULN2003...

a leg of the relay to + 5V, the other leg at the end of 2003.  The 2003 ground and hang the lines of data acquisition on the appropriate on the 2003 server entry.  The output digital drive low to activate the relay.

Tags: NI Software

Similar Questions

  • How the buffering is the USB-6008/6009 has?

    How many readings can be stored internally until the unit overflows.  Pointers to info that describes this would be appreciated.

    Thank you.

    512 bytes.  256 samples.  This is specified in the USB-6008 user manual.  See Specifications, input analog, AI FIFO (page 24).

    You can also always determine this programmatically.  Create a task of the desired type and query the size of the buffer in a property DAQmx buffer node.

  • USB-6008, how to calibrate two signals are equal entry?

    HI all, I use NI USB-6008 and evaluation of labview 8.5, using the daq assistant.

    1st quarter) to calibrate the two input voltage signals become equal?

    Q2) I used the comparison for example function: not equal.  When the two entries get value not equal, how to output of 0-5 v output?

    If someone need more information to help me, I can provide.

    Not sure at all what you mean by "0-5 v output to the output. Want you the difference between the two inputs to output?

    In addition, two input signals will probably never equal. It's just not something that exists in the numbers floating point on a computer. You must subtract one from the other and uses in the range and force the function to determine if they are close enough.

  • How to connect an lvdt and cell to usb 6008

    Please help me iam do not know how to choose a daq card. looking for a lost lt but iam.

    I want to measure the force and displacement at the same time a bench test of suspension and I wanted to use or usb6008 because of my budget for the project.

    can I use this daq card to measure these parameters?

    answer please... Thanks in advance.

    Hi Sylvia,.

    To be able to determine or not with a box NI USB-6008 would be appropriate for your application, it would be useful to get a little more information on measures you can take. If possible you would be able to provide the range of voltage, you intend to measure with your instruments and sampling rate, you need?

    I also noticed in the subject line you use an LVDT, will you also production for this tension with the 6008 or this will be done separately?

    To give you some setting in context, the NI USB-6008 case does not really simultaneous readings at every moment, but will be replacing rapdily between channels, to give effectively simultaneous samples. As this unit has a sampling rate of 10 kech. / s, and you use 2 channels, the sampling rate effective for each entry would be 5 kech. / s.

  • During playback from the USB-6008 on the OID entry, he reads the top floating. How to configure to read low when it is anything but 5V

    I have a USB-6008, I read an entry on the OID.

    I want this 1 report when the line has a present 5v and 0 for something else.

    When I don't have anything on the lines.  It reads 1

    How configure it to read 0 when nothing is connected?

    Also how I re this in c#

    Thank you

    Hello ashitakaLax,

    The USB-6008 housing has an internal pull-up resistance to 5V (according to page 22 of the User Guide and specifications) that pulls the line to 5V when nothing is connected.

    In order to change this, you can add an external resistance of menu drop down to make the output to the earth when it is disconnected, if your device should get power to fuel the high line.

    Kind regards

  • How can I improve the rate of acquisition with daqmx and usb-6008?

    Hello

    I am trying to acquire data of analog voltage with a USB-6008. I'm under Labview 8.5 student on an HP laptop with a 1.33 Ghz cpu and 736MB RAM, apparently. I tried using the Daq assistant and the low-level Daqmx functions. My best results come with a task set in MAX for my analog input, and using the function 'Daqmx read' the 'unique double 1 d sample' value in a while loop. I insert the values returned in a table which built in the while loop, and then when I'm done, I check the number of samples in the table. In the test VI attached, I also use the time to Get before and after all loop. The best sampling rate I made using this method, is around 40samples/second. I have attached a VI below that illustrates this concept. In my actual application, the data acquisition code runs at a time while loop with 1ms, parallel to other code that controls the device I'm collecting data of. The sampling rate is roughly the same for my test below VI and my application program.

    The 6008 datasheet gives the sampling frequency maximum 10 kHz. I'd be happy with 2 to 2.5 kHz, or as soon as possible; I'm sure that I can achieve a little more than 40 Hz. My first idea was tied to the hardware, but the 6008 cannot make acquisitions NI hardware.

    My question is: How can I implement a faster sampling of analog voltages to a USB-6008 in LAbview? If I can't do it, is there another way I can taste the data more quickly?

    Thank you

    -SK-

    To the best of my knowledge, the USB-6008 can do timed equipment acquisition. Don't forget that this is a multiplexed device, so if you add 8 channels so the maximum you can set is 10 k/8

    If you are new to LabVIEW, I suggest that you try this sample program first

    \examples\DAQmx\Analog In\Measure voltage. llb\Acq & Graph tension-Int Clk.vi

    Amit

  • RELAY CONTROL WITH THE HELP OF USB-6008

    Hi all I'm new to labview, I want to control the relay using USB-6008. could someone help me find valuable solution, because this is my final project mechanical engg. I need the electrical diagram and whether it is digital command also mention details of ports/lines I have to connect.

    In this, I joined the relay diagram, in which I have to just to magnetize this nucleus to attract this soft iron. so I need to do ON and OFF. Please guide me and thanks in advance too.


  • How can I get digital signals (interface UART) with a microcontroller with NI USB-6008?

    I have acauired a few analog signals by A/D (3 channels). I put each scanned data on 3 digital output with a microcontroller. I want to see if it is possible to import these digital outputs 3 to a PC via a USB-6008? It's like the connection of the output to the digital input of the USB-6008 and import the 3 channels simultaneously to LabView? Do I need to use some other hardware like USB-8451 and connect the clock of the MCU to USB-8451?

    Saraydin,

    The digital I/o on the USB-6008 is a software program only, so unless your signals are rather slow, it probably will not work for you.  In general, the procedure would be to connect each signal to one of the digital lines on the map and then set up a digital entry into LabVIEW task to read the three channels.  If you use a device that has clocked by the digital i/o hardware, you then your input clock signal and use it as the sample for the task clock.  Here is a list of USB devices supporting DIO clocked by the hardware.  Also, there is an example that comes with LabVIEW, which shows how to do this.  You can get to it in LabVIEW by going to help > find examples.  When the example Finder window opens, navigate to hardware input and output > DAQmx > digital measures > Cont read dig Chan-Ext Clk.vi.

    The 8451 is specifically for I2C and SPI, and would be great if you try to make one of these protocols, but otherwise I would recommend the devices in the list I linked above.

    -Christina

  • 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

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


  • How stable is the long term outputs analog USB-6008?

    The USB-6008 datasheet do not specify the stability long term of the analog inputs and outputs.

    I'm looking for stability compared to the ambient temperature and time (several months to a year), mainly for the outputs or the D/A reference voltage.

    Is there any information available?

    Thank you.

    The precision specification takes into account the evolution both because of the temperature and duration (stable).  Thus, for the period of a year that we guarantee these specifications, which list you is correct.  However, apart from the period of one year since the calibration, this specification may be is more inaccurate.

  • How to connect my potentiometer (3 connections: wine, Vout & amp; common) to USB-6008

    Hi looking for help connect my knobs to my DAQ USB-6008. Essentially got some linear and chain of pots that will be connected to the fitting of the parts to give a linear movement of DC output voltage. Got DAQ USB-6008 DC output read and display in LABview.

    The pots have 3 electrical connections:

    1 input voltage

    2. output voltage

    3 common

    Entry and common connections are connected to my power supply DC leaving a single output voltage wire.

    1 should I connect DAQ in premium or CSR mode?

    2. as I have only a single output connection (as input and common are atttached to food) what can I connect to GND mode CSR (or the terminal for the differential mode - ve)? Can he remain unconnected?

    3. do I need to connect anything to the output of data acquisition channels? or data acquisition will read my entries and display them in LABVIEW?

    Excellent. Thanks for your reply. Think about it, as I have many pots to connect up to this unique DAQ so if I use the DAQ outputs to power pots, then I would be limited to two pots on the DAQ specification?

    If I use the other method and hang the pot common and input for external power supply-/ + terminal and the hook to the top of the pot then you suggest also, I need to pin 1 ground output to the AI1 on data acquisition. What is all the Earth? What do you suggest as a land? If I go down this road then allow me up to 8 pots on this data acquisition? (And I guess each other the GNDs would also need to be connected to each other input used?)

  • 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

  • Connect a BNC connector to a USB-6008 isometric Force sensor

    I have a force isometric sensor with a BNC socket: http://www.radnoti.com/products/force_transducers

    I want to connect to the USB-6008, but I have no experience of EA. I found on a similar forum that I can cut and strip Cable BNC and connect the positive wire to the AI0 (AI0 +) and the AI4 (AI0)-.

    http://forums.NI.com/T5/LabVIEW/how-connect-NI-USB-6008-to-BNC-out-on-transonic-T110-w-t-ground/TD-p...

    This would apply to my device?

    Thank you!

    It should work.

    Lynn

  • Beyond the limits of voltage on USB 6008?

    I use a USB-6008 to measure analog differential in the range of 3 to 5.3 V. I chose this range, because outside this range, I'm not interested in what the tension is, knowing that his "on the rail", but to aid resolution of the ADC in this range.

    So for a signal of ~0.05 supply V, I expected to read 3V, telling me that the voltage is lower than 3V, but again it returns 0.05v?

    As it was unexpected for me, could someone please explain what can / should I expect of my USB6008 of the responsed to the signals that are the limits? Is there an effect of "rollover"? Should you return the value to the limit? Depends on how far the limit is?

    Thanks for your help!

    Entry level do not think that way. You specify the range is that you wait for the signal and the DAQmx driver will set the most appropriate range that the device supports. The actual ranges are indicated in the guide. In your case, because you specify a max of 5.3, the device would be defined the +/-10 volts range.

Maybe you are looking for

  • Where can, Windows 64-bit users, learn about what to do or stop doing, because the builds for our system have been disabled?

    I came across information that Firefox has not extinguished the development for Windows 64 - bit. Since my system I would like to know what it means.Should uninstall us Firefox? Is there anyway we could still use it? I'm not a savvy computer, so I do

  • How to send a private Message?

    How to send a private message to another participant in a Discussion of Spple thread?

  • Satellite T135D does not start

    Hello world! I was working with my satellite T135d. I turned off the laptop.Later, I tried again but when I press the power button it shows me the toshiba screen and then restart the laptop, and always occur at the same time. I don't know why this ha

  • Firmware for TX200V

    My camera Sony TX200V has firmware version 1.00. Y at - it a newer version of the firmware please? Jusko

  • DVD RW OPTIARC AD7560a ATA

    Read all the posted about it, but none has solved my problem. Need help, please... My laptop has an Optiarc AD7560 who suddenly stopped recognizing CDs saying they are empty (funny, some are recognized, others not...). Reinstalled Vista, drivers, per