Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Repeating Breakpoints

1 ratings | 1.00 out of 5
Print

Downloads

Filename: repeatingbp.zip
Requirements: View

This example configures a repeating breakpoint for a specific encoder position. This example consists of a move sequence with two point-to-point moves. A task breakpoint is configured in the Breakpoint property page. The total number of breakpoints is set to 6. A single breakpoint position is specified on the Position subtab. The AutoEnable property is set to True. When the Start method is called, a breakpoint is automatically enabled at the specified position. When the encoder passes through that position, the BreakpointProgress event is generated. When this event is generated, a Measurement Studio Slide control on the form is updated to display the number of breakpoints completed. The breakpoint is then re-enabled. The second move passes through the breakpoint position in the reverse direction.

The task Iteration property is set to 3 so that the move sequence repeats until the requested number of breakpoints have occurred. The breakpoint operation terminates when the number of breakpoints completed is equal to the value of TotalPoints.

Note: Breakpoint functionality is available only on servo and closed-loop stepper axes that use encoder feedback resources.

Requirements


Filename: repeatingbp.zip

Software Requirements


Application Software: Measurement Studio Visual C++ Support 6.0
Toolkits and Add-Ons: Measurement Studio Motion Control Module
Language(s): Visual Basic

Hardware Requirements


Hardware Group: Motion Control
Driver: NI-Motion 7.7

 
1 ratings | 1.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).