IBTERM(1)
β¨ IBTERM(1) β¨
okay bestie, welcome to the IBTERM(1) page from the Linux-GPIB User Manual β yes it's giving old-school, yes it's iconic, and yes we're gonna read the whole thing together π
πΈ NAME πΈ
ibterm β Interactive GPIB terminal π«Ά
π SYNOPSIS π
ibterm {-d primary_address} [-m minor] [-s secondary_address] [-i eoi]
[-e eos] [-r reos] [-b bin] [-x xeos] [-t timeout] [-p prompt]
[-f history_file] [-N] [-X] [-h]
π DESCRIPTION π
So basically: it's an interactive terminal program that sends commands to a device over an IEEE-488 general purpose instrument bus, and then prints whatever the device says back. That's the whole vibe. You type, it tells the instrument, instrument yaps back, you read it. Main character energy fr fr π
β¨ OPTIONS β¨
-daddress β Sets the device's primary address (aka the pad). This address has to be between0and30. No exceptions, no cap.-mnumber β Says which minor number of the device file this interface board is gonna use.0=/dev/gpib0,1=/dev/gpib1, etc. Defaults to0.-saddress β Sets the device's secondary address (the sad, and yes that's the real name π). It must be0(which means disabled) or between96and126(0x60and0x7ein hexadecimal). Defaults to0.-i0|1β Assert EIO with the last byte sent. Defaults to1(true).-ecode β The ASCII code of the end-of-string (eos) character. The code has to be between0and255. Defaults to0(no code).-r0|1β The terminate read on eos character (reos) flag. Defaults to0(false).-b0|1β Binary eos character match mode (bin) flag. Defaults to0(false).-x0|1β Assert EOI when transmitting eos (xeos) flag. Defaults to0(false).-ttimeout β Sets the IO timeout for the device. The timeout must be one of the values in the list below. The default value is10, which corresponds to300 milliseconds. β³-pstring β Sets the prompt. Defaults toibterm>.-ustring β Send Untalk/Unlisten after each read and write.-ffile β Command history file. Defaults to.ibterm_hist_<primary_address>.-Nβ No automatic read on device β you enter return at the prompt to read.-Xβ Force hexadecimal output.-hβ Print help and exit.
β° the timeout lore (the whole list, no skipping, periodt)
0β Never timeout1β 10 microseconds2β 30 microseconds3β 100 microseconds4β 300 microseconds5β 1 millisecond6β 3 milliseconds7β 10 milliseconds8β 30 milliseconds9β 100 milliseconds10β 300 milliseconds11β 1 second12β 3 seconds13β 10 seconds14β 30 seconds15β 100 seconds16β 300 seconds17β 1000 seconds
π NOTES π
- To quit the program, enter the EOF character (Ctrl+D) at the prompt. That's the exit door bestie πͺ
- For interactivity, the timeout should not be greater than
13β that's10 secs. Anything bigger and the vibes get sluggish. - A device read can always be triggered by hitting enter at the prompt. π
- > β οΈ Interrupting the program while reading from the device may cause hangs. Like, it can genuinely get stuck. Be careful out there π
π§ Implementation details π§
The program is implemented as follows:
loop:
Print prompt to stdout
Read a line of text from stdin
Write the text (if any) to the device at pad
If -N is not set, or no text was entered:
Attempt to read response from the device
If no response is received before timeout:
go to loop
else:
print the response on stdout
Go back to loop.
π SEE ALSO π
See the readline(3) man page for editing input and searching history. iykyk β¨
π COPYRIGHT π
Copyright Β© 2003-2006, 2008 Frank Mori Hess
and that's a wrap on the IBTERM(1) page from linux-gpib 4.3.7, dated 07/06/2026 β ty for reading, go slay some instrument commands, mwah πππ¦
π¦ where this page comes from
- ubuntu stonking: gpib-user-tools 4.3.7-6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms