Scroll to navigation

CFGN(3) Utility Functions CFGN(3)

NAME

CFGn - generate 'configure n meters' command byte

SYNOPSIS

#include <gpib/ib.h>

uint8_t CFGn(unsigned int num_meters);

DESCRIPTION

CFGn() returns a 'configure n meters' command byte corresponding to the num_meters argument. num_meters (valid values are 1 through 15) specifies how many meters of cable are in your system. This is necessary in before high speed non-interlocked handshaking (a.k.a. HS488) can be used on the bus. The CFGn command byte must be preceded by a CFE command byte to take effect.

RETURN VALUE

The appropriate CFGn command byte is returned.

COPYRIGHT

Copyright © 2003-2006, 2008 Frank Mori Hess

11/28/2025 linux-gpib 4.3.7