Rockwell Automation 6008-SV2R VMEbus remote I/O Scanner User Manual
Page 143
Advertising
![background image](/manuals/580456/143/background.png)
Chapter
Programming the Scanner
8
8Ć9
/* poll for command result */
if (wait_for_cmdcmpl(chan) == FALSE) {
/* clear the semaphore */
unlock_gda(chan);
unmap_channel(chan);
fprintf(stdout, ”fdg: wait failure, lock cleared\n”);
return –2;
}
/* clear the semaphore & unmap the channel */
res = csa–>cnfstat;
unlock_gda(chan);
unmap_channel(chan);
return (int) res;
}
Advertising
This manual is related to the following products: