Difference between revisions of "NI488.2"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
==Interactive control== | ==Interactive control== | ||
+ | Set up the GPIB: | ||
gpib1: ibdev | gpib1: ibdev | ||
enter board index: 1 | enter board index: 1 | ||
Line 15: | Line 16: | ||
enter 'EOI on last byte' flag: 1 | enter 'EOI on last byte' flag: 1 | ||
enter end-of-string mode/byte: 0 | enter end-of-string mode/byte: 0 | ||
+ | Enable remote control of MC2000: | ||
+ | ud0: ibwrt "E" | ||
+ | [0100] ( cmpl ) | ||
+ | count: 1 | ||
+ | Query the buffer status: | ||
+ | ud0: ibwrt "B" | ||
+ | [0100] ( cmpl ) | ||
+ | count: 1 | ||
+ | Read the buffer status: | ||
+ | ud0: ibrd 60 | ||
+ | [2100] ( end cmpl ) | ||
+ | count: 3 | ||
+ | 2a 52 0d * R . |
Latest revision as of 01:49, 3 March 2010
Add GPIB-ENET/100 Wizard
Device numbers can be changed later using Measurement & Automation Explorer
Standard numbers:
Interactive control
Set up the GPIB:
gpib1: ibdev enter board index: 1 enter primary address: 16 enter secondary address: 0 enter timeout: 10 enter 'EOI on last byte' flag: 1 enter end-of-string mode/byte: 0
Enable remote control of MC2000:
ud0: ibwrt "E" [0100] ( cmpl ) count: 1
Query the buffer status:
ud0: ibwrt "B" [0100] ( cmpl ) count: 1
Read the buffer status:
ud0: ibrd 60 [2100] ( end cmpl ) count: 3 2a 52 0d * R .