Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleEXAMPLE
/*
If the tag begins with a ' or a /, the tag is ignored.
Important! Initialize the first table element (at Index 0) last (because 
a blank string in Index 0 tells the driver that the
string table has not yet been initialized).
*/
stPublicListOfStrategyTags[0] = "";
stPublicListOfStrategyTags[1] = "f32.MyFloat.rw";
stPublicListOfStrategyTags[2] = "i32.MyInt32.rw";
stPublicListOfStrategyTags[3] = "i64.MyInt64.rw";
stPublicListOfStrategyTags[4] = "s.MyString.rw";
stPublicListOfStrategyTags[5] = "t.MyUpOrDownTimer";
stPublicListOfStrategyTags[6] = "i32b.MyInt32UsedAsBoolean.rw";
stPublicListOfStrategyTags[7] = "i32t.MyInt32Table[0-9].rw";
stPublicListOfStrategyTags[8] = "i64t. MyInt64Table[0-20].rw";
stPublicListOfStrategyTags[9] = "f32t.MyFloatTable[10-19].rw";
stPublicListOfStrategyTags[10] = "st. MyStringTable[0-9].rw";
stPublicListOfStrategyTags[11] = "dio.MyDiscretePoint";
stPublicListOfStrategyTags[12] = "aio. MyAnalogPoint.rw";
stPublicListOfStrategyTags[13] = "i32te.MyInt32TableElement[5].rw";
stPublicListOfStrategyTags[14] = "i32tebp.MyInt32TableElementBitPick[9].2.rw";
stPublicListOfStrategyTags[15] = "i64tebp. MyInt64TableElementBitPick[5].8.rw";
stPublicListOfStrategyTags[16] = "i32bp.MyInt32BitPick.1.rw";
// Remember, initialize index 0 last!
stPublicListOfStrategyTags[110] = "dio.MyDiscretePointWrite.rw";

...