Hi Sir,
Need help on C# USB-845x.
I using C# to develop a program to communicate with USB-845x, when i try to import ni845xSetIoVoltage, i founded some error = -301706.
[DllImport("Ni845x.dll", EntryPoint = "ni845xSetIoVoltageLevel", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl, SetLastError = true)]
unsafe static extern Int32 ni845xSetIoVoltageLevel(
UInt32 DeviceHandle, //NiHandle DeviceHandle
byte VoltageLevel); //uInt8 VoltageLevel
here is my code.