![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022028.webp)
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.
NOTE
"triggin(8)" disables triggin. The default value is set to 8.
3-7
Summary of Contents for 7064
Page 2: ...Racal Instruments...
Page 6: ...I 1 1 1 1 1...
Page 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Page 29: ...I I I I I I I I I I I I I I I I I I I...
Page 57: ...1 I I I I I I I I I I I I I I I I I I...
Page 77: ...1...
Page 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Page 112: ......
Page 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Page 115: ...7 32...
Page 148: ......
Page 164: ...I I I I I I I I I I 1 I I I I I I I I...
Page 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...