OR USB-6009 can produce the constant current source/sink?

Hi all

I have a card NI USB DAQ to 6009. I need a battery for constant (charge/discharge current<1mA) and="" simultaneously="" monitor="" its="">

I was wondering if I can use USB-6009 of output constant source/sink of charge/discharge current the battery? I've seen a few threads that says 6009 impossible to output constant son of currents, but other says we can use the digital output to provide the current, but it was not only described how.

Thank you.

All the outputs of the USB-6009 case are sources of tension and all have current limits low. There is no way to generate outputs current controlled directly from this device.

What I would do (and have done) is to build circuits of external current source/sink with an op amp or a transistor and allows you to enable or disable a digital output of the USB-6009. If the current must be adjustable, use an op amp circuit that takes an input of the analog output of the USB-6009 voltage to set the current.  Use an analog input channel to monitor the battery voltage.

Lynn

Tags: NI Software

Similar Questions

  • USB 6009 CANNOT CHANGE THE CONFIGURATION OF TERMINAL TO CSR... Can't SEE not the OPTION configure when right-click on the device...

    USB 6009 CANNOT CHANGE THE CONFIGURATION OF TERMINAL TO CSR... Can't SEE not the OPTION configure when right-click on the device...

    Once again... Thanks for the tips...

  • How can I define a current source and measure voltage at given intervals of time using GPIB on a Keithley 2410 (LabView 7.1)?

    Hello

    I use an old version of LabView 7.1 and a Keithley 2410 communicate via GPIB.

    I want to do a simple program, sending a commando to the 2410 to source a current given, without interruption.

    Then in the light of time intervals, I want to read the current tension for logging in a txt file. My idea is to do this

    simply by sending orders to the Keithley 2410 stations. Could someone please give me a hint in the right

    direction to do?

    I'm not very good at LabView, but have done some simple programs using USB - DAQ before.

    Any help is appreciated.

    --

    Lars

    Thanks again for your help,

    I understood that the reason why I did not have all the data (and that the 2410 a frozen/hung) was that in vi GPIB READ, I did not specify the number of bytes to be read, and it didn't have a default value.

    After adding a constant to this entry, everything worked like a charm.

    Thank you for your recommendation on the * CLS command.

    --

    Lars

  • I can delete the ^ % #@ % constant "low on ink cartridge" pop-up window?

    It seems that my printer starts to show the "low on ink cartridge" pop up when there is still a lot of ink left.  Not to mention that I can tell when he's really low on ink by looking at the printed pages, duh!  I spend way too much of my life having to close the pop-up window.  It doesn't seem to be anything under the link "for more information on this topic" help for a ' disable this % ^ % #% message forever "option.  Can anyone help?

    This might work:

    Go to the folder of the printer, do a right click on your printer, select Printing Preferences, select the features tab, click printer services button. Select the configuration tab, clear the ink status screen. Depending on your operating system and printer, these choices may be slightly different.

  • 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

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

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

  • USB-6009 trigger reference by loops

    Hello

    I am a student studying for a Beng. As my final project, I want to create a default for electric motors recorder. The basic principle is that he sits and waits for a signal to trigger, how she recorded the analog waves of voltage and current for a pre-defined term before the trip.

    I chose the USB-6009 case like the acquisition of data, mainly based on prices. At the time I did not realize the importance of relaxation before (reference trigger) who works the 6009 did not support.

    I'm sure there must be a way to use the memory of the computer to create a buffer using a continuous loop that maintains a drop-off PDM rewriting, however I am really struggling to implement this code.

    I know that the ideal solution would be to use a device better suited, but having already bought the device and he said in my project specifications is not possible.

    If someone is able to offer all the tips of a possible implementation of this solution and a possible example of a similar program, I would be eternally grateful!

    1. make acquisition continues. Keep the data in a circular buffer large enough to store the amount of data pre triggers you want and all the data after release, which can be acquired before treatment is completed.

    2. when the trigger signal occurs, pull data from before release for stroage or store a marker that follows where the trigger before data starts.

    3. once the data post-triggers are acquired, write all relevant data in the file.  Unless you have blocks of data very long before or after triggering, PDM won't be necessary.  The USB-6009 case is slow enough so that you can keep a few minutes of in-memory data before running in memory management problems.  This should be much more that what you need for a motor fault recorder.

    Consider using a motor of Action (search for the nugget of Ben on the subject) for the buffer.

    Lynn

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

  • What is input equivalent circuit of USB 6009 PFI0

    The entry USB-6009 PFI0 is the same the analog input circuit stated in manual mode?

    I use the PFI0 to trigger a measurement of voltage and it works a lot using a HP function generator.

    When I try to drive the low entrance with my circuit looks like there's a pull up resistance to + 5 on the entry of PFI0 terminal.
    This entry PFI0 will accept an output of comparitor from 0 to 15 volts with being damaged?

    Kip

    Here is my solution to operate the PFI0 TTL digital input using a CMOS comparator.

    I use a 2N4401 npn transistor.

    Connect the transmitter to the ground terminal.

    Connect the manifold to the PFI0 (there is a pull-up internal resistance to the 6009).

    To connect to the Base of a voltage divider that limits in input current and decreases the CMOS voltage to TTL levels.

    In my case I'm going to 0 to + 15 so my voltage divider is 4.7 k and 2.2 kohm to fall to 0-5 volts.

    It is an Inverter circuit so your sense of trigger will go head on falling edge, or vice versa.

    I hope this helps someone.

    Kip

  • USB-6009 as impulse geneartor

    Hello

    I use a card DAQ USB-6009 to read the signal from 3 channels. at the same time, I want to read a TTL trigger and genearte a TTL trigger or a waveform square with a delay of 4 seconds.

    I'm reading the trigger and then write with "wait" function in my loop. but I find that there is a bug with the writing of the matrix. I can read the writing the trigger with single channel, but not with multiple channels.

    Here's the EIS. Please help me with the file of multiple channels to see why it does not work.

    You have designed your application correctly; I would recommend going through the following steps:

    Getting started with NO-DAQmx: Main Page

  • Problem of analog sinusoidal input USB-6009

    Hello

    I am a newbie to Labview. I'm using Labview 2009 and USB-6009. I tried to use USB-6009 to display the input sinewave of function generator signal. First of all, the perfect sinusoidal looking at the frequency of 1 kHz, but when I changed the frequency of 10 kHz, the sinusoid turned into a triangle wave. When I test the input signal, I put the 48 kHz sampling and Terminal configuration is CSR. Is there a problem with USB-6009?

    You really need to spend some time to study sampling and Nyquist theorem-not LabVIEW. To faithfully reproduce the shape of the sine wave, you must go to a sampling rate 10 times higher than your input frequency. With the 6009, i.e. limit the entry less than 5 kHz.

  • Sampling frequency for two different routes for acquisition of data USB-6009

    Hello

    I use a box USB-6009 and incorporating the "daq assistant" to change the sampling frequency.  I'm trying to find a way to set the sampling frequency to two unique values for the two separate channels.  I tried implementing two assistants daq and different for each channel sampling frequency setting, although it does not work.  Is it possible to set the sampling frequency for all channels, and then reduce the rate for another channel - or an alternative?  I would be recognizing any input on this matter, thank you!

    -Anthony

    All tasks on a DAQ card using the sample clock should use the same clock.  Therefore, you cannot have two tasks on the same sample of DAQ card at different rates.

    Alternatives would be:

    1. to combine all channels in a single task and to accept additional data

    2 get an additional DAQ card to use at the same time

  • The period mapping Source in FDMEE

    Hello

    I use a custom as a source for myFDMEE SQL database and stuck in some requests, I was wondering if anyone can suggest?

    1. for the mapping of the time, I need to have a calendar (period) pre-defined in SQL? If Yes, how can I do this?

    2 - Data (Jan - ED) columns in source Table, so I in the BefImport Script how do I insert values (Jan - Dec) in columns amount AIF?  I can insert the value from the column of Jan in the column AMOUNT of AIF Interface open when selecting Table "period mapping Type" as none.

    Please suggest if someone has an idea. Much appreciated!

    Thank you

    Hello

    Table open interface adapter doesn't have several columns for periods so that the data is similar to FDMEE.

    There are two approaches:

    (1) you only keep current period data in the table to open interface.

    (2) you retain all data for all periods in the open interface board

    For 1)

    You can make your befimport script to import data into your custom sql only table during the POV.

    You can get the fdmContext period and use it as a filter in your SQL query to get the data

    with this option, you can use any type of mapping period as you do not need to use the mappings of period source: you have given class period POV in your open interface table

    For 2)

    This is generally used when the open interface table is populated from an external source where they load data for all periods in the table. Then, you will need to extract only your pov current data period.

    For this, you can use the mappings of Source period.

    With this option, you don't have any script befimport as the interface table is already filled.

    If you want to insert data for all periods in the table to open interface, you need to ROTATE the table as well:

    Acc1; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12 where you have 12 values (for example, 1 to 12) is transformed into:

    Acc1; Jan; 1

    Acc1; Feb:2

    Acc1; Mar; 3...

    then you can use the mappings of source period to make the open interface card import only the data for the periods that you set in the execution of rule of data loading (the period of pov or a range of periods)

    I hope that clarifies.

  • Using the NI USB-6009 case to generate a 12VDC output and output current of 300mA

    Hello

    I use the OR-USB-6009 my power supply for a 12VDC with drive current of 300 solenoid my. Initially, I used a non reverse Op-amp circuit and Inverter circuit operational amplifier to get the + 12V and - 12V output but I could not get the current I required. Should I use a transistor?

    Please find attached photos. Any input would be appreciated.

    Thank you

    Adam

    Well, really depend on your piercing circuit.  But I used most systems use the transistor to set the voltage of the device to 0V.  So when your DIO is high, the output is actually 0V (low).  So using a converter chip, your release of the DIO will be sort of the output circuit.  If you get the right IC, then the inverter will give you also a few extra current to drive your transistor.

Maybe you are looking for

  • How to fix "this site is not reachable" on Mac?

    I have a Wordpress site that is mapped to a domain (through Network Solutions) and it does not load on my computer. It loads on other computers on my network, but not my Mac, Capitan 10.11.5. Help, please! This is the message: This site is not reacha

  • Load/CPU Distributed System Manager

    Hi all I just finished real-time 1 training where I learned about the Distributed System Manager.  Then, I deployed a project Veristand and watched.  For me, what I see, it's disturbing, but I'd appreciate your opinions.  While watching the processor

  • HP 15-d103 found NIC controller/driver

    Sir my hardware/device id are:PCI\VEN_168C & DEV_0036 & SUBSYS_217F103C & REV_01PCI\VEN_168C & DEV_0036 & SUBSYS_217F103CPCI\VEN_168C & DEV_0036 & CC_028000PCI\VEN_168C & DEV_0036 & CC_0280Please give me the link to download driver for network contro

  • Error "the user profile Service has no logon. Unable to load the user profile.

    Original title: admin user account the user profile service service is a not the logon user profile cannot be loaded, this is the error I received - it's my account Admin what should I do to correct this. I have come back before this happened. Help,

  • change the spaceing between the lines in files

    How can I change the spaceing between the lines in files