// // #include #include #include "SiUSBXp.h" #include "chimaera.h" #include "utils.h" devicePacket_t cmdPacket; devicePacket_t lastStatus; devicePacket_t lastData; bool quiet = false; bool verbose = false; unsigned char seq = 0; int main( int argc, char **argv ) { SI_STATUS rc; unsigned maxLoops = 10; unsigned char packetsRequested = 10; bool quit = false; // Find how many devices are attached DWORD NumDevices; rc = SI_GetNumDevices( &NumDevices ); if ( rc != SI_SUCCESS ) { printf( "Si_GetNumDevices(): rc = %d\n", rc ); exit(0); } // Identify the correct device DWORD deviceIndex; char deviceString[256]; for (deviceIndex=0; deviceIndex