Can multiple LabChart files be batch exported to a different file format?

In LabChart 8 for Windows, a prewritten macro named ExportFolder provides the capability to export Windows formatted (*.adicht) LabChart files within a specified folder to a set file type in another folder.  The following formats are supported by LabChart and this macro:

 

  • txt -> LabChart Text file
  • bin -> .adibin LabChart Binary file
  • mat -> MATLAB file
  • edf -> European Data Format file
  • abf -> Axon Binary File
  • pxp -> Igor file
  • wav -> WAV file

The ExportFolder script is found under the Example Macros tab in the Manage Macros Pop-up window, which is accessible via the Macro menus 'Manage...' option.

 

When running the script, the macro will prompt the user to first select the folder containing the *.adicht files, and will then prompt the user to select the folder where to save the exported files in the desired format type.

 

ExportFolder is configured by default to export *.adicht files to *.txt files. If you would like to change the format of the exported file, follow the directions below:

 

  1. Navigate to the Example Macros tab
  2. Double left-click ExportFolder or select ExportFolder and click View
  3. Copy the code’s script, excluding the first and last lines of the code (Sub ExportFolder () & End Sub)
  4. Navigate to Document Macros (Macros > Document Macros) and click New
  5. Name your macro and press OK
  6. Paste the ExportFolder script between the Sub and End script
  7. Change the extension type in the exportExtension = "txt" line of code to the desired format
    1. i.e. exportExtension = "edf" to export the folder’s files to European Data Format files

 

For further technical assistance with this or any other issue, please contact ADInstruments Technical Support by clicking HERE.