Jump to content

joseph14

Members
  • Posts

    1
  • Joined

  • Last visited

joseph14's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. 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?
×
×
  • Create New...