DIAGnostic :INTerrupt:PRIority[n]

:INTerrupt:PRIority[n]

DIAGnostic:INTerrupt:PRIority[n] [< level> ] gives a priority level to the VXI

 

interrupt line specified by [n] in … PRIority[n].

 

Parameters

 

 

 

 

Parameter

Parameter

Range of

Default

 

Name

Type

Values

Units

 

 

 

 

 

 

level

numeric

1 through 7 MIN MAX DEF

none

 

 

 

 

 

Comments

• The priority of an interrupt line determines which line will be

 

 

acknowledged first in the event that more than one line is interrupting.

For level, lower values have lower priority (level 1 is lower priority than level 2).

No parameter, or DEF (default) sets priority to 1.

… PRIority1 through … PRIority7 specify the VXI interrupt lines 1 through 7.

Sending PRIority without an [n] value specifies VXI interrupt line 1.

This command has no effect if only one interrupt is to be set up.

Related Commands: DIAG:INT:ACT, DIAG:INT:SETup[n], DIAG:INT:RESP?

Example Setup, set a priority, and wait for VXI interrupt response on line 2.

DIAG:INT:PRI2 5

handle interrupt on line 2

DIAG:INT:PRI2 5

set priority to 5 on line 2

.

code which will

.

initiate an action

.

resulting in an interrupt

DIAG:INT:RESP?

Read the acknowledge response

:INTerrupt:PRIority[n]?

DIAGnostic:INTerrupt:PRIority[n]? Returns the current priority level set for

 

the VXI interrupt line specified by [n] in … PRIority[n]?.

Comments

… PRIority?1 through … PRIority?7 specify the VXI interrupt lines 1

 

 

through 7.

 

 

• Sending PRIority? without an [n] value specifies VXI interrupt line 1.

 

Related Commands: DIAG:INT:PRIority[n], DIAG:INT:SETup[n],

 

 

DIAG:INT:RESP?

 

Example Determine interrupt priority for line 4.

 

 

 

DIAG:INT:PRI4?

 

 

 

enter statement

statement returns 1 through 7

System Instrument Command Reference 7-21

Page 149
Image 149
Agilent Technologies 75000 SERIES B INTerruptPRIorityn?, DIAGnostic INTerruptPRIorityn, DIAGINTPRI2, DIAGINTPRI4?