With the simulator(BBD302 Motor Controller) there is an error in:
IOPortConfigParameters IOConfig = device.GetIOPortConfigParams(0x01);
An unhandled exception of type 'System.NullReferenceException' occurred in Thorlabs.MotionControl.DeviceManagerCLI.dll
Additional information: Object reference not set to an instance of an object.
IsMotherboardSettingsKnown = 'device.IsMotherboardSettingsKnown' threw an exception of type 'System.NullReferenceException'
This is After I connected and enabled the channel(which was missing), otherwise first error comes in MotorConfiguration motorSettings = channel.LoadMotorConfiguration
With the simulator(BBD302 Motor Controller) there is an error in: IOPortConfigParameters IOConfig = device.GetIOPortConfigParams(0x01);
An unhandled exception of type 'System.NullReferenceException' occurred in Thorlabs.MotionControl.DeviceManagerCLI.dll Additional information: Object reference not set to an instance of an object. IsMotherboardSettingsKnown = 'device.IsMotherboardSettingsKnown' threw an exception of type 'System.NullReferenceException'
This is After I connected and enabled the channel(which was missing), otherwise first error comes in MotorConfiguration motorSettings = channel.LoadMotorConfiguration