11-10-2012 06:37 AM
Hello A.E.P
Sorry for my late reply.
Can you upload the VI as a 2010 version of Labview ?
Thanks in advance
Oesen
11-10-2012 08:31 AM
Sure Attached is the 2010-version.
11-10-2012 02:17 PM - edited 11-10-2012 02:18 PM
@Oesen wrote:
Thanks for the reply Alex
When i connect the daq device to my computer and run the VI, the y-value starts at something abou 1 psi as you can see on the picture below. Can i make a auto resetting function, which let the y-value starts at 0 psi everytime i run the VI ?
Let's assume that your instrument has a random offset and you want to define the first data value as zero and treat all subsequent values relative to it.
All you need is keep the first value in a shift regisiter, and subtract it from all readings, including the first.
Here's what you could do.
Now the first point is always zero and all other readings are relative to it.
11-12-2012 07:28 AM - last edited on 11-12-2012 11:56 AM by altenbach
Thanks for the answers
I have tried to use your mehtod Altenbach:
The graph always start at the zero point as i want, but it doesn't move through the time axis now ?
This is NOT my method. Stop redefining "t0" with each read. That makes no sense!
Why do you only show pictures? Attach your actual code instead!
11-12-2012 01:45 PM
Here is my VI: