Version 1 (modified by 13 years ago) ( diff ) | ,
---|
GetDACPercent
Get a DAC output percentage.
int GetDACPercent(int dev);
Parameters
- dev - number of DAC card.
Return Value
- Returns the percentage of the DAC output
Remarks
The option card must already be opened by calling OpenMnBd(dev) first. The DAC output registers must already be initialized by calling, SetDACReg, etc... 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 percent = GetDACPercent(dac); DisplayText(0, 0, "DAC Percent = " + IntToStr(percent));
See Also
Note:
See TracWiki
for help on using the wiki.