File tree Expand file tree Collapse file tree
Source/Processors/DataThreads/rhythm-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -682,6 +682,7 @@ void Rhd2000EvalBoard::resetBoard()
682682 if (usb3)
683683 {
684684 dev->SetWireInValue (WireInMultiUse, USB3_BLOCK_SIZE / 4 );
685+ dev->UpdateWireIns ();
685686 dev->ActivateTriggerIn (TrigInOpenEphys, 16 );
686687 cout << " Blocksize set to " << USB3_BLOCK_SIZE << endl;
687688 }
@@ -710,11 +711,15 @@ void Rhd2000EvalBoard::setMaxTimeStep(unsigned int maxTimeStep)
710711 dev->SetWireInValue (WireInMaxTimeStepLsb, maxTimeStepLsb);
711712 dev->SetWireInValue (WireInMaxTimeStepMsb, maxTimeStepMsb >> 16 );
712713 dev->UpdateWireIns ();
714+
715+
713716}
714717
715718// Initiate SPI data acquisition.
716719void Rhd2000EvalBoard::run ()
717720{
721+ dev->UpdateWireOuts ();
722+ std::cout << " Block size: " << dev->GetWireOutValue (0x26 ) << std::endl;
718723 dev->ActivateTriggerIn (TrigInSpiStart, 0 );
719724}
720725
You can’t perform that action at this time.
0 commit comments