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

Call Library Function Running slow

Hi

I’m using a third party IO board for DAQ experiment. To create a real-time DAQ VI I used the DLL file which’s supplied by the manufacture, I managed to get the VI working to read from the board by using the Call Library function. But the vi running slow, it takes about 10s to get the reading or spot any change, while using Visual basic application any changes are spotted instantly

 

Any help will be appreciated

Marwan
http://www.geocities.com/marwan_m13/weemee8080.jpg
0 项奖励
1 条消息(共 2 条)
2,573 次查看
Just for analysing, where the timeleakage occurs:

Try to measure the execution time of the library function(s). It whould be interesting, if they realy produce the timeleakage or not.

I modified your project for this (see attachment).
0 项奖励
2 条消息(共 2 条)
2,553 次查看