Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACTrackGrossNet


Ignore:
Timestamp:
03/21/12 08:21:58 (13 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACTrackGrossNet

    v1 v1  
     1= SetDACTrackGrossNet =
     2Set a DAC output to track gross or net scale weight.
     3
     4{{{
     5int SetDACTrackScale(int dev, DACTrackGrossNet grossnet, int wait);
     6}}}
     7
     8== Parameters ==
     9
     10 * dev - number of DAC card.
     11 * grossnet - track dacTrackGross (track scale gross weight) dacTrackNet (track scale net weight)
     12 * wait - WAIT_ACK Wait for acknowledgement, NO_WAIT_ACK do not wait for acknowledgement
     13
     14== Return Value ==
     15
     16 * Returns the result - OK success (If WAIT_ACK may be TIMEOUT)
     17
     18== Remarks ==
     19
     20The 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.
     21
     22== Examples ==
     23
     24{{{
     25   int dac = 1; // number of dac card - not number of slot
     26   DACTrackGrossNet grossnet = dacTrackGross;
     27
     28   if(SetDACTrackGrossNet(dac, 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]