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.

Tags: NI Hardware

Similar Questions

  • create the voltage over time

    Is it possible to generate an output voltage on a DAQ 6009 A0? I have a data excel sheet that I put in a 2D array. The voltage is not constant over time. I have problems with the synchronization of the signal. I was able to trace the signal on a chart. This is the same as the original data to excel. I have two data streams. Voltage and time. But after separating the two signals how can I generate the graph?


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

  • Get information from change of color over time

    Hi all

    I am new to LabView and on this forum, so I hope I'm in the right subforum. If this isn't the case, it would be nice if a mod could move this thread.

    My problem is the following:

    Let's say I have a white spot I want to observe with a camera. The color of the spot turns green over time and I want to acquire the photo, as well as to get the color intensity of green increase developing countries over time. I do not know what features I need to use to get there. Can someone me hint in the right direction? I think that it is at least possible in LabView.

    Thank your all for your help.

    Best regards

    Tresdin

    I don't know what the best resource for IMAQdx pilots, I think that the examples that provide OR are pretty useful. Here's a simple VI which will tell you the average value of green of all the pixels in your image.

  • What happened to the button on the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? I use it all the time and it is not on FF4.

    What happened to the button on the left end of the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? You can look at the drop down window of pages and just choose whatever you want. I use it all the time and it is not on FF4. I want to go back to the old FF.

    If you right click on your back button, or click and hold down the mouse button, it will display the list. (I prefer a click-right, because sometimes my fingers slide when I try to click and hold)

  • 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

  • Hi, I have two decimal strings, each of them contains the numbers change over time. I want to plot them on the graph XY, a string for each axis. Can you show me how do?

    Hi, I have two decimal strings, each of them contains the numbers change over time. I want to plot them on the graph XY, a string for each axis. Can you show me how do?

    This is not a formula, but a constant simple schema of a table complex. Wire remains, then do a right click of the terminal of the initializer of the feedback node and select "create constant. That should do it.

  • I want to activate the outputs audio multiples to be active, so I don't have to wear my helmet all the time, or need to disconnect anything to the speakers.

    Pretty simple question really. I want to activate the outputs audio multiples to be active, so I don't have to wear my helmet all the time, or need to disconnect anything to the speakers. I checked the 'sound' thing in the Control Panel, but the enable option is not letting actually work. So if I want friends to hear my video games or something else, I turn on my speakers and they can hear it now.

    Thank you.
    Windows 7, 64 bit.

    Audio original tittle: multiple

    Windows does not support this. This is handled by the device drivers or hardware - if they don't support the outputs multiple, you can try the search for an alternative solution.

  • I want to increase the speed of scaling over time, but I have no idea how do.

    I don't know how I explain it, but as the title says, I want a clip to scale upwards or downwards faster over time. I've checked everything but I couldn't get on mine. Any help would be appreciated

    Too bad everyone! I found it myself. That's what I was looking for https://www.youtube.com/watch?v=vbI-qmTTGww

  • Is there a fault with upgrade 2.13.121 for the interface Adobe Creative Cloud? I want to check the updates of the program and update freezes at 5% - I have now tried 6 to 8 times to + 5 min once - it's over half an hour of my life!

    Is there a fault with upgrade 2.13.121 for the interface Adobe Creative Cloud? I want to check the updates of the program and update freezes at 5% - I have now tried 6 to 8 times to + 5 min once - it's over half an hour of my life!

    Hi David,

    Please check the help below document:

    https://helpx.Adobe.com/creative-cloud/KB/Error_Code_2_failed_update.html

    Kind regards

    Sheena

  • How do I turn 3 forms different finite life span of output voltages and synchronize the other with an input channel?

    Hello

    I'm doing a tension of 3-story ramp.  One who goes from 0V to-1V can-1V to + 1V and finally wear the voltage of + 1V to 0V.  The main feature is that I try to sync input only a channel for the median ramp.  I get the expected input but my output voltage on the oscilloscope is not correct.  The entry and exit and goes a box NI USB-6229. On the oscilloscope, you can consider the following issues:

    1. There is a gap between the end of the 1st ramp and the beginning of the 2nd ramp

    2. once the main finished once, ramp voltage immediately returned to-1V and again another ramp until it reaches 0V, then levels out for another short period of time

    3. the cycle then repeated from the beginning, completely missing ramp 3

    If all those who think they might help in any way, I would appreciate any input.  If someone tries the attached program: I used these settings: entry rate = 1000; #data points = 200; DT = 0.0005

    -Kyle Shiel

    If you want to copy your ramp of 3 floors without any pause between steps, you must accumulate the entire waveform (all 3 steps concatenated) and write in your output task at once (similar format This example, but no need to start and you need to replace with your own generated table waveform).

    I would just at the entrance to the beginning of the analog analog output task.  You can use the DAQmx Trigger Start.Delay property if you want to wait for the 2nd phase begin to acquire, or you could simply acquire all 3 steps and analyze what you need.

    Best regards

  • How to control the output voltage?

    Good time after some time can get the output voltage, but this value is alwayscontinuous. How to control the voltage output through a Boolean? In

    in order to get this tension when I want to.

    Greetings.
    Hugo Santos

    Hi Hugo,.

    If you use a LabVIEW project, you must set the time of sampling in the properties of the node (see SamplingInterval.png). But this time to refresh the data should be high enough. If you take into account this update of time trying to control your way out.

    Kind regards

  • DAQmx task start-up delay / quickly generate arbitrary output voltages

    Hello

    (Sorry, I m new to this forum and could not find a reasonable solution by using the search)

    I develop a c# multithreaded application that generates a waveform in the 'background' using output buffering simultaneously, captures the images via a firewire camera and treat them. I have a second channel DA free that I would use when debugging a marker in real-time so that I can check on an oscilloscope which is the relative condition of simultaneous processes, i.e. output a voltage of 1 V while treatment step 1, 2 Volts to processing step 2 etc. or I would be out a short spike at some critical point. This is done using a task as

    DA_Task_sgl = new Task();
    DA_Task_sgl. AOChannels.CreateVoltageChannel ("/ Dev1/ao0", "DA0" - MXVOLTAGE, MXVOLTAGE, AOVoltageUnits.Volts);
    DA_Task_sgl. Control (TaskAction.Verify);
    DA_Task_sgl. Timing.SampleTimingType = SampleTimingType.OnDemand;
    DA_Writer_sgl = new AnalogSingleChannelWriter (DA_Task_sgl. Stream);

    then, when I want to change the tension

    DA_Writer_sgl. WriteSingleSample (true blood);

    A similar technique worked pretty well using Traditional NI DAQ, but with NIDAQmx and the concept of task, it seems that a voltage of output value takes about 1.5 ms (also of time CPU) which is too slow in many cases. With Traditional NI DAQ two consecutive calls to AO_VWrite() may generate a COB with only a few µs endeavors instead. I guess that the delay in the NIDAQmx is mainly determined by start and stop work, etc.

    Is there a way to avoid all this (in NIDAQmx) and more direct access to the underlying hardware?

    (Please Don t tell me that it is a limitation of Windows, NOR-Trad code clearly shows that it was possible, clearly the thread may be interrupted during the output voltage, but is also my treatment, exactly what I want TO check with this technique, but that 1.5 ms the delay is still there!)

    (Currently used card PCI-6014 with NIDAQmx 9.x, but I think that it s not the card which is itself too slow, I can get the update rate Analog > 100 kHz on the string of voltage waveform via DMA)

    Thank you

    Joachim

    Hi fabwes,

    The snippet you posted on request AO.  This means that whenever you write we go and search equipment to generate tension.  Your assumption is correct, the slowness that you see is because of the job template.  Whenever you are calling WriteSingleSample the task is launched, the tension is out, and the task is stopped.  I suggest the following code:

    DA_Task_sgl = new Task();
    DA_Task_sgl. AOChannels.CreateVoltageChannel ("/ Dev1")

    ("/ ao0", "DA0" - MXVOLTAGE, MXVOLTAGE, AOVoltageUnits.Volts);
    DA_Task_sgl. Timing.SampleTimingType = SampleTimingType.OnDemand;

    DA_Writer_sgl = new AnalogSingleChannelWriter (DA_Task_sgl. Stream);

    DA_Task_sgl. Control (TaskAction.Start);

    DA_Writer_sgl. WriteSingleSample (false / * since we are already started, this parameter is essentially ignored * /, tension);

    This slight change gets the load to start the task of the road before start you writing.

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

  • Gradual increase of the output voltage

    I use EAnalogOut.vi from LabJack U12 for the U12 4 volts AO0 value. The instant change of output voltage is at the origin of the problems with the engine I use, so I ask: does anyone have an idea how I could program in the current diagram. To move gradually to 4 volts when first executed in the while loop and then little by little to down to 2.5 volts.

    Instead of having a value of 4 GB in the analogue output VI, you must have your loop to change the value in small steps.  Have a wait function in this loop.  Use a shift register to feed into it and increment this registry to offset by small steps.  Between the timer of the waiting and the number of steps and the size of the markets, you set will determine how long it takes to ramp to 4 volts.  And of course more stages with smaller increments will be a smooth ramp.

Maybe you are looking for

  • ChartObjects SetSourceData labview Excel

    Hi all I am currently writing program for Labview data to Excel. I did a file with graphics model in each excel worksheet and I want to choose a given chart (2) in a given worksheet (4) to define the Data Source. My problem is that SetSourceData, met

  • Table line switch

    Hello I work with a system with a log file. A small part of the file is added as an attachment. What I want to do is to scan the file and put the date the most recent (30/03/2010) at the top. So the dates must go from the date of the most recent to t

  • Windows Vista has not saved password for shared network folder

    Whenever I try to open any resource on our network, it always ask password click even RECORD on several times. I checked in the credentials manager, there is no password is saved and I tried to add the IP network to share resources, but also has not

  • Photosmart C4280 All - in-one printer

    Out of the blue, I have my printer has a message that says that it has not detected a printer cartridge.  After going through the troubleshooting guide, I ended up replacing both my printer cartridges.  This message went, but when I try and print som

  • VPN site to Site on a local network with ISA570

    Hello! We have a Cisco Firewall ISA570 in our office and now, I bought a second one for a remote location. Now I aim to connect these two sites via the IPsec Site-to-Site VPN. Since we have no information about the public IP address on the new locati