I am looking for C code to get started writing the GPIB handler code for an
instrument. This is for a non-controller in charge instrument. Ideally I
would like some sample code for parsing GPIB commands, and performing the
correct statusing of the GPIB bus to be both 488.2 and 488.1 compliant. It
should handle cases such as *OPC as well as *OPC? being appended to the
command, and generate SRQ's appropriately.
There seems to be plenty of simple examples on National Instruments website,
but I haven't found any detailed robust examples. If anyone could point me
in the right direction I would appreciate it.