Difference between revisions of "NI488.2"
Jump to navigation
Jump to search
(Created page with '==Add GPIB-ENET/100 Wizard=== ''Device numbers can be changed later using Measurement & Automation Explorer'' Standard numbers:') |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | ==Add GPIB-ENET/100 Wizard | + | ==Add GPIB-ENET/100 Wizard== |
| Line 5: | Line 5: | ||
Standard numbers: | 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 . | ||
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 .