Hi RC,
What you have described sounds a lot like a Software Limit. You can set these up in MAX, and save it as part of the axis configuration. Then you can use that configuration setting in LabVIEW or C++ (or any C development). To set software limits, go to MAX, and expand
Devices and Interfaces»NI-Motion Devices»PCI-73xx»Test»Axis X»Motion I/O settings Here you can setup your Software Limits. Be sure to save your settings when you are finished configuring. Basically, this will stop any move when the encoder moves past the limit in the correct direction. It will not inhibit the move when passing the limit in the negative direction. This might be a simpler approach to what you are trying to do.
Wes Pierce
Principal Engineer
Pierce Controls