Skip to content

Commit 7d5bf0a

Browse files
authored
Merge pull request #538 from open-ephys/issue-496
Add basic troubleshooting step when lock cannot be acquired
2 parents e4e546b + ed67822 commit 7d5bf0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

OpenEphys.Onix1/ConfigurePortController.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ public override IObservable<ContextTask> Process(IObservable<ContextTask> source
8484
.GetCustomAttribute<DescriptionAttribute>()?
8585
.Description ?? "Address " + deviceAddress.ToString();
8686
var message = portVoltage.Requested.HasValue ?
87-
$"Unable to acquire communication lock on {portString}" :
88-
$"Unable to acquire communication lock on {portString}. You may need to manually specify a PortVoltage greater than {PortVoltage.Applied} volts, the maximum automatic value for this device.";
87+
$"Unable to acquire communication lock on {portString}. Confirm the headstage port is turned on." :
88+
$"Unable to acquire communication lock on {portString}. Confirm the headstage port is turned on."
89+
+ $"\n\nIf the problem persists, you may need to manually specify a PortVoltage greater than {PortVoltage.Applied} volts, the maximum automatic value for this device.";
8990

9091
dispose();
9192
throw new InvalidOperationException(message);

0 commit comments

Comments
 (0)