-
大小: 27.52MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-07-08
- 语言: C#
- 标签: C# vb Keyence.Auto
资源简介
基恩士条码枪Keyence.AutoID.SDK_Help的开发包,感觉用处不是太大,好像VB和C#可以调用。里面有文档和例子
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Keyence.AutoID.SDK;
namespace FirstStepApp
{
public partial class Form1 : Form
{
private ReaderAccessor m_reader = new ReaderAccessor();
private ReaderSearcher m_searcher = new ReaderSearcher();
List m_nicList = new List();
public Form1()
{
InitializeComponent();
m_nicList = m_searcher.ListUpNic();
if (m_nicList != null)
{
for (int i = 0; i < m_nicList.Count; i++)
{
NICcomboBox.Items.Add(m_nicList[i].NicIpAddr);
}
}
NICcomboBox.SelectedIndex = 0;
}
private void SchBtn_Click(object sender EventArgs e)
{
//m_searcher.IsSearching is true while searching readers.
if (!m_searcher.IsSearching)
{
m_searcher.SelectedNicSearchResult = m_nicList[NICcomboBox.SelectedIndex];
NICcomboBox.Enabled = false;
SchBtn.Enabled = false;
SctBtn.Enabled = false;
comboBox1.Items.Clear();
//Start searching readers.
m_searcher.Start((res) =>
{
//Define searched actions here.Defined actions work asynchronously.
//“SearchListUp“ works when a reader was searched.
BeginInvoke(new delegateUserControl(SearchListUp) res.IpAddress);
});
}
}
private void SctBtn_CheckedChanged(object sender EventArgs e)
{
if (SctBtn.Checked)
{
if (comboBox1.SelectedItem != null)
{
//Stop liveview.
liveviewForm1.EndReceive();
//Set ip address of liveview.
liveviewForm1.IpAddress = comboBox1.SelectedItem.ToString();
//Start liveview.
liveviewForm1.BeginReceive();
//Set ip address of ReaderAccessor.
m_reader.IpAddress = comboBox1.SelectedItem.ToString();
//Connect TCP/IP.
m_reader.Connect((data) =>
{
//Define received data actions here.Defined actions work asynchronously.
//“ReceivedDataWrite“ works when reading data was received.
BeginInvoke(new delegateUserControl(ReceivedDataWrite) Encoding.ASCII.GetString(data));
});
NICcomboBox.Enabled = false;
SchBtn.Enabled = false;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-10-17 17:30 SR_SDK\
目录 0 2017-10-17 17:30 SR_SDK\Manual\
文件 144108 2017-10-16 08:14 SR_SDK\Manual\Keyence.AutoID.SDK_Help.chm
文件 981 2017-10-11 14:14 SR_SDK\README.txt
目录 0 2017-10-17 17:30 SR_SDK\Runtime\
文件 14572000 2017-10-10 15:49 SR_SDK\Runtime\vc_redist.x64.exe
文件 13767776 2017-10-10 15:49 SR_SDK\Runtime\vc_redist.x86.exe
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\
文件 955 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp.sln
文件 183 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\App.config
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\
文件 100352 2017-10-11 12:08 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\Communication.dll
文件 18944 2017-10-17 17:22 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\FirstStepApp.exe
文件 25088 2017-10-13 18:50 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\Keyence.AutoID.SDK.dll
文件 34304 2017-10-11 12:08 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\VncClientControlCommon.dll
文件 95232 2017-10-11 12:08 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\bin\x86\Release\VncClientControlCommonLib.dll
文件 8319 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\FirstStepApp.vbproj
文件 5548 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\Form1.Designer.vb
文件 5817 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\Form1.resx
文件 4166 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\Form1.vb
目录 0 2017-10-17 17:30 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\My Project\
文件 1806 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\My Project\Application.Designer.vb
文件 510 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\My Project\Application.myapp
文件 1348 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\My Project\AssemblyInfo.vb
文件 3233 2017-10-17 17:20 SR_SDK\SampleApplication\FirstStepApp\FirstStepApp_VB\FirstStepApp\FirstStepApp\My Project\Resources.Designer.vb
............此处省略89个文件信息
相关资源
- C#宿舍管理系统-数据库增删改查
- GeckoFx 最新版本 完美支持HTML5 C# demo
- C#编写的钢琴程序,调用DirectXSound编写
- Dot.NET Reactor 混淆加密工具 完美破解版
- devexpress控件说明大全
- Microsoft Visual C# Step by Step 9th Edition
- 五子棋小游戏 C#源代码 完整源程序
- C# vs2010 RDLC 报表DLL库 以及XP下无法运
- 明泰MT3系列读卡器 AIP文档及开发vbv
- C#使用RedisDEMO
- C#调用摄像头实现拍照和录像
- C#万能视频播放器
- C#线程参考手册
- C#图解教程第4版中文PDF原版
- C# 课程设计案例精编
- C# 类似webapi的Nancy框架
- C#课程设计案例精编源代码
- 鲜花销售管理系统
- C#入门经典第7版中文高清非扫描目录
- basler相机C#封装
- 大华视频C#DEMO
- C#经典入门书籍,适合新手入门 高清
- VisualC#23经典游戏编程开发+源代码
- c#快递管理系统带sql数据库
- c# + 三维opengl
- C#二维三维图形绘制工程宝典 / 伍逸著
- 基于GDAL和C#语言读取栅格影像
- 对应C#开发的gdal配置文件
- Microsoft Visual C# 2013 Step by Step,最新资
- 地理信息系统二次开发教程-c#+ArcGis
评论
共有 条评论