没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Page | 1
Title:
Interfacing Gocator 4.x firmware to LabVIEW
Revision:
1.1
Table of Contents
1 Overview ................................................................................................................................................................. 2!
2 Installing the LabVIEW VIs ..................................................................................................................................... 3!
2.1 GoSdk.dll and kApi.dll ...................................................................................................................................... 3!
3 Setting up the Gocator to Communicate with LabVIEW ......................................................................................... 3!
4 Go2Labview Example ............................................................................................................................................. 4!
4.1 Structure of the Go2Labview Example ............................................................................................................. 7!
4.2 Gocator Result Cluster ..................................................................................................................................... 9!
5 Gocator Public VIs ................................................................................................................................................ 10!
6 64-Bit LabVIEW .................................................................................................................................................... 11!
7 Dual-Sensor System ............................................................................................................................................. 11!
8 Wrapping Go SDK Functions ................................................................................................................................ 11!
9 Application Builder ................................................................................................................................................ 14!
10 Conclusion .......................................................................................................................................................... 16!
Page | 2
1 Overview
LabVIEW is a comprehensive software package for controlling measurement and control systems. LMI
provides a set of Virtual Instruments (VIs) that can be used to interface LabVIEW with Gocator 2x00
sensors. These VIs can be used to control and stream measurement results, intensity and 3D data (as
individual profiles or whole part scans) into LabVIEW in real-time for processing and control.
This document assumes that LabVIEW is already installed. Users are assumed to be already familiar with
LabVIEW and the Gocator must already be setup to generate profile or whole part data.
Gocator Firmware Release 4.0.0 or later and LabVIEW Version 2010 (32-bit) or later are required.
Page | 3
2 Installing the LabVIEW VIs
The LabView VIs are included in the Gocator Integration Tool package (e.g. 14405-
4.x.x.x_SOFTWARE_Go2_Integration_Tools.zip), under the directory Labview. The VIs are structured
into four directories
Directory
Contents
\Labview
Labview library project files
\Labview\Examples
Example code that illustrate how to use the public VIs to control the Gocators.
\Labview\Private
Private files, wrapper VIs of Gocator SDK functions.
\Labview\Public
Gocator Public VIs. Users use these VIs to control and acquire data from the
Gocator
To open the project, click Go2Labview.lvlb. LabVIEW may prompt you for missing GoSdk.dll the first time
you open the project. When prompted, choose the GoSdk.dll in the \Labview\Private folder and continue.
You should see the following screen. To get the file paths to show up, click Project->Show Item Path.
The 32-bit version of the GoSdk.dll is included in the\Labview\Private area.
2.1 GoSdk.dll and kApi.dll
The VIs in the private folders are building blocks of the Gocator LabVIEW interface. These VIs call
functions exposed in the Gocator SDK DLL (GoSdk.dll). By default, the GoSdk.dll is located in the
\Labview\Private folder.
Each tools package contains the GoSdk.dll that matches with the tool package version. Put the matching
GoSdk.dll and kApi.dll in the Private folder to use the same LabVIEW project for a different Gocator
firmware version.
3 Setting up the Gocator to Communicate with LabVIEW
To communicate with LabVIEW, the Gocator needs to send Profile or Whole Part output over Ethernet
using the Gocator Protocol. The Gocator LabVIEW VIs can receive profile, profile intensity, part, part
intensity and measurement data.
Page | 4
Figure 1. Enabling Output over Ethernet in the Output Page (Surface scan mode shown)
4 Go2Labview Example
Go2Labview is an example of how the Gocator Public VIs can be used. It is also a tool that can be used
to verify the Gocator and the environment is setup correctly. To run the Go2Labview example, expand the
Examples node in the project file, and then double click on Go2Labview_Main.vi.
With the LabVIEW example running, the panel controls the Gocator and displays data generated by the
Gocator in real-time.
Figure 2. Gocator LabVIEW Main Panel
To confirm the GoSdk.dll is installed properly:
1. Run the Go2Labview_Main
2. Check the reported GoSdk.dll version is correct
剩余15页未读,继续阅读
资源评论
- weixin_427595342021-03-17官网VI 地址是什么地方啊
AntTracy
- 粉丝: 31
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功