Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Automatically Running an Onboard Program Every Time NI-Motion Controller Powers Up

Primary Software: Driver Software>>NI-Motion/FlexMotion
Primary Software Version: 6.1.2
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Motion Control>>Controllers

Problem: I developed an onboard program and I'd like to have it run automatically when my NI-Motion controller powers up. How can I do this?

Solution: Enable Auto Start VI (flex_enable_auto_start) allows you to automatically run a program when the controller powers up. The Enable Auto Start VI configures the controller to automatically start an onboard program on power up. Once auto start is enabled, the controller automatically executes the onboard program specified whenever the controller is powered on.

To setup your motion controller so that it will automatically run when powering up, the onboard program to be executed should be saved to FLASH using the Object Memory Management VI before the controller is powered down. If the controller does not find a valid program that it can load, NIMC_autoStartFailedError is generated. If the onboard program is removed from FLASH memory, the auto start functionality is disabled.

Related Links: National Instruments Motion Control Support Homepage

Attachments:





Report Date: 03/16/2004
Last Updated: 06/23/2004
Document ID: 37FE7U45

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit