Please enable JavaScript to view this site.

This instruction provides information about the boards directly connected to the CPU.

Syntax

i32 get_hw_info (i32 nSlot , stru_hw_info stru [, i32 info=0])

nSlot

Slot number present in the rhw.cfg file.

NOTE: nSlot does not correspond to the number of slots that are assigned to Axioline modules.

stru

Structure of type stru_hw_info where the information is saved when the function is called

info

Parameter to request desired or current values. (optional, default 0)

Value

Description

1

Current values are returned

0

The values in the rhw.cfg file are returned

NOTE: Values differ only in the case of alarm 988.

Result

Returns:

Value

Meaning

<> 0

Successful operation

0

nSlot is not within the expected range. Alarm 9900 is generated

Validity

Task

System Requirements

RTE 34.20.3

Note

The info parameter was implemented by RTE 34.27.2

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC