I am trying to read a position from an encoder.
I start at zero and and every time zero is present the counter should be
incremented by one.
However before the routine reaches its start point the zero from the
position encoder has been present for about 10k cycles, so my counter has
some large value on it.
I need to filter this so that the routine can distinguish a zero and count
it as one, then the first part of the routine is run and the position
encoder increments to value x and returns to zero, where my counter should
be incremented by 1 not y amount of cycles.
Hope this makes sense
Cheers
Amrik
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
I start at zero and and every time zero is present the counter should be
incremented by one.
However before the routine reaches its start point the zero from the
position encoder has been present for about 10k cycles, so my counter has
some large value on it.
I need to filter this so that the routine can distinguish a zero and count
it as one, then the first part of the routine is run and the position
encoder increments to value x and returns to zero, where my counter should
be incremented by 1 not y amount of cycles.
Hope this makes sense
Cheers
Amrik
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
I am curious if you have asked that question of GreenLeaf? Also have your
tried using some of the same functionality types with the VEE equivalent? I
have not tried any VEE serial communications since the patch has been
implemented. What in particular is the communication type you are trying?
Very interested to know,
Mark
-----Original Message-----
From: Barrie Walden [mailto:bwalden@whoi.edu]
Sent: Thursday, May 13, 2004 1:30 PM
To: VRF
Cc: VRF
Subject: [vrf] Windows Patch problem - YIKES
Hi Folks,
As many of you may know, I am not a big fan of Vee's serial port
capabilities and therefore I use GreenLeaf CommX ActiveX objects for
serial I/O. Last week a number of Windows 2000 machines running one of
my better application were "upgraded" with a number of Microsoft
"critical" security patches. You guessed it - my code will no longer
run. An error is reported by the User Functions containing the CommX
objects when certain GreenLeaf functions are called. If I add an error
output pin to the culprit GreenLeaf function call box, the error simply
moves further into the code and another GreenLeaf function reports a
problem.
Removing the OS patches one at a time seemed to indicate that KB835732
was causing the difficulty. However, the problem reappeared after
restoring all patches except 732. I learned that the problem does not
occur immediately and its not clear what triggers it. It does seem that
once the problem occurs the first time, it always occurs - the
application will never run again. At this point it seems that removing
patches KB329115, KB823980 and KB835732 eliminates the problem and
probably one (or two?) of these patches is OK but, so far, I haven't
been able to figure out which one.
Any thoughts?
Barrie
whoi
---
You are currently subscribed to vrf as: Mark.Goldberg@ATK.COM
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".