是德科技
直播中

李秀云

7年用户 814经验值
私信 关注
[问答]

运行两个独立的Vee程序会发生什么?

如果您正在使用VISA并且仪器使用的是VXI-11协议(我相信34980可以使用),那么您可以使用VISA锁定来保护一个程序与另一个程序。
每个程序都需要围绕它对设备的调用调用viLock()和viUnlock()。
如果一个程序具有锁定,则另一个程序将阻塞直到它被释放。
如果LAN仪器不使用VXI-11进行传输(例如较新的合成仪器,只能通过IVI-COM或Socket调用编程),那么我不确定是否有一个好的解决方案。
LXI联盟正在积极致力于“资源管理”,但我认为现在判断它将如何发展还为时尚早.Brian Powelllabview R& D>有谁知道,如果我运行两个独立的Vee程序会发生什么>查询
LAN上的相同仪器。
第一个项目每3分钟读取一次读数,第二个项目每24小时读取一次。
如果他们都试图同时与乐器交谈,会发生什么?>> Vee会崩溃还是安捷伦34980A将任务排成队列.

回帖(1)

李秀云

2019-10-16 16:58:53
嗨Vrf,有人知道,如果我运行两个独立的Vee程序通过LAN查询相同的仪器会发生什么。
第一个项目是每3分钟读一次,第二个项目每24小时读一次。
如果他们都试图同时与乐器交谈会怎样?
Vee会崩溃还是安捷伦34980A将任务排成队列。
感谢您的帮助。
最佳ĀregardsGavinCandy。
质量工程师。
BHCComponentsÂÂtd20-21 Cumberland Drive Granby Industrial Estate WeymouthDT4Â9TEEngland电话:++44Â1305Â830734传真:++44Â1305Â760670电子邮件:ÂÂgavin.candy@bhc。
co.uk网站:http://www.bhc.co.uk ---如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。
要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。
要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。

以上来自于谷歌翻译


     以下为原文

  
Hi Vrf,

        Does anybody know, what will happen if I run two separate Vee programs querying the
same instrument over the LAN. First program is taking readings every 3 mins, 2nd program is
taking reading every 24hrs. What happens if they both try to talk to the instrument at the same time?
Will Vee crash or will the agilent 34980A put the tasks in a queue.

Thanks for your help in advance.

Best  regards

Gavin Candy.  
Quality Engineer.
BHC Components  Ltd
20-21 Cumberland Drive
Granby Industrial Estate
Weymouth
DT4  9TE
England

Tel:           ++44  1305  830734
Fax:          ++44  1305  760670
Email:        gavin.candy@bhc.co.uk
website:     http://www.bhc.co.uk
---  To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分