Hi,
I try to get e.g. the b1_p1 measurement to work. But (with an self written driver for the HP8720A). Always get the error "Error: VNA SetUp Mode unknown not supported."
This is thrown from
public void y(VnaSetUpMode mode)
{
System.Console.Out.WriteLine(mode.ToString());
int oldAverage = supports_splid4 ? IFAverageFactor : 0;
switch (mode)
{
case VnaSetUpMode.unknown:
throw new System.Exception("VNA SetUp Mode unknown not supported.");
So it looked initially like an driver issue. But somehow the functions CompareParameterMatrices seems to not work because if I call:
VnaParameter[,] test = new VnaParameter[1, 1] { { VnaParameter.Receiver(VnaReceiverType.b, 1, 1) } };
VnaHelper.GetVnaSetUpMode(test);
The return value should be VnaSetUpMode.b1_p1;
As this if condition supposes:
if (VnaParameter.CompareParameterMatrices(parameterMatrix, new VnaParameter[1, 1] { { VnaParameter.Receiver(VnaReceiverType.b, 1, 1) } }))
{
return VnaSetUpMode.b1_p1;
}
But it is VnaSetUpMode.unknown.
What am I missing ?
Kind regards
Sebastian