SLWU087E november 2013 – june 2023
The file tab contains all of the options for saving or importing test results. Placing the mouse indicator over the File tab opens a window with the available options as shown in Figure 3-1.
Figure 3-1 File Tab OptionsThere are options for saving the ADC captured data as 32 bit singed integer (I32) CSV or Binary format in a directory specified by the user for export or archival purposes. The "Save I32 Codes as CSV File" options saves the captured ADC data as 32 bit singed integers with each channels data across columns in a CSV file. The CSV data can range from – 2^ (Number of Bits -1) to 2^ (Number of Bits -1) – 1. The "Save ADC Codes and Measurements as CSV" option saves the captured ADC data as 32 bit singed integers along with the measurements data as CSV file. The "Save Raw ADC Codes as Binary File" option will save the raw data captured from the ADC as a binary file. The "Save Screen shot as" option, when selected, opens a window that allows the user to save the current GUI screen shot as either a bmp, jpeg, or png file in the directory specified by the user.
Note: Number of Bits = Sample resolution.
The GUI provides an option to allow the user to replay files captured from an ADC by the GUI itself. To use this feature, import a test file by either selecting "Import Binary File" or "Import Data File" in the drop down. A new navigator window opens. Select the desired file to be loaded. If a binary file is to be used select "Import Binary File" menu option, after the file is selected (.bin file), a new window opens asking for number of channels and number of bits. Provide this information, then click "OK". The format of the binary sample is big-endian, and the size of the samples should be either 2 Bytes (for sample resolutions less than or equal to 16) or 4 Bytes (for sample resolutions greater than 16 and less than or equal to 32). For multiple channel test cases, the test file must have channel data interleaved. For example, if there are 4 channels, the samples must be arranged as Channel1Sample1, Channel2Sample1, Channel3Sample1, Channel4Sample1, Channel1Sample2, Channel2Sample2, Channel3Sample2, Channel4Sample2,……, Channel1SampleN, Channel2SampleN, Channel3SampleN, Channel4SampleN.
For the "Import Data File" option, the user can use several different types of files. After the file is selected, the GUI asks for number of channels and number of bits. The user must know this information for proper data to be displayed. The data test file must be in text format having integer values from – 2^ (Number of Bits -1) to 2^ (Number of Bits -1) – 1. For two channel test cases, channel 1 is the data in the first column and channel 2 is the data in the second column. The different file types that can be used include .gcin (space), .ssv (space), .csv (comma), .txt (tab), and .tsw. The GUI expects such files to be delimited by the delimiters shown in the parentheses. Adjacent columns are separated by the delimiter. The .tsw files are proprietary encoded files created by Texas Instruments.