wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/StopDACTrackScale

StopDACTrackScale

Stop a DAC output from tracking scale weight.

int StopDACTrackScale(int dev, int wait);

Parameters

  • dev - number of DAC card.
  • wait - WAIT_ACK Wait for acknowledgement, NO_WAIT_ACK do not wait for acknowledgement

Return Value

  • Returns the result - OK success (If WAIT_ACK may be TIMEOUT)

Remarks

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.

Examples

   int dac = 1; // number of dac card - not number of slot
   int scale = 1;
   DACTrackGrossNet grossnet = dacTrackGross;

   if(SetDACTrackGrossNet(dac, scale, grossnet, WAIT_ACK) != OK)
   {
       DisplayText(0, 0, "SetDACTrackGrossNet Error");
   }

See Also

Last modified 7 years ago Last modified on 04/12/18 12:35:45
Note: See TracWiki for help on using the wiki.