Using the Spreadsheet Importer Through the Command Line

Use the command line to create a FlexLogger project using the Spreadsheet Importer without needing to launch FlexLogger.

  1. Open a command prompt, terminal, or PowerShell window.
  2. Enter cd "C:\Program Files\National Instruments\FlexLogger\" to navigate to your FlexLogger installation location.
  3. Run ./flexloggercli.exe import with the following arguments to create your project.
    Table 22. Spreadsheet Importer Command Line Options
    Argument Description
    -s Specifies the file path of your source spreadsheet.
    -f Specifies the file path the Spreadsheet Importer saves the project to.
    -p Specifies the project name.
    -o Optional argument that overwrites any existing projects with the same name at your specified path.
If you run the following command:
./flexloggercli.exe import -s "C:\Users\nitest\Desktop\MySetup.xlsx" -f "C:\Users\nitest\Desktop" -p "MyProject" -o

The Spreadsheet Importer creates a project named MyProject.flxproj at C:\Users\nitest\Desktop\MyProject\MyProject.flxproj.