30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
MOCA
Orglab
2.14.1 X-Functions for File
Origin provides a collection of File X-Functions
Name
Brief
Example
cmpfile
Compare two binary files and print out comparison results
dlgFile
Prompt user to select a file with an Open file dialog.
Examples
dlgPath
Prompt user to select a path with an Open Path dialog.
Examples
dlgSave
Prompt user with an Save as dialog.
Examples
filelog
Create a .txt file that contains notes or records of the user's work through a string.
Examples
findFiles
Searches for a file or files under a folder.
Examples
findFolders
Searches for a folder or folders under a folder.
Examples
imgFile
Prompt user to select an image with an Open file dialog.
Examples
lvvicopy
Copy Origin Sub-VIs to LabVIEW User.lib...
nccopy
Copy and optionally compress and chunk netCDF data.
oftp
Provide script access to FTP (File Transfer Protocol) servers
Examples
template_saveas
Save a graph/workbook/matrix window as template
Examples
window_saveas
Save a graph, workbook or matrix window to file
web2file
Copy a web page to a local file.
Examples
Skip Navigation Links
All Books
X-Function
X-Function Reference
Utilities
X-Functions for File
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
MOCA
Orglab
Programming
X-Function Programming Guide
X-Function Reference
X-Function Tutorials
Data Exploration
Data Manipulation
Database Access
Fitting
Graph Manipulation
Image
Import and Export
Mathematics
Miscellaneous
Plotting
Signal Processing
Spectroscopy
Statistics
Utilities
Vision
Function Details
Alphabetic List to X-Functions
X-Functions for File
X-Functions for System
colors
customMenu
FindApp
findrelated
get_plot_sel
get_wks_sel
MkOPX
NewApp
newHTML
themeApply2g
themeApply2w
themeEdit
xop
cmpfile
dlgFile
dlgPath
dlgPickFiles
dlgSave
filelog
findFiles
findFolders
imfcat
imgFile
lvvicopy
oftp
template_saveas
web2file
window_saveas
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat