LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL to generate waveform

Hi
 
I am facing a problem with a DLL used to generate waveform.
 
I use LabVIEW 8.2.1.
 
I developed a VI to generate a sine waveform. The frequency, amplitude and no. of cycles of the waveform to be generated are its inputs.
I also have an input to abort the operation. The output of this vi is just an error message.
 
I made the DLL of this function and tried using it in another LabVIEW vi. This vi was hanging. I was not able to control the 'abort' input.
Later, I made  aborting as a second function of the earlier DLL.
 
I am using the DLL, as re-entrant, in two vis. One vi performs the generation function. The other vi performs the abort function.
 
The vi performing the generation must stop once the required number of cycles is generated. Or, it must stop when 'abort' is true.
This is not happening. LabVIEW is hanging.
 
This procedure is working on a simple counting operation, addition operation but not in the waveform generation.
 
I am not able to trace the error.
Am i missing something?
 
If you are not yet confused, please help me 
 
Thanks
 
0 Kudos
Message 1 of 2
(2,931 Views)
Is this the same question as the one here?
Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,916 Views)