Changed returned error numbers to use SCPI standard #. Adjusted all
function error returns from unsigned to signed to allow SCPI standard
signed error #