FlexPendant SDK 5.14 Release

FlexPendant SDK 5.14 Release

Release Notes

What?_Ts New##

Get a text snippet from a RAPID module

With the new method Module.GetText(TextRange range) you can now get the RAPID module text. You can get the entire text, or just a part of it.

Get the text range for RAPID language elements

The following RAPID related classes have got new properties which return the text range for various language elements like routine declarations and data declarations.

Given the text range you can get the corresponding text in the module. So instead of parsing the entire module text yourself in order to find a certain data declaration and modify it, you can use symbol search to find the data declaration by its name, and then ask for the text range, and get the text.

The extended classes and their properties are:

Module

  • DataDeclarationList
  • RoutineDeclarationList
  • TextRange
  • TypeDeclarationList

Routine

  • DataDeclarationList
  • StatementList

RapidData

  • DeclarationRange

File attributes

The new property ControllerFileSystemInfo.Attributes lets you retrieve the .NET FileAttributes information about a file or folder.

Event when a ListView column is clicked

The event ColumnClick was added to the ListView control of the FlexPendant SDK. This event is raised when a clickable column header is clicked. The column header is clickable if the ListView.View property is set to View.Details, the ListView.Sorting property is set to either SortOrder.Ascending or SortOrder.Descending and the property ColumnHeader.HeaderSorter of the column is set.

GetEventLogCategory(CategoryType) is obsolete

The number of event log categories are no longer fixed. RobotWare applications may install their own categories.

As a result the method EventLogDomain.GetEventLogCategory(CategoryType type) is obsolete. Use the GetEventLogCategory(int id) method instead.

The identities of the available event log categories can be found using the method EventLogDomain. EventLogCategory GetCategories() and the EventLogCategory.Id property.

Useful Topics

FlexPendant SDK 5.14 - Limited support for Visual Studio 2005

FP SDK 5.14 - No compact framework in VS2010