Fluke 2635A user manual DIOLEVELS? Digital I/O State Query, Dir

Models: 2635A

1 268
Download 268 pages 28.28 Kb
Page 135
Image 135

Computer Operations 4

Computer Interface Commands and Operation

Table 4-5. Command and Query Reference (cont)

DIO_LEVELS? Digital I/O State Query

Returns an integer between 0 and 255 that summarizes the logical state of the rear panel DIGITAL I/O lines 0 to 7. A logical 0 (low) means the line is asserted. Since the lines can be used as alarm outputs of digital inputs or outputs, the return represents the actual conditions at time of query. There are 256 possibilities, as shown in Appendix E.

 

Example: DIO_LEVELS? returns 145 [DIGITAL I/O lines 1, 2, 3, 5 and 6 are asserted

 

(logic low).]

 

 

 

 

 

 

 

 

DIR

Memory Card Files Directory

 

 

 

 

Print a formatted listing of files on the memory card. This includes number of files, bytes

 

used, and bytes free. While the directory is printing, all other operations in the

 

instrument are suspended. If hardware or software flow control stall this output, the

 

instrument waits for the output to be unstalled.

 

 

Example; DIR returns:

 

 

 

 

DAT00.HYD 826

07-21-1994

16:20

 

DAT01.HYD 1082

07-21-1994

16:50

 

SET00.HYD 730

07-21-1994

17:10

 

SET01 HYD 730

07-21-1994

18:30

 

4 FILE (S)

3368

BYTES

 

 

 

1030656

BYTES FREE

 

 

 

 

 

DO_LEVEL

Set Digital Output Level

 

 

 

 

Configures the eight rear panel DIGITAL I/O connector lines, I/O connector lines, I/O 0

 

to I/O 7.

 

 

 

DO_LEVEL <DO_line>,<DO_state> <DO_line> = (0 .. 7) <DO_state> = 1 0

The rear panel DIGITAL I/O connector has eight lines, 0 to 7. Each line can be assigned to an I/O function. With this command, the line may be set to a logical low (nominal +0.7V DC), or set to a logical high (nominal +5.0V DC). DIGITAL I/O lines are asserted while scanning. When scanning stops, the I/O lines set logic low remain low unless values have been cleared by a new DO_LEVEL command, REVIEW_CLR, or by changing any parameter on any channel. Since I/O lines are shared with the alarm outputs of channels 4 to 20, verify DO_LEVEL commands will not cause ambiguities. (See the ALARM_ASSOC_CLR command to disassociate an alarm with an I/o line.) If this command is entered during scanning while logging to the memory card, an Execution Error is generated.

Example: DO_LEVEL 4, 0 [Set I/o line 4 to a logical 0 (low).]

4-31

Page 135
Image 135
Fluke 2635A user manual DIOLEVELS? Digital I/O State Query, Dir