Creating an SKM Data Export CSV File

Overview

Many database programs give you the option to create .CSV files to export your data into a format that can be read by other programs. The steps below describe how you can create a file from SKM that can be read by other programs, including EasyPower.

Note: The following instructions are intended as a representative example of the steps involved to create a .CSV format file. Your actual steps may vary.

Creating the .CSV File

There are two recommended options available for creating the .CSV file. You can create your own custom format or you can use the SKMDataExport.FMT format.

  • Use the custom format instructions to specify the components and attributes you want to include in the .CSV file yourself.
  • Use the SKMDataExport.FMT instructions to create a .CSV with essential data included.

Both methods are described below.

Creating a Custom Format

  1. In SKM, open the project from which you want to export data.
  2. From the Project menu, click Export.
  3. In the Export dialog box, make note of the file name in the Export to File box. You can change the location and name if desired, but ensure that the file extension is .CSV.
  4. In the Export dialog box, click Datablock Edit to open the Datablock Format dialog box.
  5. In the Datablock Format dialog box, click New to create a new format. This opens a Format Editor dialog box.
  6. In the Format Editor dialog box, under Component Type, select the first component (for example, “Bus”).
  7. In the Format Editor dialog box, under Available Attributes, select each of the attributes you want to export. You can do this as follows:
  • To select multiple attributes, press and hold the SHIFT key while you click each attribute.
  • To select a range of attributes, press and hold the SHIFT key, click the first attribute in the range, click the last attribute in the range, and then release the SHIFT key.
  1. After the attributes for the component type are selected, click Add to End. The selected attributes appear under Displayed Attributes.
  2. Repeat steps 6-8 for each component type.
  3. In the Format Editor dialog box, in the Format Name box, type the name you want to use for your format.
  4. Click OK after all component types and attributes have been selected and you have created a name for the format.
  5. The Datablock Format dialog box is displayed, and your custom format appears under Formats for Import/Export. Close the Datablock Format window.
  6. In the Export dialog box, in the Datablock Format list, select the custom format you just created.
  7. In the Export dialog box, under Components From, ensure Query is selected, and then select *ALL COMPONENTS from the list.
  8. In the Export dialog box, under Format, ensure that the following options are selected:
  • Export As Text File (not applicable to SKM version 6.5.2.9 (Build 1))
  • Comma Separated Values (CSV)
  • Export Column and Data Information

16. Click Export to begin the export. This creates the .CSV file in the location you specified in step 3.

Using the SKMDataExport.FMT Format

  1. Download SKMDataExport.FMT from
  2. https://download.easypower.com/support/SKMDataExport.FMT

    Save the SKMDataExport.FMT file in a location accessible to the computer from which you are going to create the .CSV file.

  3. In SKM, open the project from which you want to export data.
  4. From the Project menu, click Export.
  5. In the Export dialog box, make note of the file name in the Export to File box. You can change the location and name if desired, but ensure that the file extension is .CSV.
  6. In the Export dialog box, click Datablock Edit to open the Datablock Format dialog box.
  7. In the Datablock Format dialog box, click Import in the lower-right corner.
  8. Browse to the location of the SKMDataImport.FMT file that was saved in step 1. Select the file and then click Open. You can also double-click the file to open it.
  9. In the Import to Import/Export Datablock Formats dialog box, select the All Items Full Data Export format, and then click OK.
  10. In the Datablock Format dialog box, note that the All Items Full Data Export format now appears under Formats for Import/Export. Close the Datablock Format window.
  11. In the Export dialog box, in the Datablock Format list, select the All Items Full Data Export format you just imported in steps 6-9.
  12. In the Export dialog box, make note of the file name in the Export to File box. You can change the location and name if desired, but ensure that the file extension is .CSV.
  13. In the Export dialog box, under Components From, ensure Query is selected, and then select *ALL COMPONENTS from the list.
  14. In the Export dialog box, under Format, ensure that the following options are selected:
  • Export As Text File (not applicable to SKM version 6.5.2.9 (Build 1))
  • Comma Separated Values (CSV)
  • Export Column and Data Information

14. Click Export to begin the export. This creates the .CSV file in the location you specified in step 11.

You can now proceed to Importing an SKM Format File.

More Information