I'm using the dwf.cs/dwfPINVOKE.cs wrapper for C#.
public static int FDwfAnalogInStatusNoise(int hdwf, int idxChannel, double[] rgdMin, ref double rgdMax, int cdData) {
int ret = dwfPINVOKE.FDwfAnalogInStatusNoise(hdwf, idxChannel, rgdMin, ref rgdMax, cdData);
return ret;
}
[DllImport("dwf.dll", EntryPoint="FDwfAnalogInStatusNoise", CallingConvention = CallingConvention.Cdecl)]
public static extern int FDwfAnalogInStatusNoise(int jarg1, int jarg2, [MarshalAs(UnmanagedType.LPArray)]double[] jarg3, ref double jarg4, int jarg5);
The fact that rgdMin is a double array but rgdMax is just a singular double is confusing me. Shouldn't the max noise also be an array?