12.07.2015 Views

Instruction Manual - Sierra Instruments

Instruction Manual - Sierra Instruments

Instruction Manual - Sierra Instruments

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Sierra</strong> <strong>Instruction</strong> <strong>Manual</strong> SmartTrak ® Series 100ASCII STRING COMMANDS'?Sync + CRC + cr' Version 2.xx read commandReturns ASCII string 'Sync + "" + CRC + cr'SyncEvent returned last to indicate all events have been sentCRC=redundancy check bytes; cr=carrage return byte.ZERODESCRIPTIONZERO sets the flow offset value to a zero flow reading. Warning: All flow must be shutoff, the unit needs to be at pressure with the gas being used.ASCII STRING COMMANDS'!Zero + "" + CRC + cr' Version 2.xx write commandCRC=redundancy check bytes; cr=carrage return byte.RESET_ZERODESCRIPTIONReset zero flow offset value to zeroASCII STRING COMMANDS'!Rezr + "" + CRC + cr' Version 2.xx write commandReturns ASCII string 'Rezr + "" + CRC + cr'CRC=redundancy check bytes; cr=carrage return byteCRC CALCULATIONSBelow is the routine used to calculate the CRC bytes in C#.Comments are between the /* */.private static uint CalcCRC(byte[] cmnd)/* cmnd is a byte array containing the command ASCII string … cmnd[]=”Sinv2.000” *//* An unsigned 32 bit integer is return to the calling program *//* only the lower 16 bits contain the crc */{int i,j; /* interating indexes for the for loops */98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!