Welcome, Guest
You have to register before you can post on our site.

Search Forums

(Advanced Search)

Forum Statistics
» Members: 27
» Latest member: Yolande
» Forum threads: 185
» Forum posts: 676

Full Statistics

Online Users
There are currently 13 online users.
» 0 Member(s) | 13 Guest(s)

Latest Threads
RJ45 Ethernet jack Ports ...
Forum: Hardware
Last Post: rozmar
07-03-2019, 04:28 AM
» Replies: 5
» Views: 3,847
Error using trial manager...
Forum: Software
Last Post: Josh
07-03-2019, 12:53 AM
» Replies: 3
» Views: 477
Pulse Pal only recognized...
Forum: Software
Last Post: MJJ
06-24-2019, 11:25 AM
» Replies: 2
» Views: 310
Unused ports stuck in ON ...
Forum: Hardware
Last Post: Josh
06-21-2019, 01:30 PM
» Replies: 1
» Views: 511
Setup Question: Rotary En...
Forum: Hardware
Last Post: Josh
06-16-2019, 07:54 AM
» Replies: 1
» Views: 573
Bpod does not turn on
Forum: Hardware
Last Post: Josh
06-16-2019, 07:51 AM
» Replies: 1
» Views: 330
Send input action from so...
Forum: Software
Last Post: Josh
06-16-2019, 07:48 AM
» Replies: 1
» Views: 212
PsychToolbox Asio support...
Forum: Software
Last Post: sandraromerop
05-28-2019, 05:00 PM
» Replies: 4
» Views: 979
Playing different wavefor...
Forum: Software
Last Post: Alex
05-28-2019, 03:09 PM
» Replies: 8
» Views: 702
Test curve for water
Forum: Software
Last Post: Sarah
05-27-2019, 11:39 PM
» Replies: 2
» Views: 247

  Install font error
Posted by: veronica - 01-03-2019, 04:31 PM - Forum: Software - Replies (3)

Hi all,

I'm trying to run Bpod .7 for the first time on matlab 2018 b. After I clone the remote repository and set the path for the folder, I just try to run it with the prompt Bpod but get the following error: ALERT! Bpod needs to install a system font in order to continue. Press enter to install the font. 
When I press enter I get a window with the option "Install" and the font is supposedly installed, but then when I restart matlab I get the same error again. 

Does anybody know what might be going on??


  Bpod and fiber photometry
Posted by: Noa - 01-03-2019, 10:32 AM - Forum: Hardware - Replies (1)

Hi josh and Bpod users!
I wonder whether anyone have tried using Bpod + analog output + analog input for excitation and acquisition of calcium fiber photomerty recordings? 
If anyone have any experience I will appreciate some feedback and advise. 

Thank you!

  [Reward Delivery] Prevent Bacteria Growth
Posted by: Lily - 12-25-2018, 04:52 AM - Forum: Neuro Technology Chat - Replies (1)

My lab is thinking about rewarding mice with sugar water instead of normal water, but we are worried about bacteria growth in the delivery tubes. Does anyone have good suggestions to prevent bacteria growth in water delivery systems?

  Connection problems - modules
Posted by: BrainScientist - 12-24-2018, 11:03 PM - Forum: Hardware - Replies (1)

Hi All,

I'm repeatedly having this problem with multiple modules when creating an object. For example when I type this:
A2D = BpodAnalogIn(BpodSystem.ModuleUSB.AnalogIn1); 
A2D = BpodAnalogIn('COM6')

I get:
"Error using ArCOMObject_Bpod/read (line 348)
Error: The serial port returned 0 bytes."

The same problem appears with a Analog Output module and a Valve Driver Module. Each module is paired to a COM port, and they do show up in BpodSystem.ModulesUSB. 

Is it possible that these problems are due to using a USB hub? The State machine is directly connected to a computer USB port, but the other modules are connected via a USB hub. I could get an empirical answer by connecting each module directly to the USB ports on the PC - and I will - but it would be nice to know if anyone has used a hub successfully, or whether I should just plan on not using using a USB hub.


(12-24-2018, 11:03 PM)BrainScientist Wrote: Update: All modules now connected to state machine and USB ports on PC. There is some improvement, because 2 modules seem to work - Analog Out and one Valve Module are OK...but Analog In and a second Valve Module still give me an error:

"Error using ArCOMObject_Bpod/read (line 348)
Error: The serial port returned 0 bytes."

The error for each module is:
Error in ValveDriverModule (line 36)
            response =, 'uint8');"

Error in BpodAnalogIn (line 78)
            HandShakeOkByte =, 'uint8');

Anyone have a suggestion?


  Hardware software compatibility
Posted by: Mahyar - 12-19-2018, 02:40 PM - Forum: Software - Replies (1)

Dear all

I have two Bpod .5 which have been running for a while very well. Now I want to start using a Bpod .8 and a Bpod r2 that I have. The old software that I have been using apparently doesn't work with the new hardware. So to be more specific right now with Bpod .8 in the initializeHardware.m* when:

TestPort = IOPort('OpenSerialPort', PortString, 'BaudRate=115200, OutputBufferSize=8000, DTR=1');

IOPort('Write', TestPort, char(54), 1);
Byte = IOPort('Read', TestPort, 1, 1);
The port opens successfully and it can also write to the port. But when it gets to read, it reads "222". Usually if I run the read command (even before writing) few hundred times it gives 222 continuously until it spits out 53 which is the proper response the code is waiting for. However even when this stage is passes I face other errors within the protocol with runStateMatrix. I guess this is mostly due incompatibility.

So is there a document about different versions/releases of hardware and the matching software?
For example which firmware should I load on my Bpod .8 (or r2) and which Bpod software works with them?

Best thanks


  Igor Pro Control via VDT?
Posted by: Chris L - 12-13-2018, 07:12 PM - Forum: Software - Replies (2)

Just wondering whether anyone has set up Igor Pro to control the PulsePal using the Igor XOP VDT?  I have previously used it to pass parameters to an Arduino Uno.  is there a reason it wouldn't work here?

  Behavioural Port Specs
Posted by: e-potis - 12-10-2018, 07:36 PM - Forum: Hardware - Replies (3)

Dear Sanworks,
I would like to connect an external digital signal to a behavioural port and in particular to the photo-gate in. I have look and couldn't find any information about it for Bpod R2. Could you please let me know what the voltage levels are, is the signal floating or pulled and what are the timing characteristics of the expected signals? My signal is 3.3V.

Also I couldn't find any schematics/board layouts of R2. Are you planning to release those?
 If i'm not mistaken the digital Input is pin 1 on the rj45 socket counting from the left looking at the side of the bpod. 

Thank you for your help!

  Start/Stop logging analog input module in outputActions of state
Posted by: GabrielaF - 12-01-2018, 12:56 PM - Forum: Software - Replies (3)

I have an analog rotary encoder for a mouse treadmill and I would like to send its signal to the analog input module of bpod. 
To have timestamps that I can sync with bpod timestamps later, I thought I could start/stop logging data at the outputActions of one of my states.
For example:

sma = NewStateMatrix();
sma = AddState(sma, 'Name', 'baseline','Timer', 0.05,'StateChangeConditions', {'Tup', 'baseline'},'OutputActions', {'AnalogInput1, 1'});

Do you think that's possible? If so could you send me an example code? Particularly what is the code for 'start' or 'stop' I should use at the action?

  Global Timer in emulator mode
Posted by: HK - 11-23-2018, 10:48 PM - Forum: Software - Replies (2)

Is Global Timer supported in emulator mode?  On my rig, my protocol works when Bpod hardware (v0.8) is connected, but it shows error when it's in emulator mode. The error seems to be caused by the fact that obj.HardwareState.OutputType shows "UUUXBBWWWPPPPPPPPVVVVVVVVGGG" with a hardware, whereas it shows "UUUXBBWWWPPPPPPPPVVVVVVVV" without a hardware --- so, the Global Timer outputs are not recognized.

Is this a bug? Or, does the Global Timer need a hardware by nature?


  Pulsepal - LED
Posted by: hy - 11-22-2018, 03:28 AM - Forum: Hardware - Replies (3)

When I connected the Pulsepal to computer, The computer recognized the pulsepal (Arduino_ com3) but the power is off (on blue light on Pulsepal)

Also, I don't know how to control pulsepal using pulsepal program editor.

Please help me