CHAPTER 2 INSTALLATION
65
cmdstr=’UNL UNT MTA LISTEN 23 24 GET’;
for i:=1 to 10 do
begin
iesend(cmdstr);
{ Trigger the DVN’s.
}
ieenter(dvml,instrl);
{ Enter DVN #1 reading
}
iochk;
{ Error check
}
ieenter(dvm2,instr2);
{ Enter DVN #2 reading
}
iochk;
writeln(i:4 ‘ V1 : ‘,instrl,’ V2 : ‘,instr2);
end;
end.
{ End of Program
}
B.
Example in Turbo Pascal
{ FILE NANE
:
EX5 TB.PAS
}
{
MULTIPLE DEVICE TRIGGERING
}
{ Purpose
:
This program triggers 2 voltmeters at the same
}
{
time to make the measurement simultaneously.
}
{ Remark
:
This program is written for the DP3478A DMN. If
}
{
another model of voltmeter is used, please check }
{
the operating manual and make necessary modifi-
}
{
cation to this program.
}
{ Language
:
Microsoft Pascal
}
Program exampleS(input,output);
{$I TBPGPIB.INC}
Procedure iochk;
{I/O error check routine}
var
errno : integer absolute $D000:$201A;
begin
case errno of
0
:
;
1
:
writeln(‘TIME OUT!t’);
else
writeln(‘INTERFACE ERROR!!’);
end;
end;
{ End of iochk }
var
cmdstr,instrl,instr2
: lstring;
i,dvml,dvm2;
: integer;
begin
{ Begin of main }
clrscr;
ieinit($2B8,21,0);
ieabort;
dvml:=23;
dvm2:=24;
{ Set the DVM’s }
Summary of Contents for PCLS-848-P
Page 1: ...PCLS 848 P IEEE 488 INTERFACE CARD PASCA SUPPORT PACKAGE USER S MANUAL...
Page 6: ...Figures Figuree 7 1 PCL 848A B Block Diagram 77...
Page 10: ...4 PCLS 848 P User s Manual...
Page 20: ...14 PCLS 848 P User s Manual...
Page 32: ...26 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false String is entered...
Page 37: ...CHAPTER 2 INSTALLATION 31 ieinit ioport myaddr setting...
Page 42: ...36 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false Long string is sent...
Page 56: ...50 PCLS 848 P User s Manual...
Page 80: ...74 PCLS 848 P User s Manual...
Page 83: ...CHAPTER 7 THEORY OF OPERATION 77 Figuree 7 1 PCL 848A B Block Diagram...
Page 84: ...78 PCLS 848 P User s Manual...
Page 95: ...CHAPTER 7 THEORY OF OPERATION 89...
Page 97: ...CHAPTER 7 THEORY OF OPERATION 91 Handshake Timing Sequence...
Page 102: ...96 PCLS 848 P User s Manual...