[Semaphore] tab

This tab displays the semaphore information (e.g. Semaphore Name and ID) of the RI850V4.

Figure A-6. [Semaphore] Tab



The following items are explained here.

- [How to open]

- [Description of each area]

- [Context menu]

[How to open]

- From the [Debug] menu, select [Download].

- From the [View] menu, select [Realtime OS] >> [Resource Information].

[Description of each area]

(1) Information display area

(a) First layer

This layer displays the semaphore information (e.g. Semaphore Name and ID) of the RI850V4.

This layer consists of the following items.

Semaphore Name

An icon indicating the current status of the semaphore and the name of the semaphore are shown in the following format.

Icon Name

Note that if the name of the semaphore is undefined, the name will appear as "ID".

There are waiting tasks.

There are no waiting tasks.

ID

The ID of the semaphore is shown.

Queue Status

The current status of the semaphore is shown.

Waiting Tasks

There are waiting tasks.

Empty

There are no waiting tasks.

Current Count

The current resource count of the semaphore is shown.

Max Count

The maximum resource count of the semaphore is shown.

Initial Count

The initial resource count of the semaphore is shown.

Attribute

The task queuing method is shown.

TA_TFIFO

FIFO order

TA_TPRI

Task priority order



(b) Second layer

The waiting task information (e.g. Task Name and ID) only appears if there are tasks queued in the semaphore's wait queue.

See the [Task] tab for details about waiting task information.

Figure A-7. [Semaphore] Tab (Waiting Task Information)



[Context menu]

The context menu displayed in response to a right mouse click differs as follows depending on the area clicked.

(1) Header row

Display

Displays cascade menus for selecting the header items to display.

Selected item name

The following items are displayed for selection.

Semaphore Name, ID, Queue Status, Current Count, Max Count, Initial Count, Attribute

Checked

The item in question will be displayed.

Not checked

The item in question will not be displayed.

Notation

Displays cascade menus for selecting the display notation.

Selected item name

The following items are displayed for selection.

ID, Current Count, Max Count, Initial Count

DEC

Displays value in signed decimal number.

HEX

Displays value in hexadecimal number.



(2) Footer row

Service Call

Displays the types of service calls that can be issued.

Note that if a service call is not embedded in (linked to) the downloaded program, or the necessary conditions for executing the service-call process are not met, then the service call will be grayed out.

sig_sem

Release semaphore resource.

pol_sem

Acquire semaphore resource (polling).

Reset Display Item

Resets the display item (e.g. whether or not to display header items, display notation, display order and display width).