# EventLog Catergories

**URL:** <https://tech-community.robotics.abb.com/t/eventlog-catergories/2686>\
**Category:** Developer Tools\
**Created:** [April 17, 2009, 8:57am UTC](https://tech-community.robotics.abb.com/t/eventlog-catergories/2686 "2009-04-17T08:57:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dezino](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Dezino](https://tech-community.robotics.abb.com/u/Dezino)\
**Post date:** [April 17, 2009, 8:57am UTC](https://tech-community.robotics.abb.com/t/eventlog-catergories/2686/1 "2009-04-17T08:57:23Z")

</div>

Hi All

I am trying to display controller events on a custom page on the FlexPendant. I managed to achieve this by using the code:

cat = log.GetCategory(CategoryType.Program); where I access the catergory type directly i.e Program, but when I use the enumeration of the catergory type using array indexing these fails. The code for this is:

cat = log.GetCategory[4];

May you please assist on how I can solve this problem.  
I am using: RAB5.11.01, RS5.11, VS2008

Thank You
