Zeroing data with zeroPoint


Dobbeljoe

Recommended Posts

Dear, 

I have a test set-up with 3 lasers to measure the distance between the lasers and an object.

I want to measure the actual distance and also the change of distance over time. Therefore I want to zero the data of all three lasers.

I use 'zeroPoint' for this. I would expect that I can create three 'zeroPoints' (e.g. 1,2 and 3), one for each laser.

But it seems that I can use only one 'zeroPoint', meaning that the same value is subtracted from the data of all three lasers.

How can I set the zero for each individual laser?

Below is a screenshot of the page that is relevant (page 2).

I also attached the prototype of the DF application so it is hopefully more obvious what I am trying to explain here. 

image.thumb.png.f9df44b55f29e986f4c30f40d12cba9f.png

 

Laser Kruiptest English v5.ctl

Link to comment
Share on other sites

You started to go down the right path, but didn't.  You need three variables, like the ZeroPoint1, ZeroPoint2, and ZeroPoint3 you declared in your SetGlobalZero sequence, which apply to each of the three lasers.  You created these and also ZeroPoint, but then used the same ZeroPoint variable for all three lasers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.