![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
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 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...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...