long command |
A valid pci board command. See CController.h PCI
command list for details. |
// This code demonstrates how to reset the PCI
// board using PCICommand().
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
long lReply = cController.PCICommand( PCI_RESET );
if ( lReply != DON )
throw std::runtime_error( "PCI_RESET failed" );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.