Transform Library

15 views
Skip to first unread message

Justin Sayres

unread,
Jun 19, 2026, 11:33:03 AM (5 days ago) Jun 19
to VNA Tools
Hello,

I am trying to use the Metas.Vna.Data.SignalProcessing.Transforms function ConmputeTimeDomain from the newest version of VNA Tools in a C# project, but I am getting an error that states it can’t find custom_mkl.dll.

It has no problem calling other functions from Transforms class such as ComputeGateShape and ComputeScale.

I have already tried 
set PATH=%PATH%;"C:\Program Files\METAS\Metas.Vna.Tools"

Could you provide any guidance?

Thanks,
Justin


Justin Sayres

unread,
Jun 19, 2026, 11:37:49 AM (5 days ago) Jun 19
to VNA Tools

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Metas.IntelMKL._mkl' threw an exception. ---> System.Exception: custom_mkl.dll not found

   at Metas.IntelMKL._mkl_helper.get_DLLPath()

   at Metas.IntelMKL._mkl..cctor()

   --- End of inner exception stack trace ---

   at Metas.IntelMKL._mkl.DftiCreateDescriptor(IntPtr& desc, Int32 precision, Int32 domain, Int32 dimention, Int32 length)

   at Metas.IntelMKL.MKL.FFT(ComplexDouble[] a, Boolean inverse)

   at Metas.UncLib.Core.NumLib.Ifft[T](Complex`1[] a, Boolean withoutUnc)

   at Metas.Vna.Data.SignalProcessing.Transforms.ComputeTimeDomainSub[T](Complex`1[] data, Mode mode, Window window, Double df, Double& dt, Boolean withoutUnc)

   at Metas.Vna.Data.SignalProcessing.Transforms.ComputeTimeDomain[T](Double[] freq, Complex`1[] data, Mode mode, Window window, Double[]& time, Boolean withoutUnc)

   at ConsoleApp1.MetasTdr.ToTimeDomain(SParamData`1 freqData) in C:\Users\Public\Documents\Metas.Instr\Drivers\Source\ConsoleApp1\MetasTDR.cs:line 105

   at ConsoleApp1.Program.Main(String[] args) in C:\Users\Public\Documents\Metas.Instr\Drivers\Source\ConsoleApp1\Program.cs:line 55

Justin Sayres

unread,
Jun 19, 2026, 2:55:13 PM (5 days ago) Jun 19
to VNA Tools
Disregard, it has something to do with my project setup. I loaded the code in the UncLib Examples project and it worked fine.
Reply all
Reply to author
Forward
0 new messages