NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

请问labview怎么处理消息

请问在labview 里怎么处理windows发送的系统消息和用户自定义消息?
0 项奖励
1 条消息(共 5 条)
4,568 次查看

通常对于系统的鼠标消息和键盘消息等处理,使用事件结构就可以了,用户自定义消息有专门的消息VI发送,不知道你指的消息是否是这两种消息呢》?

0 项奖励
2 条消息(共 5 条)
4,538 次查看

是。如果是另外一个应用程序向lv发送用户自定义消息,在lv中要怎么接收该消息呢,需要什么处理吗?比如:PCI板卡要向lv发送用户自定义消息,在lv中怎么接收并处理该消息呢?

 

http://forums.ni.com/ni/board/message?board.id=2170&thread.id=22643

0 项奖励
3 条消息(共 5 条)
4,534 次查看

LabVIEW can not handle windows message directly.

You have to use C/C++ to handle window message, and wrap it into a dll.

Call the dll in LabVIEW.

 

There is an example demonstrates how to do this:

Windows Message Queue Library

George Zou
0 项奖励
4 条消息(共 5 条)
4,503 次查看

有没有新版本的,我的lv是8.5版的。

0 项奖励
5 条消息(共 5 条)
4,488 次查看