Hi,
I created the vi in LabVIEW that communicates all messages between my computer and scope. After that I compiled it to DLL. This is my declaration in VB.
Public Declare Sub sendCmd Lib "lc_sendcmd" Alias "Lc_sendcmd" (ByVal Command As String, ByVal OutPutStr As String, OutputLen As Long)
The problem is that my application can't terminate as fast as it would be. After I debugged, I found that each time I called the function, termination time is longer (eg. I call this function 10 times, I have to wait for 10s., if I call it 100 times, I have to wait for 100s.). What is the root cause of this problem?
* VB is VB6 and LabVIEW is 6.1
Champ