Skip to content
Snippets Groups Projects
Commit 3ee64546 authored by Josh Siegle's avatar Josh Siegle
Browse files

Remove some debug output

parent 9957e3c5
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ void Rhd2000DataBlock::fillFromUsbBuffer(unsigned char usbBuffer[], int blockInd ...@@ -189,7 +189,7 @@ void Rhd2000DataBlock::fillFromUsbBuffer(unsigned char usbBuffer[], int blockInd
ttlOut[t] = convertUsbWord(usbBuffer, index); ttlOut[t] = convertUsbWord(usbBuffer, index);
index += 2; index += 2;
} }
cout << "Read " << num << " valid samples with " << numDataStreams << " streams. Usb mode status: " << usb3 << endl; //cout << "Read " << num << " valid samples with " << numDataStreams << " streams. Usb mode status: " << usb3 << endl;
} }
// Print the contents of RHD2000 registers from a selected USB data stream (0-7) // Print the contents of RHD2000 registers from a selected USB data stream (0-7)
......
...@@ -1424,19 +1424,19 @@ bool Rhd2000EvalBoard::readDataBlock(Rhd2000DataBlock *dataBlock, int nSamples) ...@@ -1424,19 +1424,19 @@ bool Rhd2000EvalBoard::readDataBlock(Rhd2000DataBlock *dataBlock, int nSamples)
if (usb3) if (usb3)
{ {
std::cout << "usb3 read : " << numBytesToRead << " in " << USB3_BLOCK_SIZE << " blocks" << std::endl; //std::cout << "usb3 read : " << numBytesToRead << " in " << USB3_BLOCK_SIZE << " blocks" << std::endl;
res = dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, numBytesToRead, usbBuffer); res = dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, numBytesToRead, usbBuffer);
} }
else else
{ {
std::cout << "usb2 read: " << numBytesToRead << std::endl; //std::cout << "usb2 read: " << numBytesToRead << std::endl;
res = dev->ReadFromPipeOut(PipeOutData, numBytesToRead, usbBuffer); res = dev->ReadFromPipeOut(PipeOutData, numBytesToRead, usbBuffer);
} }
if (res == ok_Timeout) if (res == ok_Timeout)
{ {
cerr << "CRITICAL: Timeout on pipe read. Check block and buffer sizes." << endl; cerr << "CRITICAL: Timeout on pipe read. Check block and buffer sizes." << endl;
} }
std::cout << "read result: " << res << std::endl; //std::cout << "read result: " << res << std::endl;
dataBlock->fillFromUsbBuffer(usbBuffer, 0, numDataStreams, nSamples); dataBlock->fillFromUsbBuffer(usbBuffer, 0, numDataStreams, nSamples);
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment