Purpose Write GPIB command bytes on the bus. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. buf IN ViConstBuf Buffer containing valid GPIB commands. count ViUInt32 IN Number of bytes to be written. retCount OUT ViUInt32 Number of bytes actually transferred. Return Values This is the operational return status. It returns either a Type ViStatus completion code or an error code as follows. Completion Code Description VI_SUCCESS Operation completed successfully. Error Codes Description VI_ERROR_INV_SESSION The given session or object reference is invalid (both VI_ERROR_INV_OBJECT are the same value). VI_ERROR_NSUP_OPER The given does not support this operation. vi VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by has been locked for this vi kind of access. VI_ERROR_TMO Timeout expired before operation completed. VI_ERROR_INV_SETUP Unable to start write operation because setup is invalid (due to attributes being set to an inconsistent state). VI_ERROR_NCIC The interface associated with the given is not vi currently the controller in charge. VI_ERROR_NLISTENERS No Listeners condition is detected (both and NRFD are deasserted). NDAC VI_ERROR_IO An unknown I/O error occurred during transfer. Description This operation attempts to write count number of bytes of GPIB commands to the interface bus specified by vi. This operation is valid only on GPIB INTFC (interface) sessions. This operation returns only when the transfer terminates. Table 6.5.3 Special Values for Parameter retCount Value Action Description VI_NULL Do not return the number of bytes transferred.
Purpose Write GPIB command bytes on the bus. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. buf IN ViConstBuf Buffer containing valid GPIB commands. count IN ViUInt32 Number of bytes to be written. retCount OUT ViUInt32 Number of bytes actually transferred. Return Values Type ViStatus This is the operational return status. It returns either a completion code or an error code as follows. Completion Code Description VI_SUCCESS Operation completed successfully. Error Codes Description VI_ERROR_INV_SESSION VI_ERROR_INV_OBJECT The given session or object reference is invalid (both are the same value). VI_ERROR_NSUP_OPER The given vi does not support this operation. VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by vi has been locked for this kind of access. VI_ERROR_TMO Timeout expired before operation completed. VI_ERROR_INV_SETUP Unable to start write operation because setup is invalid (due to attributes being set to an inconsistent state). VI_ERROR_NCIC The interface associated with the given vi is not currently the controller in charge. VI_ERROR_NLISTENERS No Listeners condition is detected (both NRFD and NDAC are deasserted). VI_ERROR_IO An unknown I/O error occurred during transfer. Description This operation attempts to write count number of bytes of GPIB commands to the interface bus specified by vi. This operation is valid only on GPIB INTFC (interface) sessions. This operation returns only when the transfer terminates. Table 6.5.3 Special Values for retCount Parameter Value Action Description VI_NULL Do not return the number of bytes transferred.
vpp43_2017-10-17.docx