Book a Demo

Author Topic: Creating Array Types  (Read 1952 times)

RedEric

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Creating Array Types
« on: February 26, 2009, 08:44:45 pm »
I am a relative new user to EA after having use Artisan RTS for several years.
I want to know how to create an array type within EA to allow it to be used as a parameter to a function.  Artisan RTS has a simple radio button to create an array.
I have tried reverse engineering the following C Code into EA but it failed to create a type.

    typedef struct DiscreteConfig DiscreteConfigArrayType[PADI];

    struct DiscreteConfig
    {
        uint8_t Pad_Index;
        DiscreteIOType DiscreteType;
        DSCType DSC;
        uint8_t InUse;
    };

Thanks in Advance