Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

call Hilbert Transform in my C++ app

Hey!
 
I wanna use Hilbert Transform to get the envolope of the signal acquired from the PCI-6115 DAQ board. I wrote my application in C++ (under .NET 2003). Is there any library that provides Hilbert Transform function?
 
In my LabView 7 Express, it seems there is a "lvanlys.dll" which contains a function "long FastHilbertTransformH(void *xH, long *tbl)". But how can I call it in my own C++ application?
 
Thanks and Regards,
 
Tim
0 Kudos
Message 1 of 5
(4,951 Views)
Hello

Measurement Studio Professional and higher provides CNiMath::FastHilbertTransform() for use with Visual C++ (MFC based apps) in Visual Studio .NET 2003.

I hope this helps.
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(4,941 Views)
I am gonna try that. Thanks a lot!!
0 Kudos
Message 3 of 5
(4,934 Views)
hey Bilal,
 
 
I am wondering, does "CNiMath::FastHilbertTransform()" use FFT/IFFT to implement the hilbert transform? or in other way?
I care a lot about the speed; if it uses FFT/IFFT, it would not meet our requirement.
 
 
 
-- Tim
0 Kudos
Message 4 of 5
(4,913 Views)

The algorithm used by the FastHilbertTransform is documented in the help for that method. It'll provide more insight on how this operation is being performed. If you go the help index, select Measurement Studio C++ libraries in the filter and type in "FastHilbertTransform", it should take you to the topic.

Bilal Durrani
NI
0 Kudos
Message 5 of 5
(4,903 Views)