Changed field reference from val to oval in devGpibLib_aoGpibWork

This commit is contained in:
Janet B. Anderson
1996-02-16 22:04:58 +00:00
parent ade952f351
commit 6dc0835a7d
+4 -1
View File
@@ -3,6 +3,9 @@
/*
* $Log$
* Revision 1.26 1995/11/27 22:13:22 winans
* Added raw reading capability to the waveform record support.
*
* Revision 1.25 1995/07/31 19:44:08 winans
* Changed the parameter table and associated support routines to support
* buffer length specifications of size long instead of short.
@@ -1432,7 +1435,7 @@ struct gpibDpvt *pdpvt;
else /* generate msg using predefined format and current val */
{
if (pCmd->type == GPIBWRITE) /* only if needs formatting */
sprintf(pdpvt->msg, pCmd->format, pao->val);
sprintf(pdpvt->msg, pCmd->format, pao->oval);
}
/* go access board with this message, unless convert was unsuccessful */