Mickie
2006-10-12 10:40:10 UTC
Hi,
I use VB to control HSDIO card by means of Labview (8.0) DLL.
I've broken the labview programme into two portions into corresponding labview DLLs
The first command button on VB will load a waveform on labview by passing parameters from VB to labview DLL calling the DLL function.
The second command button on VB is to start the desired waveform (generation and acquisition) using the labview DLL function (I called 'Start')
I pass the IVI instrument handle via global variables.
The waveform that I generate takes 3 minutes to complete
On the second labview DLL (the one used in the second command VB button), I start both the generation and acquisition using the HSDIO initiate VI. What I found out is that the function 'Start' will not return until the acquisition (3 min) is completed.
Is there a way to cause the function 'Start' (labview DLL) to return to VB earlier (to the next line on VB) so that I can have the freedom to reset the generation and acquisition while the waveform is outputing on the HSDIO 6552 card ? (for purposes of correcting the parameters in cases of error).
The second question is if I want to acquire more than 100 000 samples (which is the max number of samples that the VI configure acquisition size vi can take), how can I do so?
Thanks
Mick
I use VB to control HSDIO card by means of Labview (8.0) DLL.
I've broken the labview programme into two portions into corresponding labview DLLs
The first command button on VB will load a waveform on labview by passing parameters from VB to labview DLL calling the DLL function.
The second command button on VB is to start the desired waveform (generation and acquisition) using the labview DLL function (I called 'Start')
I pass the IVI instrument handle via global variables.
The waveform that I generate takes 3 minutes to complete
On the second labview DLL (the one used in the second command VB button), I start both the generation and acquisition using the HSDIO initiate VI. What I found out is that the function 'Start' will not return until the acquisition (3 min) is completed.
Is there a way to cause the function 'Start' (labview DLL) to return to VB earlier (to the next line on VB) so that I can have the freedom to reset the generation and acquisition while the waveform is outputing on the HSDIO 6552 card ? (for purposes of correcting the parameters in cases of error).
The second question is if I want to acquire more than 100 000 samples (which is the max number of samples that the VI configure acquisition size vi can take), how can I do so?
Thanks
Mick