What is the format of the .isf file?
The ISF format is the same as what the scope would send in response to the WAVFrm? command via an external program.
The response to the WAVFrm? command is documented in the programmers manual for your instrument, which you can download from the Tektronix website at www.tek.com/manuals.
The file looks like this:
:WFMPRE:BYT_NR 2;BIT_NR 16;ENCDG BIN;BN_FMT RI;BYT_OR MSB;NR_PT 10000;WFID "Ch1, DC coupling, 2.0E0 V/div, 1.0E-5 s/div, 10000 points, Sample mode";PT_FMT Y;XINCR 1.0E-8;PT_OFF 0;XZERO 3.5E-4;XUNIT "s";YMULT 3.125E-4;YZERO 0.0E0;YOFF 0.0E0;YUNIT "V";:CURVE #520000<binary data>
The values from the “:” at the beginning of the file to the “;” just before the “:curve” are the preamble. The binary block begins with “:CURVE #”. The next value is referred to in the manual as X. This is the ASCII representation of the number of bytes that follow that represent the record length. The next bytes, referred to in the manual as the YYY bytes are the ASCII representation of the record length field. In this example the 5 tells us that the next 5 bytes represent the record length. The next 5 bytes are 20000, which tells us that the number of bytes returned in the curve will be 20,000. Since we can see in the preamble that the number of bytes for each acquired sample point is 2 (BYT_NR 2) we know that the number of sample acquired was 20,000 / 2 or 10,000 samples.
This FAQ Applies to:
FAQ ID 53511View all FAQs »