Rockwell Automation 6008-SV2R VMEbus remote I/O Scanner User Manual
Page 148
Advertising
Chapter
Programming the Scanner
8
8Ć14
/* send the command interrupt */
assert_cmd(chan);
/* poll for command result */
if (wait_for_cmdcmpl(chan) == FALSE) {
/* clear the semaphore */
unlock_gda(chan);
unmap_channel(chan);
fprintf(stdout, ”osbtwrite: wait failure, lock cleared\n”);
return –2;
}
/* clear the semaphore */
res = csa–>cnfstat;
unlock_gda(chan);
unmap_channel(chan);
return (int) res;
}
Advertising
This manual is related to the following products: