User`s manual

DEBUG5 : Query all Command Parameter Settings
When the error queue contains an error, the next task is to determine which
command caused it. When a command has an error, it is not executed. An
effective debugging technique is to query previously sent commands for
their current settings. When a queried setting doesn’t match what was to be
set, then the error exists in the corresponding command.
The most common command-related errors are:
misspelled commands
eliminating the space between the command and the first
parameter
parameters out of range
settings conflict errors caused by coupled commands not
executed within a coupling group
DEBUG6 : Verify that the Amount of Data to be Entered is Equal to the
Amount of Data Generated
Another error which frequently occurs is not receiving the exact amount of
data expected from the instrument. Check the parameter settings as in step
DEBUG5, and then compare this with the number of data items
programmed to receive. Also notice whether arrays start with zero or one.
Multiple results to one query command will be separated by commas.
6-10 System Programming and Debugging C-Size Configuration Guide