Copy and export
The data file is never modified: copies go to the clipboard, and exports to new files you choose.
Select cells
| To select | Do |
|---|---|
Cells |
Drag over them. A drag along one row selects the values of several channels at one instant. |
Whole channels |
Click a column header; drag over several headers. |
Whole rows |
Click a row number; drag over several numbers. |
Everything |
Ctrl+A (Cmd+A on macOS), or the top left corner of the grid. |
Extend the selection |
Shift + click, or Shift + arrow keys, Page Up, Page Down, Home and End. |
Clear it |
Esc |
The grid scrolls while the mouse is beyond its edges. The size of the selection is shown next to the Share menu, for instance "7 rows × 3 channels selected".
A click on a cell, the mouse button going down and up on the same cell, still moves the active cursor of the charts.
Copy to the clipboard
Press Ctrl+C (Cmd+C on macOS), or choose Copy to Clipboard in the Share menu.
The values go to the clipboard as tab-separated text, which Excel and other programs paste as cells:
-
as the grid shows them, or with all their digits (setting
measurementDataViewer.copyFullPrecision); -
with or without the names and units of the channels as first lines (setting
measurementDataViewer.copyHeaders).
Clipboard Options… in the Share menu changes both.
The values are read from the file as needed: whole channels copy all of their rows, up to 10 million cells. Beyond a million cells, the viewer asks first.
Export to CSV
| Command | Writes |
|---|---|
Export CSV… in the Share menu of a group tab |
The values of the group, to one CSV file. |
Export All Groups to CSV… in the File tab |
One CSV file per group, in a folder, named "<file> - <group>.csv". |
-
Values with all their digits, under the names and units of the channels.
-
Timestamps as the grid shows them, in local time or UTC.
-
UTF-8, as Excel reads it.
-
With a decimal comma, the fields are separated by semicolons, as Excel expects.
Groups of any size are exported, read and written by blocks, with a progress notification and Cancel: a 1 GB group gives a CSV file of 1.9 GB in about 15 s. The file is written under another name until it is complete: a cancelled export leaves nothing behind.
Export to Excel
| Command | Writes |
|---|---|
Export to Excel… in the File tab |
The whole file, to an Excel workbook ( |
Export Excel… in the Share menu of a group tab |
That group only. |
The workbook is laid out as the viewer shows it, after NI’s Excel add-in:
-
A sheet of properties, named after the file: the properties of the file, of its groups, and of their channels.
-
A sheet per group, with the names and units of its channels frozen above their values.
Values keep their type: numbers, Booleans and text, and timestamps as Excel dates, in local time or UTC as the grid shows them, to the millisecond.
- Limits of Excel
-
-
A group longer than a sheet (1,048,576 rows) or wider (16,384 columns) goes on several sheets, after a warning.
-
Texts longer than a cell (32,767 characters) are cut; the end of the export says how many.
-
Exports are written by blocks, with the progress and Cancel of the CSV export: a 1 GB group gives a workbook of 626 MB in about a minute.
Images of the charts
Charts are exported as images from their own toolbar: see Time charts and XY charts.