ok so I have now made a few changes to my code, see below. [DllImport(_DRIVER_FILENAME, EntryPoint = "ps5000aEnumerateUnits")] public static extern DataAqu_PicoScope.PicoStatus EnumerateUnits(out short Count, out StringBuilder SerialCSV, ref short SerialCSV_Length); //Test Code short deviceCount; St...