01-04-2006 11:39 AM
01-05-2006 12:54 AM
I think you may have a termination problem on GPIB write/read. Unlike recent IEEE488.2 or SCPI instruments, that old HP instrument may require explicit terminate conditions on IBWRT and IBRD operations.
As for writing, try to check a non-query programming command is accepted or not.
ibwrt( ud, "xxx\r"); -- send with CR terminator
ibwrt( ud, "xxx\n"); -- send with LF terminator
ibwrt( ud, "xxx\r\n"); -- send with CR/LF terminator
As for reading, the instrument may not send EOI signal on the final byte. Try to terminate with a specific termination character on read. The termination condition can be changed by:
ibeos( ud, 0x040A); - set LF for read termination
ibeos( ud, 0x040D); - set CR for read termination
01-05-2006 01:21 PM
05-14-2008 08:39 AM
05-14-2008 08:53 AM
05-15-2008 02:01 AM
05-15-2008 02:13 AM
05-16-2008 09:24 AM