Provided by: libgpib-doc_4.3.7-4_all bug

NAME

       SendDataBytes - write data

SYNOPSIS

       #include <gpib/ib.h>

       void SendDataBytes(int board_desc, const void *data, long count, int eot_mode);

DESCRIPTION

       SendDataBytes() writes data to the bus. One or more devices must have already been addressed as listener
       (and the board as talker) before calling this function. Addressing may be accomplished with the
       SendSetup() function.

       count bytes are written from the array specified by data. The eot_mode argument specifies how the message
       should be terminated, and may be any of the following values:

       Table 12. eot modes
       ┌──────────┬───────┬──────────────────────────────┐
       │ constantvaluedescription                  │
       ├──────────┼───────┼──────────────────────────────┤
       │ NULLend  │ 0     │ Do not assert EOI or add a   │
       │          │       │ newline at the end of the    │
       │          │       │ write.                       │
       ├──────────┼───────┼──────────────────────────────┤
       │ DABend   │ 1     │ Assert EOI with the last     │
       │          │       │ byte of the write.           │
       ├──────────┼───────┼──────────────────────────────┤
       │ NLend    │ 2     │ Append a newline, and assert │
       │          │       │ EOI with the newline at the  │
       │          │       │ end of the write.            │
       └──────────┴───────┴──────────────────────────────┘

       You may find it simpler to use the slightly higher level functions Send() or SendList(), since they does
       not require addressing and writing of data to be performed separately.

COPYRIGHT

       Copyright © 2003-2006, 2008 Frank Mori Hess

linux-gpib 4.3.7                                   11/21/2025                                   SENDDATABYTES(3)