Voltage change of reference (PGA) of NI USB 6008 in Matl

Hello

I'm looking for the solution change the voltage reference usb6008 nor in MATLAB.

Referring to the manual, the reference voltage can be changed by setting the PGA (programmable gain amplifier). There is a brief description in the manual, which can't help me ("The PGA gainis automatically calculated according to the voltage selected in the application range of the measure.)

Does anyone know how can I change the PGA in MATLAB?

Input voltage range is set to [10-10] and I want to change it to [1-1] to get a better resolution for small voltage. The InputType is differential

Hi Kia

You can change the reference voltage by adding following function in your C code:

Int32 DAQmxCreateAIVoltageChan (TaskHandle taskHandle, const char physicalChannel [], const char nameToAssignToChannel [], int32 terminalConfig, float64 minVal, maxVal, int32 units, const char customScaleName [] float64);

With the minVal and maxVal settings, you can manually set your tension.

Of course, I am available for more reminders.

Best regards

Stefan

Tags: NI Hardware

Similar Questions

  • DAQ USB-6008 will be able to power and record voltage for UMS T5 blood pressure at the same time?

    I would use my NI USB-6008 to power my blood pressure monitor UMS T5 (http://www.ums-muc.de/en/products/tensiometer/t5.html) but also to take readings of it, but I don't know if it's possible to do it properly. The power supply for the instrument can be as low as 5V, I can easily get the dedicated + 5V channel. I'm able to feed the instrument and connect it to an analog input on the 6008 and measure a voltage in differential mode. However, when you read the documentation of support for the instrument, I find the following:

    "Potential pitfalls of data acquisition: the pressure transducer is configured in a full Wheatstone bridge, the input voltage and mV signal output can be connected to the same reference (mass)." Therefore, the mV output signal can be measured using a differential voltage measurement. Therefore, do not make an asymmetric measure of pressure transducer mV output. "(http://www.decagon.com/assets/Uploads/MeasuringUMSTensiometerswithnon-UMSControlandDataAcquisitionSystems.pdf)

    My understanding is that the 6008 can take a differential measure if I attach the signal '+' and the signal "-" to the analog inputs of positive and negative terminals. However, it seems that all the ports of ground on the 6008 are grounded to the same reference, which would make my measure of invalid tension according to the above paragraph. So my real question is: if I try to record the voltage with one of the analog inputs on the 6008 in this way, is the valid measurement? Or I need to find a separate power supply, with a different reference field to ensure that the measure is accurate?

    The technical details of this device is very poor. The manual is not much better. Companies that want to sell scientific equipment should publish decent cards or get out of business.

    In section 3.4.3 General requirements the device is described as a "bridge not amplified circuit.  This information along with the impedance of the bridge should be in the specifications, because it is essential to apply the device under any circumstances other than the nominal behavior in 10.6 V.

    The answer to your question is:

    You can use it with the box USB-6008.  The 5 V supply will result in output voltages a little less than half (5/10.6) the voltage specified in nominal conditions. You can use the differential input mode on the box USB-6008.  The absolute input voltages will be approximately 2.5 V with the 5 V power supply. This voltage is in the range of the aircraft. The differences are likely to be less than 100 mV. The resolution of the USB-6008 on the + /-1 V is located about 0.5 mV so your resolution of pressure will be about 1% of full scale. The voltage input impedance and termination of the USB-6008 will present a few errors.  These can be in the order of 5 to 10%. I can't predict much better without the missing bridge impedance specification.  These errors should be relatively constant and systematic. A calibration of the whole system - sensor and together hardware DAQ should allow you to compensate for a large part of this error.

    Lynn

  • USB 6008 weird analog voltage reading

    Hello

    I use the USB-6008 to measure a voltage of a Lithium battery, 3.66V.

    the battery come with a blocking diode (in series with the battery) of 1N5820, who have a fall of voltage drop of 0, 1V.

    battery with diodes in series (this is the way in which the battery is shipped with)

    -measure with DDM yield 3.66V without you connect to usb6008

    -measure with DDM yield connected to usb6008 (putting OUT VOLTAGE USB6008) 3.59V

    -able with USB-6008 performance 3.59V connected to usb6008

    battery with diode removed

    -measure with DDM yield 3.66V without you connect to usb6008

    -measure with DDM yield connected to usb6008 (putting OUT VOLTAGE USB6008) 3.66V

    -able with USB-6008 performance 3.66V connected to usb6008

    Thus, it seems that the problem is in the led in the series.  This is why the battery voltage has fallen to 0.07V? the series diode will hurt the USB-6008?

    Maybe people who know the circuits inside the USB-6008 can give me an answer.

    Thanks in advance.

    Hi learnerd,.

    The fall that you see is falling forward in the diode.  As an entry class device, the USB-6008 case has a relatively low input impedance (144kOhm) and thus draws a little current of the device.  Looking at the datasheet of the 1N5820 (http://www.onsemi.com/pub_link/Collateral/1N5820-D.PDF), Figure 7 shows that at 25 ° C, a draw of 50mA will cause a fall front of 200mV.  While the figure does not extend the curve below 50mA, extrapolating the given curve would indicate that a drop of 70mV would cause only a few current microamperes.

    A DMM will have a much greater input impedance (GOhms instead of kohm) and won't draw enough current to influence the measure, that's why you wouldn't see the decline with only the DMM.

    The diode will not harm the USB-6008 somehow.

    Good luck with your application,

    The f

  • NEITHER USB 6008 voltage offset using CSR and measurement of diff.

    Hi all

    I am currently trying the NI USB 6008 housing and I'm getting problems when reading voltage analog using CSR or differential.

    So basically, what I want to measure is a PWM signal (0 to 12V), which is divided by a divisor of tension (by two). But instead of measured 0V and 6V

    I am in a position a constant 0.8V and approximately 3V.

    On the side of digital data acquisition, I give you on impulses for the SSR... and it works fine.

    I connect it that way: http://digital.ni.com/public.nsf/allkb/95CC0CB11D7DF3D18625712E000C4ABD?OpenDocument

    Would apreciate any help

    Best regards

    EDIT: Attached graphics acquired are

    What is the impedance of your voltage divider?  The input of the USB-6008 impedance is not very high. If the impedance of the partition is large, it could cause the effect you see.

    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.

  • Want a ramp of output voltage over time and measure input 2 analog USB-6008

    Hello

    I want to produce an analog voltage output signal that increases over time with a certain slope, which I'll send in a potentiostat and at the same time I want to read voltage and current (both are represented by a voltage signal) that I want to open a session and ultimately draw from each other. To do this, I have a DAQ USB-6008 system at my disposal.

    Creation of the analogue output with a linear ramp signal I was possible using a while loop and a delay time (see attachment). Important here is that I can put the slope of the linear ramp (for example, 10mV/s) and size level to make a smooth inclement. However when I want to measure an analog input signal he's going poorly.

    To reduce noise from the influences I want for example to measure 10 values for example within 0.1 second and he averaged (this gives reading should be equal or faster then the wrong caused by the slope and the linear ramp step size.) Example: a slope of 10 mV/s is set with a 10 step size. Each 0.1 s analog output signal amounts to 1 mV. Then I want to read the analog input in this 0.1 s 10 values)

    Because I use a timer to create the linear ramp and the analog input is in the same loop, the delay time also affects the analog input and I get an error every time. Separately, in different VI-programs (analog input and output) they work fine but not combined. I searched this forum to find a way to create the ramp in a different way, but because I'm not an experienced labview user I can't find another way.

    To book it now a bit more complicated I said I want to measure 2 input analog (one for the voltage of the potentiostat) signals and one for the current (also represented by a voltage signal) and they should be measured more quickly then the bad of the analog signal. I have not yet started with because I couldn't read on channel work.

    I hope someone can help me with this problem

    An array of index. You want to index the columns for a single channel.

  • USB-6008 LABVIEW 8.2. SINGLE CHANNEL WITH DBL INPUT VOLTAGE OUTPUT COMPARISON

    I AM WRITING A PROGRAM THAT USES A SIMPLE USB-6008 ANALOG INPUT CHANNEL. I WANT TO READ CONTINUOUSLY THE VOLTAGE FOR 60 SECONDS. I WANT TO COMPARE A TENSION FOR THE PREVIOUS OF THIS SAME CHANNEL VOLTAGE, MAINLY FOR THE PERIOD OF TIME MAX VOLTAGE GIVEN, THEN GET A FINAL VOLTAGE READING. THE OUTPUT OF THE VI IS A DBL. I WANT ONLY TWO TENSIONS OF EXPORT TO EXCEL. TO SAVE TIME, I KNOW HOW TO EXPORT. CAN SOMEONE HELP ME WITH THIS ONE.

    VI needs an register shift related to the Max & Min function. The current value would be the entrance is and the entrance of x is the left shift register. The max value gets wired for the shift register to the right. Don't forget to initialize it. The output of the shift register is the max you would write and the value of the DAQmx Read out of the loop of wire will give you the last reading.

    Your waiting for 45 seconds makes no sense since you said that you wanted to read continuously. You also said that you wanted to read 60 seconds and all this logic is missing. A simple function of time elapsed, it's all you need.

  • NEITHER USB-6008 can measure an AC voltage

    Now I am doing a project, but don't know if DAQ can measure an AC voltage or not, the acquisition of data that we use is USB-6008.

    Yes, it can measure AC in the range of +/-10 volts and have a sampling rate of 10kS/s.

    Application engineer OR

  • Measurement of voltage USB 6008 ranging from 1mV

    Hi, I'm doing a supply at an angle for an amplifier using the USB-6008. The ranges I look are - 0.5 to 0.5 V and 0.5 to 2.5 V. To generate negative tensions, I use the + 2, 5V for a reading of differential voltage output as a 'ground '. Voltage measures have a delay that varies with the voltage, given this by drawing these variations and set the output to data acquisition there is still a 'noise' of +/-1 mv so that it is clear from this parcel of tension against the sample number:

    It seems that at some point the values are being rounded up to the nearest millivolt. I need to get to a resolution of 0.5 mV for my device, it will be possible with the USB-6008?

    The AO USB-600 x has a range from 0 to + 5 V and the 12-bit resolution. 5/4096 = 1.22 mV. Absolute precision is 7 mV typical and 36.4 mV maximum full scale.  The noise of the AO is not specified.

    If you measure the results with THE USB-6008, you have at least 0.5 mV, similar resolution system noise and absolute accuracy of 2.5 mV or more.

    It's probably as good as you will get with the box USB-6008.

    Lynn

  • AO. MaxRate, AO. MinRate, AO. Properties of voltage. RNGs for hardware DAQ USB-6008

    Hello

    in one of my report, I use the AO. Property of Voltage.Rngs to see if the selected DAQ card takes in charge the application voltage range. This works very well for my PCMCIA card as well as a PCI card. Now run the same VI with a USB-6008 device, this property gives all the return values. In addition, the report of AO.max.rate and AO.min.rate of the '0', the output is-200197 error properties. I use DAQmx as it is supposed to support the same functions for all DAQmx devices. Can someone please tell me what wrong here and how can I get around this?

    Best regards

    Gabs

    AO.min.rate and AO.max.rate are 0 and error-200197 back because the USB-6008 case supports the outputs analog hardware timed.  The description of error is "device does not support this property."  There is an entrance to the knowledge base for this question.

    By selecting 'Use Waveform' uses the synchronization of the sample clock.  The waveform data type specifies a delta t, which is used to set the sample clock frequency.  It is not supported on the box USB-6008.  You shouldn't set your calendar of sample type or explicitly assign the "On Demand".

    The DAQmx driver supports hundreds of different devices.  Not all combinations of properties are valid for all devices.

  • Cannot print. Reference Dell 944 communication usb port is not available. error check your firewall settings to ensure the printer communication is not blocked.

    Original title: unable to print. Reference Dell 944 communication usb port is not available.

    Message says 'check your firewall settings to ensure the printer communication is not blocked. Printer has worked faithfully until the problems started with the XP Home operating system. To cut a long story short ram upgraded to 2 GB, all unnecessary programs identified and technician Microsoft contacted to solve problems.  I was informed of problems caused by 3rd software party conflicts. Kaspersky was apparently the culpit. Dell Inspiron 32 now much faster but the printer will not work little matter what I do. I tried to reload with drivers & utility CD, drivers uninstalled & reinstalled on the site of all nothing is? Can someone help?

    DavidNicholsonXN,

    How to download and install drivers in the correct order

    also try to read...

    The owners of all-in-one printer Dell 944 thread (W7)

    Let the printer after Kaspersky

    Rick

  • Change a reference point of the components

    Perhaps it is trivial and I just a case of the Mondays, but how do I change a reference point of the components.  For example a canvas, as well as 0,0 is at its Center and not at the top left.

    Thanks in advance.

    You can not, you calculate all the stuff you want to keep in mind that the registration point is at 0,0. The event if you can find a way to change the registration point (which in theory can be done, but it is not as simple as that), that it would be completely unnecessary and it could lead to just hurt most.

  • E/s digital USB-6008 changes when the system starts

    I was intending to use the USB-6008 housing in a critical application in which the digital I/o lines are used to trigger relays.  The relay should activate when I ask them programmatically.  Otherwise, they must remain open.  The problem is that during a reboot of the operating system, the e/s digital USB-6008 go up and down several times - opening and closing my relay.  It is not acceptable for my application.

    Is it possible to prevent the lines to reach logical high except if ordered to do so?

    There is no way to set the startup on the 6008 States.

    As the system USB boot devices and turns on power to the computer and off the power to the USB ports, on the DIO lines go up and down several times.

    You will need to put a logic of material extra, just after data acquisition to ensure that potentially dangerous output combinations cannot affect the relay and the elements they control.

  • USB 6008 analog i/o has stopped working

    Hello

    I have been using a USB-6008 for a few weeks now and it has worked well. I've been using the outputs digital, analog inputs and outputs this morning and they worked very well. I worked on something else for an hour or two and then resumed using the 6008, find the analog pins have stopped working. The show output analog on 1mV any value I send to them and the analog inputs always read - 10.3, despite limits MAX being set to 0 and + 5 (and me only using 0 - 5V on them). I tried all the inputs and outputs, in all ways (CSR, diff) with the same results. The digital outputs all work very well. Yes, he is grounded properly. Yes, the wires have continuity. My multimeter don't lie about me, either.

    I took the MAX test panel to solve the problems. The unit passes its tests of self-control, and my Labview program does not return errors by contacting the 6008. I don't connected the 6008 which could exceed the voltage or the current limits of entrances and exits. In fact, all I did was unplug it when I stopped using it as soon as possible and then reconnected it when I went back to work. The material to which it is connected has been turned off during this time.

    Any ideas? Thank you.

    Problem is solved. If anyone finds this is interested, the problem was at the level of the material, that the 6008 has been connected. I'm covering, among other things, to a PIC Microcontroller. I just changed the oscillator on the PEAK, and inadvertently changed parameters parameters of the ADC as well. This caused the pin used as my reference voltage (connected to + 2, 5V output of 6008) to transform itself into a digital camera of output, a value of 0. This short-circuit the + 2, 5V output of the 6008, causing it to close.

    Lesson learned: check your material carefully, even if it does not make the difference in a first time!

  • NEITHER USB-6008 connect to thermocuples and pressure sensors, control valve

    I am endevoring to build a gasification plant biomass for bench scale test process control plans. NEITHER USB-6008/6009 will be adapted for use as a data acquisition. I'll take RTDS, thermocouples and pressure sensors. I don't want to use industrial automation controllers.  It is also possible to use the channel of analog output for sending signals to a control valve position (using sufficient current/voltage between the two drivers).

    (1) OK.  I just wanted to be sure that you were aware of the potential dangers.

    (2) an RTD is a resistance that has small changes in resistance per degree of temperature change. To measure that you have need of a current source and a sufficient resolution in order to detect small changes.  At 25 degrees C a typical RTD is 109,73 ohms and resistance ohms 0.38 per degree changes.  If you had 1 my crossing this RTD voltage through it would be 109,7 mV and the voltage change of 0.38 mV by degree.

    The resolution of the 6008 on the most sensitive range is 0.49 mV > 1 degree.  The accuracy of the 6008 is 1.5 mV typical.

    For a Type K thermocouple, voltage at 25 degrees is 1.407 mV and change by degree is 39 µV.  Millivolt solving half of the 6008 translates into about 12 degrees.

    If you need a source of excitement for RTD and a kind of amplification for thermocouples and RTD before she would make any sense to try to use USB-6008.

    (3) I have not used anything except LabVIEW with DAQ devices and drivers.  I think DAQmx can be used with MATLAB and other languages.

    (4) the 6008 is the low range made by NOR. You will need to go to a more expensive camera or add signals conditioning circuits.  Talk to your representative OR assistance in the choice of a suitable device.

    Lynn

Maybe you are looking for

  • To save the movie app crashed using Siri

    I have an Apple TV with the latest non-beta OS 4.  Watching Dark Knight Rises.  Whenever I try to use Siri to save 30 seconds, it rewind the film of 30 seconds and then the film Soft has promptly stops and restarts, forcing me to go through the hassl

  • Windows host process (Rundll32)

    I get an Internet Explorer error security happen when I open explore. A website wants to open web content using this program on your computer. «Windows host process (Rundll32).» The Publisher is Microsoft Windows. can someone let me know what this me

  • Continuos mail accident

    Jyn Is four months e-mail crashes constantly. I leave the pc turned on, leave the House and when I return the e-mail crashed, the follow-up is the first part of the previous report (if U I all): any idea? I thank the advice Nicola Process: Mail [2357

  • Desktop HP Pavilion p7: user profile service does not connect, cannot load user profile

    What happened to a certain number of times now. When I try to log on my user profile, it indicates that the user's profile could not and cannot be loaded. I should know how to handle this problem but it was a few months ago and I don't remember how t

  • Any time, I'm trying to uninstall maelstrom of my computer, it keep telling me to close all the windows in maelstrom

    Original title: uninstall maelstrom any time, I'm trying to uninstall maelstrom of my computer, it keep telling me to close all the windows in maelstrom, but I can't find more