Download VxWorks Device Driver User`s Manual
Transcript
PMC-16AO-12 VxWorks Device Driver User’s Manual
5.6.27 SELECT_OUT_CLKING_MODE
The SELECT_ OUT_CLKING_MODE function will set the output clocking mode. There are
two clocking modes simultaneous and sequential. In simultaneous mode, data from the output
buffer is transferred to the entire active output channel group. Whereas in sequential mode,
data is transferred from the output buffer to one channel at a time in ascending order, starting
with the lowest number in the channel group.
arg PARAMETER:
int * - pointer to one of the following modes
•
SEQUENTIAL
•
SIMULTANEOUS
EXAMPLE:
int FileDesc[2];
int 16AO12Slot = 1;
int Mode;
Mode = SEQUENTIAL;
if (ioctl(FileDesc[16AO12Slot], SELECT_ OUT_CLKING_MODE, (int)
&Mode) == ERROR)
{
logMsg("Select Output Clocking Mode Failed for Slot #%d\n\n",
16AO12Slot, 0, 0, 0, 0, 0);
}
November 22, 2000
56