I am trying to work with GPIB instruments through an NI board. Defining and opening the connection appears to work fine:
g = gpib('ni', 0, 0);fopen(g);
But when I try to send a command the the device:
fprintf(g,'SOMECOMMAND');
I receive an error: ERROR: Error using icinterface/fprintf (line 147) GPIB: NI: GPIB board is not Controller-In-Charge and is not properly addressing itself.
Best Answer