09-22-2009 03:28 PM
Hi! This is my first programming project (LabVIEW or otherwise), and I think know what I want, but I don't know how to do it.
I am graphing and recording the displacement of a laser, and I want to be able to "zero" the measurements when I press a button.
Right now, I'm using the Basic Serial Read Write.vi from the examples, only I added a waveform chart so we can see the displacement change in real time. It works and plots the output from the laser sensor, but I want to be able to hit a button that captures the displacement at that moment to create a reference and subtract it from the signal as it streams in and graphs the difference between the two. I don't know how to actually do this in LabVIEW, or if this is the best way to do it, but I'm open to suggestions!
Any help is greatly appreciated!
09-22-2009 03:30 PM
09-22-2009 07:51 PM
Harold I think you missed what he was trying to do.
@OP: You are trying to calibrate the machine to subtract a baseline value, correct?
Take a look at the attached VI and see if it is what you wanted.
09-22-2009 08:07 PM
thanks cory, I think I read it a bit to fast lol
09-22-2009 10:28 PM
Harold Timmis wrote:thanks cory, I think I read it a bit to fast lol
Its alright, reading and writing are for text programmers anyway
09-23-2009 12:53 PM - edited 09-23-2009 12:53 PM