Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make GPIB-ENET listen-only? I want to emulate a printer.

How do I configure the GPIB-ENET to be listen-only?
I want to write a C program that captures printouts from my HP instruments.
I'm using Win2k.
Thanks!
0 Kudos
Message 1 of 4
(3,817 Views)
Hi,

The NI-488.2 header file shows the configuration value for Listen-only mode.

#define IbcLON 0x0022 /*Enter listen only mode*/

This parameter is to be used with ibconfig with a board-level unit descriptor. Any non-zero value will enable listen only mode.

Hope this helps.

DiegoF
National Instruments
0 Kudos
Message 2 of 4
(3,817 Views)
Yes, that was my first guess. It works fine with a different NI
AT-GPIB controller board, but with the GPIB-ENET all I get is an ECAP
capability error. Can this controller do listen-only?


On Mon, 17 Feb 2003 11:41:34 -0600 (CST), DiegoF wrote:
>Hi,
>
>The NI-488.2 header file shows the configuration value for Listen-only
>mode.
>
>#define IbcLON 0x0022 /*Enter listen only mode*/
>
>This parameter is to be used with ibconfig with a board-level unit
>descriptor. Any non-zero value will enable listen only mode.
>
>Hope this helps.
>
>DiegoF
>National Instruments
0 Kudos
Message 3 of 4
(3,817 Views)
Hi,

You are right. It seems that this controller does not support this feature. I tried the same operation on other interfaces (GPIB-USB and GPIB-ENET/100) and the attribute is set without errors.

DiegoF.
National Instruments.
0 Kudos
Message 4 of 4
(3,817 Views)