r*****i 发帖数: 6 | 1 【 以下文字转载自 Engineering 讨论区,原文如下 】
发信人: recolci (小白), 信区: Engineering
标 题: Labwindows GPIB接口编程的问题,谢谢
发信站: Unknown Space - 未名空间 (Mon Jan 17 23:50:55 2005) WWW-POST
虚心请教一个GPIB接口编程的基础问题,大家不要骂我笨。
仪器写到GPIB有两个数据,用labwindows/CVI从GPIB读取数据的时候, 如果想分别存成
两个变量,应该怎么写啊? ibrd()只能指定读取的byte,该怎么写啊?
谢谢, 谢谢!!! |
|
r*****i 发帖数: 6 | 2 虚心请教一个GPIB接口编程的基础问题,大家不要骂我笨。
仪器写到GPIB有两个数据,用labwindows/CVI从GPIB读取数据的时候, 如果想分别存成
两个变量,应该怎么写啊? ibrd()只能指定读取的byte,该怎么写啊?
谢谢, 谢谢!!! |
|
|
q********8 发帖数: 1 | 4 哈尔滨工业大学复合材料与结构研究所招软 硬件工程师。
一、招聘岗位
软件工程师1人
硬件工程师1人
二、招聘条件
1.计算机、电子、自动化及相关专业,1-2年项目开发经验,本科以上学历;
2.对编程方法,工具和技术有很好的理解;
3.专业基础知识扎实,熟悉单片机、数字电路、模拟电路以及嵌入式系统开发,有相关
开发经验优先;
4.熟悉布线规则、熟练绘制PCB,多层板绘制经验;
5.英文水平良好,能够熟练阅读各类英文资料;
6.熟练使用C语言编写底层程序;
7.熟练使用Labview或Labwindow等软件编写程序。
三、应聘方法
1、应聘者请填写“应聘登记表”(见附表),并将电子版发送至电子邮箱zczhang@hit
.edu.cn,邮件名称请注明“应聘-姓名”,否则不予受理。
2、收到申请表后,将对应聘人员的材料进行初审,对初审合格者,将安排面试并进行
考核(时间另行通知)。面试时应聘者须携带身份证、毕业证、学位证及其他证明自身
能力水平的证件。未获面试资格者恕不回函回电。
3、暂不接待来访,请勿来人咨询。
四、联 系 人:张老师
联系电话:0451-86403269
哈工大学航天学 |
|
t*m 发帖数: 208 | 5 THis is a command in labwindows.
int result = OpenComConfig (int COMPort, char deviceName[], long baudRate,
int parity, int dataBits, int stopBits,
int inputQueueSize, int outputQueueSize);
Purpose
Opens a com port, and sets port parameters as specified. If inputQueueSize
or outputQueueSize is between 1 and 29, it is forced to 30.
Parameters
Input COMPort integer Range 1 through 32.
deviceName string Name of the COM port.
baudRate |
|
t****t 发帖数: 6806 | 6 To be more precise, it's the 16550 compatible chip which support
115200bps, not 8250.
what is labwindows?
Never heard it......
Nowadays PC always have 16550 compatible communication chips.
I can't find it now, but I remember that 128000 and 256000 is not for
serial ports. but 115200 is, maybe some driver doesn't support it. |
|
t*m 发帖数: 208 | 7 Labwindows is a kind of foolproof software designed for
device driver or psedo real time programming. It runs
in 98/NT, so I guess the baud rate of serial port from
this command. VC should have such command too. |
|
a******q 发帖数: 27 | 8 功能差不多,Labview用的是图形化编程语言,Labwindows就是C语言 |
|
c*******o 发帖数: 62 | 9 GPIB is simple per se, you can create scripts via LabVIEW, LabWindows, VB, C
#, HP VEE, even TCL or Ruby. However, when you try to integrate a bunch of
HW(FPGA, DAQmax, GPIB, RS232, Field Point, CAN bus, etc.) to write a complex
test plan, it's always convenient to use LabVIEW/TestStand
once |
|
d***p 发帖数: 128 | 10 有没有用过NI(national instruments)软件的?如labWindows/CVI什么的。哪里有免
费资料吗? |
|
h****l 发帖数: 7290 | 11 没编过GPIB的东东,只编过PCI和PXI的 :( |
|
d*****s 发帖数: 313 | 12 If you know the format of the output data, you can certainly
write a tiny code to separate it after reading from your instrument. |
|
q*********n 发帖数: 103 | 13 Hi,
I am trying to activate a CVI for data acquisition on a computer. My company
has a license, but I don't if it will charge extra to activate the program
in another computer. Thanks so much!
(sorry can't type characters in this laptop) |
|