I have the following header file for use in a project that uses the config wizard, however on trying to select "Rate Mode" in the drop down on the config wizard page, I get an "Item not found" error and uvision crashes. Does anyone know the cause, or a solution? I can edit the value manually in the code to the desired values, but this defeats the point of using the config wizard!
/** * @file Gold_Amplifier_Config_0.h * @brief Provides config options for Gold_Amplifier.c * @date 04/05/17 */ // <<< Use Configuration Wizard in Context Menu >>> // Define to prevent recursive inclusion #ifndef __GOLD_AMPLIFIER_CONFIG_0_H #define __GOLD_AMPLIFIER_CONFIG_0_H /* =============================================================================== Includes =============================================================================== */ // Standard definitions file // Middleware Includes // Non-module Specific Includes // Module Specific Includes #include "CAN_Open_Master.h" /* =============================================================================== Public Defines =============================================================================== */ #define RTE_CAN_OPEN_0 // <h> CAN Settings // <o> CAN Open Instance <0=> 0 <1=> 1 #define SELECT 0 #if (SELECT == 0) #ifdef RTE_CAN_OPEN_0 #define GOLD_AMP_CAN_OPEN_INSTANCE_0 CAN_OPEN_0 #else #error "CAN Open instance 0 not configured" #endif #elif (SELECT ==1) #ifdef RTE_CAN_OPEN_1 #define GOLD_AMP_CAN_OPEN_INSTANCE_0 CAN_OPEN_1 #else #error "CAN Open instance 1 not configured" #endif #endif #undef SELECT // <o> CAN Node ID <0x00-0x7F> // Ensure all CAN IDs are unique on the bus! // Range is (0x00 - 0x7F) #define GOLD_AMP_NODE_ID_0 0x01 // </h> // <h> Feedback Settings // <o> Feedback Location <0=> Motor <1=> Output #define GOLD_AMP_FEEDBACK_LOCATION_0 0 // <o> Gear Ratio Numerator <1-4294967296> // The numerator of the gear ratio between the motor and the output #define GOLD_AMP_GEAR_NUMERATOR_0 1 // <o> Gear Ratio Denominator <1-4294967296> // The denominator of the gear ratio between the motor and the output #define GOLD_AMP_GEAR_DENOMINATOR_0 1 // <o> Feedback Resolution <1-268435456> #define GOLD_AMP_FEEDBACK_RESOLUTION_0 262144 // </h> // <h> Drive Settings // <o> Amplifier Drive Mode <1=> Position Mode <3=> Rate Mode <4=> Current Mode #define GOLD_AMP_DRIVE_MODE_0 1 // <o> Continuous Current Limit // In mA #define GOLD_AMP_CURRENT_LIMIT_0 7000 // <o> Peak Current Limit // In mA #define GOLD_AMP_PEAK_CURRENT_0 10000 // <o> Peak Current Duration // In seconds #define GOLD_AMP_PEAK_DURATION_0 3 // </h> #endif /* __GOLD_AMPLIFIER_CONFIG_0_H */ /************************ (C) COPYRIGHT ****** END OF FILE *****/