Skip to content

Commit

Permalink
fix channel check in hardware calcs for scape
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed Oct 3, 2023
1 parent 18332c1 commit 2535830
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ private boolean doHardwareCalculationsSCAPE(PLogicDISPIM plc) {
boolean changeChannelPerVolumeSoftware = false;
boolean changeChannelPerVolumeDoneFirst = false;
if (acqSettings_.isUsingChannels()) {
if (asb_.numChannels() > 1) {
if (asb_.numChannels() == 0) {
studio_.logs().showError("\"Channels\" is checked, but no channels are selected");
return false; // early exit
}
Expand Down

0 comments on commit 2535830

Please sign in to comment.