60 Keysight E8491B IEEE 1394 PC Link to VXI User GuideVXI Programming Using the IEEE 1394 Serial Bus Using this Chapter//**********************************************************// error checking routinevoid check (ViSession vi, ViStatus errStatus){ViInt32 inst_err;ViChar err_message[256];if(VI_SUCCESS > errStatus){if(INSTR_ERROR == errStatus){// query instrument errorhpe1410_dcl(vi);// send a device clearhpe1410_error_query(vi, &inst_err, err_message);// display the errorprintf("Instrument Error : %ld, %s\n", inst_err, err_message);}else{// get driver error messagehpe1410_error_message(vi, errStatus, err_message);// display the errorprintf("E1410 Driver Error : %ld, %s\n", errStatus,err_message);}hpe1410_reset(vi);// reset the multimeterhpe1410_close(vi);// close the multimeter handleexit(1);}return;}//**************************************************************// Error handling functionvoid err_handler (ViSession vi, ViStatus err){char buf[1024]={0};viStatusDesc(vi,err,buf);printf("ERROR = %s\n", buf);return;}Comments1 1. Because of the E1410 multimeter data storage format (eight bytes /reading), the readings are transferred from shared memory to the PC in bytes.Therefore, it is necessary to swap each byte in order to re-construct the