ICP DAS USA PCI-1202L User Manual page 84

Multi-function boards
Table of Contents

Advertisement

PCI-1202/1602/180x Series Card
Multi-Function Boards
Note: The D/A output is floating after first power-on. The D/A output will be enabled after executing D/A
output command. This is the common feature of PEX-1202 and PCI-1202/1602/1800/1802 series.
The sample code for D/A is given as follows:
P180x_Da (...) is designed for PCI-1800/1802 series
P1202_Da (...) is designed for PEX-1202/PCI-1202 series
P1602_Da (...) is designed for PCI-1600 series
WORD P180X_Da(WORD wDaChannel, WORD wDaVal)
{
if (wDaChannel==0)
{
outport(wAddrAdda,wDaVal);
return(NoError);
}
else if (wDaChannel==1)
{
outport((wAddrAdda+4),wDaVal);
return(NoError);
}
else return(DaChannelError);
}
/* channel 0 */
/* channel_1 */
User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 84

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents