Opens a binary measurement file (.tdm) for reading or writing. You also can use this VI to create a new file or replace an existing file. Use the Close Data Storage VI to close the reference to the file.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| Data storage format | Specifies the format of the file you want to access. Contains the following option:
|
| Data storage parameters (if not wired) | Contains the following option:
|
| Overwrite options (if not wired) | Specifies the operation to perform. Error 43 occurs if you cancel the dialog box. Contains the following options:
|
| Parameter | Description |
|---|---|
| file path | Specifies the full path of the file you want to open. |
| function (open:0) | Specifies the operation to perform. |
| error in | Describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node. |
| Parameter | Description |
|---|---|
| File | Generates a refnum to the file that the Open Data Storage VI opened. |
| error out | Contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. |