40 | | for(n = 1; n <= 2; n++) |
41 | | { |
42 | | SetDACOutputRange(n, dacOutput0to10V, WAIT_ACK); |
43 | | SetDACTrackScale(n, scale, dacTrackGross, WAIT_ACK); |
44 | | SetDACFloat(n, dacLowWeight, 0.0, WAIT_ACK); |
45 | | SetDACFloat(n, dacHighWeight, 10000.0, WAIT_ACK); |
46 | | SetDACFloat(n, dacMaxOutput, 10.0, WAIT_ACK); |
47 | | } |
| 40 | SetDACOutputRange(dac, dacOutput0to10V, WAIT_ACK); |
| 41 | SetDACTrackScale(dac, scale, dacTrackGross, WAIT_ACK); |
| 42 | SetDACFloat(dac, dacLowWeight, 0.0, WAIT_ACK); |
| 43 | SetDACFloat(dac, dacHighWeight, 10000.0, WAIT_ACK); |
| 44 | SetDACFloat(dac, dacMaxOutput, 10.0, WAIT_ACK); |