LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a DLL with asynchronous calls in LabVIEW for use in another environment.

Hello All,

I need to create a DLL in LabVIEW that is going to be used from inside a Delphi environment.
The thing that confuses me is that I don't know how to create asynchronous functions.

Let me further explain.

I want to have an "Init" function.
This function starts a continuous dataacquisition process. The dataacquisition process continuously samples data at a rate of 1Msamples/sec. (in blocks of 4096 samples each time)

I want to have an "Abort" function.
This function stops the continuous dataacquisition process.

The third function I need is a "MeasureAndAnalyse" function.
If this function is called, the following block of 4096 samples is processed (FFT, ...) to retrieve the valid data.

The fourth function can be used to check if the MeasurementAndAnalyse function is ready and return the actual result if this function is ready.

What I don't know is how I can do all of this asynchronously.
In my opinion the LabVIEW vi's I make are all synchronous.
How to do this asynchronously???

Does anybody know of an example of a similar thing?

Thanks in advance for all the help!

Dennis.
0 Kudos
Message 1 of 2
(2,589 Views)
Ok, after somem ore searching I found an example called "Building Asynchronous DLLs in LabVIEW".
I will give that a try.
0 Kudos
Message 2 of 2
(2,584 Views)