VxiGetDevInfoNum Procedure

Gets information about a specified VXI device from the device configuration table.

Syntax

[ lStatus = ] VxiGetDevInfoNum ( lLA, lField, plResult )

The VxiGetDevInfoNum procedure syntax has the following parts:

 

Name

Type

Description

lStatus

Long

Status

lLA

Val Long

Device logical address

lField

Val Long

Field number

plResult

Var Long

The requested field

Comments

The lLA contains the logical address of the device and may be obtained using the GetDriverAddress function.

The lField specifies the field number in the configuration table as follows:

 

2

Commander's logical address

3

Mainframe

4

Slot

5

Manufacturer identification number

7

Model code

9

Device class

10

Extended subclass (if extended class device)

11

Address space used

12

Base of A24/A32 memory

13

Size of A24/A32 memory

14

Memory type and access time

15

Bit vector list of VXI interrupter lines

16

Bit vector list of VXI interrupt handler lines

17

Mainframe extender and controller information

18

Asynchronous mode control state

19

Response enable state

20

Protocols supported

21

Capability/status flags

22

Status state (Passed/Failed, Ready/Not Ready)

If lStatus is negative, an error has occurred. Otherwise, the function is successful.

Example

The following command gets the device class of a device at Logical Address 27, and the response is assigned to the Variable lResult.

VxiGetDevInfoNum (27, 9, lResult)

See Also

VxiGetDevInfoStr