2.111 FAQ-1020 Is there a difference between Connect and Import?
Last Update: 4/23/2020
Connect, or Data Connector, is a new import framework introduced in OriginPro 2019b. Both will import data into workbooks, but we recommend using the new Connect framework since many improvements are being made and it will continue to be improved in future versions, while the legacy import code will not be improved.
From the user's perspective, the key differences between Connect and the original import are:
- The Connector will lock imported data. This prevents accidentally changing the actual data. But you will have control over default behaviors using system variables @IPDC .
- The Connector will keep the connection to the source data, from the file or from the cloud.
- Data imported using a Connector is typically not saved with project, making project files small. In 2019b, this was the default. In 2020, files smaller than 500kB will be saved with the project but you will have control over default behaviors using LabTalk system variables @DNS and @FSE. In any case, you can opt to save imported data simply by clicking the Data Connector icon and clearing the check mark beside Exclude Imported When Saving.
- For a text file, the CSV Connector can be used and it greatly improves the user experience, since for the majority of ASCII text files, you don't need to specify file structure and the process is entirely automatic. Compare this with the import dialogs where you need to specify details of the file structure and such things as date-time format, then save the settings as a Theme for future use.
Keywords:import, ASCII, CSV, TXT, DAT, header, Excel, XML, JSON, MATLAB, HTML, Connector, project, save, exclude data, big data, large