脑波设备mindwave TGCD接口开发示例
对于TGCD的开发,神念科技提供的文件包括,头文件thinkgear.h,thinkgear.lib,thinkgear.dll,有这三个文件,在win32下开发就不是什么难事了吧
如果是java语言开发,那么有ThinkGear.java
如果是C#,那么可以参考ThinkGear.cs
我们这里只讲述C接口,对于C接口,在开发包目录下还有个示例程序thinkgear_testapp.c程序,你可以用vc打开,并链接上thinkgear.lib即可以运行。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWUAAAFACAYAAABk5G0+AAAgAElEQVR4Ae2dCXwcdfn/P0k2bdMzvU+gR1LSNty2JUBUKIcJJoBaz79C1Si1EjX1oj9+h1fxomoFg6+oRbzQqGgCDZcKRA1QpByhDU1KT45etE1zNdkk/+f5zs7O7OzM7uxmJ8luntFlru/5nvSzzz7fZ77fNL/f3w/ZhIAQ8IzAio//H9ImTMbFBSuRn78UsyZPwrhR6RjjA9J6enBw3x6sXr7Is/ql4OQikJ5czZXWCoHkIrD8419Hb1Y2zl++Aovy8jBhwgSkpaWpTvAua0wmFi1YgD//Z3dydUxa6xmBNLGUPWMrBQsBISAEYiYglnLMyCSDEBACQsA7AiLK3rGVkoWAEBACMRMQUY4ZmWQQAkJACHhHQETZO7ZSshAQAkIgZgKei/LTVf+D6z/5Rzwdc9MiZNj+RyrzLvzpjQhp5JYQEAJCIAkJUKSkhxuJ5+2kxu9c9z6sjLMaFnUug7d3rvs6Pn/BEfyp5kVg5Qfx3tnadfmvEBACQiBVCHgnymzN3kXiSdvjd/0PHldHDv85YxXu+t93YC7fNuXj0wU33IK//Gw6H2rb9ifwqwMk0KVL9SuyFwJCQAikDAFvRPmNJ/AFEmTNsnVm9dqDd2Hd/cBHPxUQZE56wftIhN9HB2QRf+3H+GdI9oCVTNciCX20ekOKlBMhIASEwDAikHhRDli60YQxKMjfWOfeDaGs5Jn4qEMevcwzZg0jwtIUISAEhEAMBBIqypooHjJ8v2TpHihlP3BoizQ/8bm4lSxiq6/Z7ENWuQ78GNeTNR3cT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+6DZD8hlp9RGr0j7oU1+FNIv5eu0vrcXksLDEy0SotLDGqRoISAEIhNIqE85clVyVwgIASEgBKIRSHj0RbQK5b4QEAJCQAg4ExBRdmYjd4SAEBACg05ARHnQkUuFQkAICAFnAiLKzmzkjhAQAkJg0AmIKA86cqlQCAgBIeBMQETZmY3cEQJCQAgMOgER5UFHLhUKASEgBJwJiCg7s5E7QkAICIFBJyCiPOjIpUIhIASEgDMBEWVnNnJHCAgBITDoBESUBx25VCgEhIAQcCYgouzMRu4IASEgBAadgIjyoCOXCoWAEBACzgRElJ3ZyB0hIASEwKATEFEedORSoRAQAkLAmYCIsjMbuSMEhIAQGHQCIsqDjlwqFAJCQAg4ExBRdmYjd4SAEBACg05ARHnQkUuFQkAICAFnAiLKzmzkjhAQAkJg0AmIKA86cqlQCAgBIeBMQETZmY3cEQJCQAgMOgER5UFHLhUKASEgBJwJiCg7s5E7QkAICIFBJyCiPOjIpUIhIASEgDMBEWVnNnJHCAgBITDoBESUBx25VCgEhIAQcCYgouzMRu4IASEgBAadgIjyoCOXCoWAEBACzgRElJ3ZyB0hIASEwKATEFEedORSoRAQAkLAmcD/B25ngXlk/lKdAAAAAElFTkSuQmCC" alt="" />
将示例程序整理如下:
/*******************************************************************
* Copyright(c) 2014-2015 传智播客
* All rights reserved.
*
* 文件名称: main.cpp
* 简要描述: 该文件演示了脑波程序通过TGCD与设备通信
*
* 创建日期: 2014-02-03
* 作者:
* 说明: 1.0
*
* 修改日期:
* 作者:
* 说明:
******************************************************************/
#include <Windows.h>
#include <stdio.h>
#include "thinkgear.h" void wait()
{
system("pause");
} int main()
{
char *comPortName = NULL;
int dllVersion = 0; // 动态库版本
int connectionId = 0; // 连接ID
int packetsRead = 0; // 包数量
int errCode = 0; // 错误码 /* 获取动态库版本 */
dllVersion = TG_GetDriverVersion();
printf( "ThinkGear DLL version: %d\n", dllVersion ); /* 获取连接ID */
connectionId = TG_GetNewConnectionId();
if( connectionId < 0 )
{
printf("ERROR: TG_GetNewConnectionId() returned %d.\n",
connectionId );
wait();
exit( EXIT_FAILURE );
} /* 原始数据日志 */
errCode = TG_SetStreamLog( connectionId, "streamLog.txt" );
if( errCode < 0 ) {
printf("ERROR: TG_SetStreamLog() returned %d.\n", errCode );
wait();
exit( EXIT_FAILURE );
} /* ThinkGear数据日志 */
errCode = TG_SetDataLog( connectionId, "dataLog.txt" );
if( errCode < 0 ) {
printf("ERROR: TG_SetDataLog() returned %d.\n", errCode );
wait();
exit( EXIT_FAILURE );
} /* 准备连接的COM口 */
comPortName = "\\\\.\\COM3"; // \\.\COM3
errCode = TG_Connect( connectionId,
comPortName,
TG_BAUD_9600,
TG_STREAM_PACKETS );
if( errCode < 0 ) {
printf("ERROR: TG_Connect() returned %d.\n", errCode );
wait();
exit( EXIT_FAILURE );
} if( 0==TG_EnableBlinkDetection(connectionId, 1)) // 启动眨眼检测
{
printf("Success enalbe blink");
} /* 不停的读取数据 */
packetsRead = 0;
while(1/* packetsRead < 10*/ )
{
//Sleep(50);
/* 读一个报文 */
errCode = TG_ReadPackets( connectionId, 1 ); /* 如果这个报文读取成功 */
if( errCode == 1 )
{
int att, det, sig;
#if 0
/* 尝试读眨眼 */
if(( errCode = TG_GetValueStatus(connectionId, TG_DATA_BLINK_STRENGTH)) != 0 )
{
/* 读取专注度值 */
printf("blink: %d\n", TG_GetValue(connectionId, TG_DATA_BLINK_STRENGTH) );
system("pause");
}
#endif
if(( errCode = TG_GetValueStatus(connectionId, TG_DATA_ATTENTION)) != 0 )
{
att = TG_GetValue(connectionId, TG_DATA_ATTENTION) ;
det = TG_GetValue(connectionId, TG_DATA_MEDITATION);
sig = TG_GetValue(connectionId, TG_DATA_POOR_SIGNAL);
printf("attentin = %d, meditation=%d, signal=%d\n", att, det, sig);
}
}
else
{
printf("ReadPackets:errcode=%d\n", errCode);
Sleep(1000);
} } /* 释放连接 */
TG_FreeConnection( connectionId ); /* End program */
system("pause");
return( EXIT_SUCCESS );
}
脑波设备mindwave TGCD接口开发示例的更多相关文章
- 脑波设备mindwave二次开发框架
神念科技提供的mindwave提供了脑波耳机和相应的游戏,这些游戏你可以通过购买神念科技的mindwave耳机来获取,这里不多作介绍. 我们作为程序员,如果有了相应的创意,也可以通过他们提供的二次开发 ...
- 脑波设备mindwave介绍
脑波,又称之为脑电波,是人大脑发出的电波,非常的微弱,只能通过设备来检测. 人的脑波在不同状态下,会不同,因此可以通过脑波来量化分析人的精神状态. 科学家讲脑电波分为四种,以下为详细解释(摘自百度百科 ...
- 脑波设备mindwave数据流二次开发示例
数据流开发神念科技提供了两个文件ThinkGearStreamParse.h和ThinkGearStreamParse.cpp两个文件,主要接口为: 宏定义: /* Data CODE definit ...
- 脑波设备mindwaveTGC接口示例
TGC是一个后台应用程序,它负责和脑波设备建立连接,并获取数据,另一方面,它打开了一个端口在监听,让二次开发的应用程序,可以通过socket连接到这个TGC后台程序,获取脑波数据并展示,这种接口适合非 ...
- 获取QQ状态接口开发示例
unit checkqqstatus; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Control ...
- python之接口开发基础知识
一.开发接口的作用 1.mock 服务:在别的接口没有开发完成的时候可以模拟一些接口以便测试已经开发完成的接口,例如假的支付接口,模拟支付成功.支付失败. 2.了解接口是如何实现的:数据交互.数据返回 ...
- Python flask模块接口开发学习总结
引言 Flask 是一个简单且十分强大的Python web 框架.它被称为微框架,“微”并不是意味着把整个Web应用放入到一个Python文件,微框架中的“微”是指Flask旨在保持代码简洁且易于扩 ...
- API接口开发简述示例
作为最流行的服务端语言PHP(PHP: Hypertext Preprocessor),在开发API方面,是很简单且极具优势的.API(Application Programming Interfac ...
- 示例浅谈PHP与手机APP开发,即API接口开发
示例浅谈PHP与手机APP开发,即API接口开发 API(Application Programming Interface,应用程序接口)架构,已经成为目前互联网产品开发中常见的软件架构模式,并且诞 ...
随机推荐
- python heapq
这个模块(build-in)实现了一个堆的数据结构,完美的解决了Top-K问题,以后解决Top-K问题的时候,直接把这个模块拿来用就可以了 注意,默认的heap是一个小顶堆! heapq模块提供了如下 ...
- Android 开发中常用小技巧
TextView中的getTextSize返回值是以像素(px)为单位的, 而setTextSize()是以sp为单位的. 所以如果直接用返回的值来设置会出错,解决办法是 用setTextSize() ...
- 关于RSA加密
RSA算法是一种非对称密码算法,所谓非对称,就是指该算法需要一对密钥,使用其中一个加密,则需要用另一个才能解密. RSA的算法涉及三个参数,n.e1.e2. 其中,n是两个大质数p.q的积,n的二进制 ...
- 关于C语言中结构体中的结构体成员导致的字节对齐问题
关于结构体的字节对齐是什么,就不赘述,再此附上一篇文章,介绍字节对齐:http://www.linuxsong.org/2010/09/c-byte-alignment/ 这里的结构体字节对齐的数据类 ...
- ODI中删除数据的处理
ODI中删除数据的处理 一.前提知识:数据从源数据库向数据仓库抽取时,一般采用以下几种方式: 全抽取模式如果表的数据量较小,则可以采取全表抽取方式,以TRUNCATE/INSERT方式进行数据抽取. ...
- Linux下diff使用简介
diff用来比较两个文件的差异.首先构建两个相似的文件. Hello文件 world文件 使用diff -u hello world > diff.txt,将两个文件的比对结果输入到diff. ...
- 使用MIDAS访问远程Access数据库
使用MIDAS访问远程Access数据库 Allen Tao(http://blog.csdn.net/allentao/) 2005-5-3 本文源码下载 访问远程数据库常用的办法是 ...
- (7) 引用Objective-C class library
原文 引用Objective-C class library 这个范例是如何在Xamarin.ios中去使用一个我们自行在Xcode中开发的Objective-c Class Library. 主要会 ...
- C语言入门(1)——C语言概述
1.程序与编程语言 我们使用计算机离不开程序,程序告诉计算机应该如何运行.程序(Program)是一个精确说明如何进行计算的指令序列.这里的计算可以是数学运算,比如通过一些数学公式求解,也可以是符号运 ...
- 传智播客C/C++学院年薪24-50万招聘C/C++讲师
C/C++技术讲师 6名 (北京,年薪:24-50万) 传智播客C/C++课程培训体系如下: 1.C语言,世界五百强C语言面试训练 2.C++语言,世界五百强C++语言面试训练 3.数据结构与算法,世 ...