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

Onboard Program - Continuous High Speed Capture into General Purpose Buffer

2 ratings | 3.00 out of 5
Print

Downloads

Filename: onboard-hsi-gpbuffer.vi
Requirements: View

This onboard program demonstrates the concepts of onboard programming, high-speed capture and general purpose buffers. The onboard program starts a single axis move and enables high-speed capture on the trigger axis. When a trigger is detected, the encoder position is captured and saved to an onboard general purpose buffer. When the move is complete, the buffer data is retrieved by the host.

Equipment needed:
1) Closed-loop motor
2) Flexmotion Motion Controller (PCI-7344)
3) Motor Drive
4) Digital trigger

To Run VI:
1) Initialize board in MAX
2) Configure the board ID and axis number
3) Set target position and velocity
4) Configure Buffer size
5) Start VI
Trigger axis input once motion starts and see that the encoder position is recorded on each trigger

Requirements


Filename: onboard-hsi-gpbuffer.vi

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Motion Control
Driver: NI-Motion 8.0, NI-Motion

 
2 ratings | 3.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/).