We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a12dd3 commit f5a9fa0Copy full SHA for f5a9fa0
Functions/+BpodLib/+calibration/+liquid/+portarray/createValveManager.m
@@ -32,8 +32,8 @@
32
%}
33
34
PortArrayCal = BpodLib.calibration.liquid.ValveDataManagerClass();
35
-
36
-for moduleNumber = 1:BpodSystem.Modules.nModules
+nModules = numel(BpodSystem.Modules.Connected);
+for moduleNumber = 1:nModules
37
for valveIndex = 1:8 % Todo: Only the connected PA's?
38
PortArrayCal.createValve(sprintf('PA%i_%i', moduleNumber, valveIndex));
39
end
0 commit comments