Racal Instruments 7064 Instruction Manual page 28

Table of Contents

Advertisement

Example:
"outportb(2,10);" followed by "inportb(2)" writes to port 2 with a hex decimal value of
10, and reads this value back.
3.6.1.5 Word Commands - Two Consecutive Ports
outport(port,word);
inport(port);
coutport(card,cport,word);
cinport(card,cport);
Commands are provided for operations on 16 bit words. I n this case, two consecutive ports are
used as a 16-bit wont The port with the lower address is the least significant byte, and the port
with the higher address is the most significant byte. The port specified in these commands is the
lower address, which may be even or odd. The lower address port will be written first.
outport and coutport - ports are set to 16 bit value
inport and cinport - return the 16 bit value read from the ports.
Example:
"coutport(0,0,#B0000000011111111);" followed by "einport(0,0);" writes 255 in binary
to ports 0,1 o f card 0, and reads back the port value in decimal.
3.6.1.6 7064 Trigger Commands
triggin(trig_line);
trigout(trig_line);
triggen( );
These commands allow the 7064 to utilize any one of the eight(8) VXlbus 1TL trigger lines.
triggin - defines which 1 I L trigger line the 7064 will respond to.
trigout - defines which T I L trigger line the 7064 will generate a trigger on.
triggen - generates a trigger by the 7064 on the defined "trigout" line.
Example:
"triggin(1):" followed by "trigout(1);" sets up the 7064 to respond to and generate
triggers on VX1bus TTL trigger line 1. Every time the command "triggen(1);" is sent.
the 7064 triggers itself.
"triggin(8)" disables triggin. The default value is set to 8.
NOTE
3-7

Advertisement

Table of Contents
loading

Related Products for Racal Instruments 7064

Table of Contents