由买买提看人间百态

topics

全部话题 - 话题: gpib
首页 上页 1 2 (共2页)
c******k
发帖数: 1140
1
当我点击labview 的连续运行按钮后, TEC Enable 按钮根本不起作用,每次都是先把
TEC Enable 的状态点击好,然后点击labview 的Run, 这个时候程序就work.
什么原因导致当程序运行时,TEC Enable 按钮不起作用,菜鸟谢了!

PC
a****l
发帖数: 8211
2
because you don't have the while loop. When you click the run button, the
program just runs and finishes, leaving you no time to click button. i.e.,
by the time you clicked the button, it has already checked the button and
moved on.
c******k
发帖数: 1140
3
Thanks. 但是是在想不出 那个loop condition 要连接什么?否则电路是断的
a****l
发帖数: 8211
4
see that red dot at the lower-right side? put a false constant to it.
c******k
发帖数: 1140
5
但还是不Work, TEC Enable 按钮不起作用。 程序见附图。多谢现场指导
x****g
发帖数: 2000
6
god,找个本地的人现场帮你搞吧
c******k
发帖数: 1140
7
我们是个光学lab, 周围的人也不懂这个。自己才学了没几天,所以见笑了,思维还停
留在语言编程的模式。
逻辑是这样的:
TEC 按钮开: 送 1 给 TEC:OUT 1命令,去控制TEC 打开
TEC 按钮关: 送 0 给 TEC:OUT 0命令,去控制TEC 关闭
所以无论TEC按钮开还是关,都有命令动作。
似乎我还是要用 Case structure. 但是为了开关按钮起作用,还要用 while loop. 这
样,那个TEC按钮要连接 Case structure,又要连接 while loop 的 loop condition.
所以我就逻辑混乱了,。。。拜托点拨!
a****l
发帖数: 8211
8
参考一下这个吧. 我用了visa write的模块,因为那别instrument i/o assistant总是
crash掉我的lv(无奈...),所以你就看这个将就一下吧.
c******k
发帖数: 1140
9
太谢了,明天试试
w**d
发帖数: 13
10
while loop 执行完
才接着运行
死循环
c******k
发帖数: 1140
11
你的这个程序Laser_LV_Diagram.JPG 确实work. 但是怎么才能 stop 这个程序呢? 如
果不想用软件上的 stop 按钮。好像while loop 内的红色的stop连接 False or true
constant 都可以,但是不能停止程序。
任何人给些指导,谢谢
b****r
发帖数: 2555
12
at least you should put your TEC control program inside of the
while loop, otherwise what is the point of while loop?
you need some basic understanding of labview.
b****r
发帖数: 2555
13
go to ni.com, looking for instrument driver network. maybe you can find
a labview driver for your instrument.

true
b****r
发帖数: 2555
14
put a stop button on your while loop constrol, so the TEC controller
will continue working as long as you do not stop it;
and then connect your TEC button to the case structure, so the TEC will
turn on/off at your instruction.
when everything is done, click on the stop button. The while loop quits
and the program stops.
by the way, donot forget the put the case structure inside of your
while loop.

condition.
c******k
发帖数: 1140
15
很详细,谢谢!
c*******o
发帖数: 62
16
来自主题: EE版 - 想买labview的书
想学什么方面呢?
DAQMax, cRIO,FPGA, FieldPoint,GPIB还是general的LabVIEW编程?
其实网上有很多电子版的资源
b*******2
发帖数: 2121
a****l
发帖数: 8211
18
labview的优势在软硬件结合的系统,matlab的优势在计算和code的效率.
b*******2
发帖数: 2121
19
辉常辉常感谢!真详细!

diagram
z*****n
发帖数: 7639
20
MATLAB has far more powerful data processing capabilities.
h**g
发帖数: 94
21
LabView can not do text based coding, such as script.
It is pain to do post data processing.
b*******2
发帖数: 2121
a****l
发帖数: 8211
23
actually there is a formula node and math script node to do that job. You
can literally write a small C style program in those function. If your
program does not have function calls, dynamic data, I/O, you can write the
entire program in one block.
s******u
发帖数: 247
24
matlab编程流程好控制,labview只能够按照数据流进行编程,比较麻烦。
a****l
发帖数: 8211
25
"流程"也是数字啊,所以最后还是根据数据流编程.数据不单指"data",也包括控制数据
啊.现在的数字计算机,任何操作最后都归为对数据的操作,所以都能用data-flow的方式
编程.除非你是用模拟计算机,那labview可能就有些问题了.
要么你举个比较麻烦的例子?
c*******o
发帖数: 62
26
labview断的时候没报错?没报错怎会自己断?
贴blcok diagram吧,听起来不是什么大程序

labview
labview
r******8
发帖数: 430
27
labview断的时候的确没报错,也可能我编的程序没有报错这个功能。
明天贴一下blcok diagram吧
r******8
发帖数: 430
28
看来不象是软件的问题,现在我用了厂家提供的Labview.发生一样的问题,Labview程
序控制还是不能持久,顶多不到5分钟。然后温度控制器就自己稳定运行,厂家的
labview也不能控制了。
自己用GPIB0 Measurement & Automation Explorer 去监控一下这个仪器,发现一旦失
去Labview的控制,Explorer会显示 The device didn't response to a *IDN? query
(见图)
怎么回事,请指教!
r******8
发帖数: 430
29
Sorry, 上个图贴错了,这个是对的

query
r******8
发帖数: 430
30
又做了一下测试,发现Labview 在控制仪器的过程中,GPIB0 Measurement &
Automation Explorer 是不能发命令去询问仪器的,那么Explorer总会显示 The
device didn't response to a *IDN query。这个现象正常吗?
W***n
发帖数: 11530
31
Labview is piece of junk, for its price, latency and bulky i/f.
c*******l
发帖数: 4801
32
可是人家卖的上价啊
a****l
发帖数: 8211
33
labview basically is the programming language to control their hardware
devices, so you don't have many choices...
a****l
发帖数: 8211
34
OMG! LV 3.0 ! 石器时代的产品啊.
c*******o
发帖数: 62
35
不懂,虽然3.0是古董了一点,但和你的程序没任何关系,难不成你用了那个llb里的
subvi?
有点好奇8.2竟然能打开3.0的文件???我的8.5和8.6是完全没办法打开
c*******o
发帖数: 62
36
so which one do you recommend?
一堆烂的里总要挑出一个比较不烂的吧
都只不过是工具,关键还是看你想要做什么
T******T
发帖数: 3066
37
I seriously hated labview, a royal pain in the butt to change anything once
the flow is in place..Would rather do my own GPIB automation script.
B*****2
发帖数: 83
38
来自主题: EE版 - 有谁用过source meter的?
You have two ways to communicate the Keithley 2602. Either is to use IEEE488
port through a GPIB card or to use RS-232 port directly. A computer with
support software, such as LabView, is necessary.
w********o
发帖数: 10088
39
来自主题: EE版 - 我觉得搞EE的都很牛
labview不够给力,应该直接上gpib
z*****n
发帖数: 7639
40
来自主题: EE版 - 我觉得搞EE的都很牛
15年前用C和ASM搞过,没觉得gpib有啥意思。
b*******t
发帖数: 33714
41
来自主题: EE版 - 我觉得搞EE的都很牛
一个是程序 一个是接口,labview就不能用gpib了么...
a****l
发帖数: 8211
42
来自主题: EE版 - 我觉得搞EE的都很牛
gpib是labview的厂的老本啊,当年就靠这东西起家的...
w********o
发帖数: 10088
43
来自主题: EE版 - 我觉得搞EE的都很牛
labview当然是能用gpib,我这不是说哪个更底层一点么。。。
z*****n
发帖数: 7639
44
来自主题: EE版 - 我觉得搞EE的都很牛
hehe,你就不能再考考古?
IEEE-488 is a short-range digital communications bus specification. It was
created for use with automated test equipment in the late 1960s, and is
still in use for that purpose. IEEE-488 was created as HP-IB (Hewlett-
Packard Interface Bus), and is commonly called GPIB (General Purpose
Interface Bus). It has been the subject of several standards.

)
c******r
发帖数: 76
45
原先是用一台MAC desktop连接到的Ethernet device的,后来我们组有一个人想用自己
的笔记本连,他不懂,稀里糊涂改了一些参数
我本来也不懂,这两天研究得略微懂了些,然后现在在我的windows 7的笔记本上能连
接上了,interface test pass!! 可是,连到我们原先的MAC台式机上,interface总是
不行
这是为什么呢? 难道是因为我用windows版本的装机盘在我的本上装了程序,然后连接
了,就相当于类似于router一样的ethernet device设定了windows版本的setup,所以
换mac就不兼容了? 需要用mac版本的程序CD给mac台式机再重新装一次,然后设定
ethernet device configuration?
谢谢
b********d
发帖数: 720
46
祝你好运!
搭车问一个"工作和专业没有关系"的问题
phd能找自己不是那么擅长的领域吗?因为好像phd做的工作都相对比较专,精
那是否能找自己只做过一些,不过不是很多很懂的工作呢?
拿我自己打比方,是一个涵盖了理科和工程,实验+simulation的一个很诡异的杂七杂
八的phd package
画过mask,做过lithography,做过etching,做过PVD,搭建过semiconductor parameter
analyzer仪器,还研究过GPIB,Ethernet的诡异phd...
可是我除了etching觉得自己蛮懂(化学的人理解这个还是比较容易透彻的,而且做过
很多gate leakage测试,什么情况device leaking,怎么改进做过很多,然后etch过不
少不同的substrate,所以对这一块还是比较有信心的
可是对别的我就没信心,比如PVD,我只做过很模式化的Cr/Ti+Au deposition,而且头几
次把仪器弄熟了之后以后就一直那样搞几下就行,调调beam的强度,调调beam的位置,
amplitude,frequency,一点都不需要去摸索思... 阅读全帖
is
发帖数: 4286
47
来自主题: Engineering版 - Labwindows GPIB接口编程的问题,谢谢
labview or labwindows?
d*****s
发帖数: 313
48
来自主题: Engineering版 - Labwindows GPIB接口编程的问题,谢谢
If you know the format of the output data, you can certainly
write a tiny code to separate it after reading from your instrument.
首页 上页 1 2 (共2页)