| | 1 | = StopDACTrackScale = |
| | 2 | Stop a DAC output from tracking scale weight. |
| | 3 | |
| | 4 | {{{ |
| | 5 | int StopDACTrackScale(int dev, int wait); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * dev - number of DAC card. |
| | 11 | * wait - WAIT_ACK Wait for acknowledgement, NO_WAIT_ACK do not wait for acknowledgement |
| | 12 | |
| | 13 | == Return Value == |
| | 14 | |
| | 15 | * Returns the result - OK success (If WAIT_ACK may be TIMEOUT) |
| | 16 | |
| | 17 | == Remarks == |
| | 18 | |
| | 19 | The option card must already be opened by calling OpenMnBd(dev) first. If the application is using main board communication events these events may be called during the wait for acknowledgement. |
| | 20 | |
| | 21 | == Examples == |
| | 22 | |
| | 23 | {{{ |
| | 24 | int dac = 1; // number of dac card - not number of slot |
| | 25 | int scale = 1; |
| | 26 | DACTrackGrossNet grossnet = dacTrackGross; |
| | 27 | |
| | 28 | if(SetDACTrackGrossNet(dac, scale, grossnet, WAIT_ACK) != OK) |
| | 29 | { |
| | 30 | DisplayText(0, 0, "SetDACTrackGrossNet Error"); |
| | 31 | } |
| | 32 | }}} |
| | 33 | |
| | 34 | |
| | 35 | == See Also == |
| | 36 | |
| | 37 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACReg SetDACReg] |
| | 38 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetDACTrackScale SetDACTrackScale] |