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

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


Feedback


Yes No

Related Categories

Products

Development Topic

Related Links - Developer Zone

Related Links - Products and Services

One Axis Contour Move in C#.NET

1 ratings | 3.00 out of 5
Print

Downloads

Filename: oneaxiscontourmovemonitor.zip
Requirements: View

This example demonstrates how to perform a one-axis contour move in Microsoft Visual C#.

When the form loads, a single period sine wave array with an amplitude of 1000 is generated. After clicking the start button, the axis selected is set to Absolute Contouring mode, the buffer is configured and written to, and the move begins. The move will continue until the Move Complete status is true or an error occurs.

The motion functions used in this example are imported directly from the FlexMotion32.dll using the DLLImport method.

Requirements


Filename: oneaxiscontourmovemonitor.zip

Software Requirements


Language(s): C#
Additional Software: Visual Studio .NET 2003

Hardware Requirements


Hardware Group: Motion Control
Hardware Model: PCI-7330, PCI-7350, PCI-7340
Driver: NI-Motion 6.1.2

 
1 ratings | 3.00 out of 5
Print

Reader Comments | Submit a comment »

alternative?
would you have a similar tutorial/documentation using LabVIEW please?
- Aaron Cheng, Imperial College. yi.a.cheng@imperial.ac.uk - Jan 13, 2006

 

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/).