Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

HarmonicAnalyzer exception

Hi,

 

I'm getting an AccessViolationException when using Measurements.HarmonicAnalyzer. I'm trying catching the exception, but I can't and I don't know why. The exception is repetible with the same input, but it doesn't occur with different inputs. The version of the assemblies are 9.1.40.204 (for Analysis) and 9.1.40.159 (for Common).

 

Can someone help me with this exception?

 

I attach an example in order to replicate the exception.

 

Regards.

Download All
0 Kudos
Message 1 of 3
(5,410 Views)

Hello jrafa,

 

It appears that this is a bug. I have submitted a bug report under ID 370422 that you can use for tracking. The issue still exists as of MStudio 2012.

 

However, I did find that the other overloaded method for HarmonicAnalyzer does work.

National Instruments
0 Kudos
Message 2 of 3
(5,351 Views)

Hello, thanks for the answer.

 

The other overload method has not an exception, but I have not the same result in both functions. For example in the attached code I have a result of 99.038 in the first method and 100.35 in the second, with the same input. Do you know why? Is there a method for convert the result of the first method into the second?

 

Is there some link to follow the bug?

 

Regards.

0 Kudos
Message 3 of 3
(5,323 Views)