没有合适的资源?快使用搜索试试~ 我知道了~
Origin 与 Labview 通讯
需积分: 24 12 下载量 153 浏览量
2018-02-06
10:10:06
上传
评论
收藏 1.57MB PDF 举报
温馨提示
试读
99页
Origin 与 Labview 通讯教程,。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
资源推荐
资源详情
资源评论
Using Origin from LabVIEW
Copyright © 2016 by OriginLab Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form
or by any means without the written permission of OriginLab Corporation.
OriginLab, Origin, and LabTalk are either registered trademarks or trademarks of OriginLab
Corporation. Other product and company names mentioned herein may be the trademarks of their
respective owners.
OriginLab Corporation
One Roundhouse Plaza
Northampton, MA 01060
USA
(413) 586-2013
(800) 969-7720
Fax (413) 585-0126
www.OriginLab.com
iii
Table of Contents
1 LabVIEW VI .................................................................................................................... 1
2 Custom VIs for LabVIEW............................................................................................... 3
2.1 Custom VIs for LabVIEW .................................................................................................................. 3
2.2 OriginApp Sub-VIs ............................................................................................................................ 3
2.3 OriginAppClassics Sub-VIs ............................................................................................................. 27
2.4 OriginMatrix Sub-VIs ....................................................................................................................... 46
2.5 OriginWave Sub-VIs ........................................................................................................................ 50
3 LabVIEW Tutorials ........................................................................................................55
3.1 LabVIEW Tutorials .......................................................................................................................... 55
3.2 Creating a Simple VI to Save Data to Origin ................................................................................... 55
3.3 Sending Data to Save into OGW .................................................................................................... 57
3.4 Plotting with a User-Defined Template ........................................................................................... 57
3.5 Working with Origin Analysis Template .......................................................................................... 59
3.6 Getting Data from Worksheet Range .............................................................................................. 60
3.7 Setting and Getting Matrix Data ...................................................................................................... 62
3.8 Working with Origin Com And LabVIEW SubVIs ............................................................................ 64
3.9 Using LabTalk to Get Worksheet Information ................................................................................. 65
4 LabVIEW Examples ......................................................................................................67
4.1 LabVIEW Examples ........................................................................................................................ 67
4.2 Origin Column Set Get Data ........................................................................................................... 67
4.3 Plotting XY Data with the Same X .................................................................................................. 69
4.4 Send and Plot XYYY Data .............................................................................................................. 70
4.5 Batch Linear Regression ................................................................................................................. 72
4.6 6009 LV71 ....................................................................................................................................... 74
4.7 6009 Simple LV71 ........................................................................................................................... 76
4.8 On The Fly Analysis ........................................................................................................................ 77
4.9 Realtime Curve Fitting ..................................................................................................................... 79
4.10 Simple NLFit ................................................................................................................................ 80
4.11 Simulate DAQ.............................................................................................................................. 82
4.12 Matrix Access .............................................................................................................................. 86
4.13 Plotting Data ................................................................................................................................ 86
4.14 Sending Waveforms to Origin ..................................................................................................... 89
4.15 Sending XY Data To Origin ......................................................................................................... 90
4.16 Simulated Peak ........................................................................................................................... 91
4.17 Analysis Template ....................................................................................................................... 92
4.18 Waveform Envelope .................................................................................................................... 94
1
1
1
LabVIEW VI
The Origin installation provides a collection of custom building-block Virtual Instruments (VIs) that
enable the user to create their own VIs to communicate with Origin. These custom VIs can be used
for operations such as opening and closing communication with Origin, exchanging data back and
forth between Origin and LabVIEW, and sending commands to Origin.
In order to access these Origin sub-VIs in the LabVIEW Functions Palette, select Tools: Copy Origin
Sub-VI to LabVIEW vi.lib\addons\Origin... to automatically copy these files and optionally delete
any older versions of these files.
Alternatively or for Origin 8.0 and earlier, you may copy the LabVIEW Libraries from <Origin Program
Folder>\Samples\COM Server and Client\LabVIEW\Palette to the vi.lib\addons\Origin subfolder
under the LabVIEW installation folder. Specifically, please copy the following files:
OriginApp_LV7.llb - Basic VIs that handles the Origin OPJ files, worksheet and columns
OriginAppClassics_LV7.llb - Older VIs exsited before Origin 8 (deprecated)
OriginWave_LV7.llb - VIs that handles Origin matrix objects
OriginMatrix_LV7.llb - VIs that handles LabVIEW Waveform data
Note:
The custom VIs are designed to work in LabVIEW versions 7.0 or later. They do not work
properly in LabVIEW version 5.0 or 6.1.
Once sub-VI, OA_ConnectToOrigin, has been modified. If you have VIs that have made
use of this sub-VI, you will need to replace it with the modified version.
Topics covered in this document:
Custom VIs for LabVIEW
LabVIEW Tutorials
LabVIEW Examples
剩余98页未读,继续阅读
资源评论
weixin_41706376
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功