Lightwave Communications LDX-3232 User Manual

Page 45

Advertising
background image

R E M O T E O P E R A T I O N

Status Reporting

04_06

LDX-3232

29

C H A P T E R

3

For example, the user may turn the current source on (LAS:OUT 1), enable an
SRQ on Operation Complete (set *ESE 1 and *SRE 5), and have an SRQ
handling routine in the user's software, that reads a new measurement after the
output on state has been reached. This allows the use of the operation complete
features of the LDX-3232, without the need for program looping or polling that can
tie up the GPIB. Operation Complete on the LDX-3232 is defined as:

1

No operations to the LASER current source hardware are pending.

2

No EEPROM (non-volatile) memory write cycles are in progress.

Figure 3.2 LDX-3232 Status Reporting Schematic Diagram

Note: If the GPIB times out while waiting for a response, either set the GPIB time-our
longer or use SRQ generated interrupts in your program. See your GPIB manual for
time-out configuration or SRQ programming setup.

The *OPC, *OPC? and *WAI commands should not be used inside a calibration routine.

&

&

&

&

&

&

&

&

LOGICAL

OR

Standard

Event Status Enable

Register

*ESE

*ESE?

Service Request Enable

Register

*SRE

*SRE?

LOGICAL

OR

&

&

&

&

&

&

&

0 - Operation Complete
1 - Request Control
2 - Query Error
3 - Device-Dependendent Error
4 - Execution Error
5 - Command Error
6 - User Request
7 - Power On

0 – N/A
1 - N/A
2 – LASER Event
3 – LASER Cond.
4 - Message Available
5 - Event Status Summary
6 - Request Service/Master Status Summary
7 - Error Available

Status Byte Register

*STB?

SERVICE

REQUEST

GENERATION

{

OUTPUT

QUEUE

NOT-EMPTY

QUEUE

QUEUE

NOT-EMPTY

QUEUE

ERROR

{

{

{

Standard

Event Status Register

*ESR?

0

1

2

3

4

5

6

7

0

1

2

3

4

5

7

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

7

6

5

4

3

2

1

0

&

&

&

&

&

&

&

&

15 14 13 12 11 10

9

8

&

&

&

&

&

&

&

LAS : ENABl

e :

LAS : ENABl

e : COND

LASER Condi

ti

on Status Enabl

e

LASER Condi

ti

on Status Regi

ster

LASer : COND?

&

8

9

10

11

12

13

14

15

LOGI

CAL

OR

LOGI

CAL

OR

15 14 13 12 11 10

9

8

&

LASer : EVEnt?

LASER Event Status Regi

ster

LASER Event Status Enabl

e

LAS : ENABl

e : EVEnt

LAS : ENABl

e :

&

&

&

&

&

&

&

8

9

10

11

12

13

14

15

&

&

&

&

&

&

&

&

0

1

2

3

4

5

6

7

7

6

5

4

3

2

1 0

0 – Current Limit
1 – Voltage Limit
2 – N/A
3 – Power Limit
4 – Interlock
5 – N/A
6 – Comp. Voltage Limit
7 – Open Circuit
8 – Output Shorted
9 – Out of Tolerance
10 – Output On
11 – Ready for Calibration
12 – N/A
13 – N/A
14 – N/A
15 – N/A

0 – Current Limit
1 – Voltage Limit
2 – N/A
3 – Power Limit
4 – Interlock
5 – N/A
6 – Comp. Voltage Limit
7 – Open Circuit
8 – Output Shorted
9 – Tolerance Change
10 – Output On/Off change
11 – New Measurement Ready
12 – N/A
13 – N/A
14 – N/A
15 – N/A

Advertising