Q .Timeout Error occurs in sending and receiving.

 

A:

 

 A send/receive function timeout error occurs if the other device does not respond to send/receive for a certain period of time.

 A GPIB error occurs if the GPIB cable is not connected or if the other device is not switched on,

 At least the GPIB cable is connected and the other device is switched on.

 

 In general, the following factors can cause a timeout error.

 

 1) The GPIB device address setting is different.

    The GPIB device address is set by each device, but the GPIB device address specified in the send/receive function is different from the GPIB device address.

    Check the GPIB device address.

 

 2) The delimiter code setting is different.

    The delimiter code is set by each device, but the delimiter code setting on the board is different from this.

    Try changing the delimiter in the send/receive self-diagnostic programme.

 

 3) The command to the device is different.

    This is a case where the commands to be communicated are different.

    If the transmission succeeds but the reception fails, this is highly likely to be the case.

    The commands to the device differ for each device, so please refer to the manual for each device.

    ( Many devices seem to prepare data by applying a trigger (GET command), so it is recommended to execute the trigger in self-diagnosis and then try reception.)

 

 

 The default timeout time setting is 10 seconds.

 

 The timeout time setting can be changed using the GpTimeout() function, so changing this is one countermeasure.

 The setting range is the specified value (0 to FFFFFFFFFFH) x 1 [msec] (0 msec to 4294967295 msec).

 However, if 0 is specified, no timer check is performed. In other words, no timeout occurs.