Forums

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

Search Forums

(Advanced Search)

Latest Threads
GUI Not Updating
Forum: Software
Last Post: Josh
7 hours ago
» Replies: 1
» Views: 18
Change State with no Even...
Forum: Software
Last Post: Josh
05-07-2021, 03:13 PM
» Replies: 1
» Views: 86
Finding absolute time of ...
Forum: Software
Last Post: George
04-15-2021, 04:35 AM
» Replies: 2
» Views: 249
Noise in Analog Output Mo...
Forum: Hardware
Last Post: HK
03-13-2021, 01:46 AM
» Replies: 2
» Views: 1,492
Installing the Analog Out...
Forum: Software
Last Post: Josh
03-01-2021, 08:24 PM
» Replies: 1
» Views: 508
Font in Bpod Console
Forum: Software
Last Post: Josh
03-01-2021, 08:20 PM
» Replies: 1
» Views: 371
Connectivity issue after ...
Forum: Hardware
Last Post: JasonGao
02-15-2021, 09:37 PM
» Replies: 2
» Views: 5,611
Analog output module prot...
Forum: Software
Last Post: Josh
02-15-2021, 06:27 PM
» Replies: 4
» Views: 1,649
Input matrix and addstate...
Forum: Software
Last Post: Josh
02-06-2021, 10:55 PM
» Replies: 1
» Views: 523
Keeping our forums clean
Forum: Software
Last Post: Josh
02-03-2021, 03:11 AM
» Replies: 0
» Views: 364

 
  GUI Not Updating
Posted by: mjdubs25 - 05-14-2021, 04:18 PM - Forum: Software - Replies (1)

Hi Josh!

I have  a really weird issue where I can't use the GUI to change settings.  I can type in the GUI, but after the trial runs, it just changes back to what it was before(!?). To test this, I made a script that simply turns a light on for one second and I put that time in the GUI.  I can type in the GUI to change it, but no matter what I write, it just changes back to 1.  I am calling BpodParameterGUI('sync',S) on the first line of my for loop.  I'm using Bpod Console v1.63.  Is there any way you could help me with this?

Thanks,
Matt W.


  Change State with no Event Trigger
Posted by: MarcoC - 05-06-2021, 07:18 PM - Forum: Software - Replies (1)

Hello everybody,

I was wondering whether it was possible to implement a transition that does not happen immediately as a particular event occurs, but only when the timer elapses.


For instance, I would need a state where mice licks are required to occur to transition to a subsequent state (Reward) but that would happen only after the state timer is elapsed and not triggered by the mice' first licks.
If no licks takes place, Bpod skips the Reward states and finishes the trial.

Thank you in advance, 
Have a great day!
Marco


  Finding absolute time of trial/session start
Posted by: George - 04-13-2021, 04:30 AM - Forum: Software - Replies (2)

Ahoy, I'm trying to convert the timestamps coming out of Bpod from relative to absolute so I can align them with other processes.

I thought that `SessionData.Info.SessionStartTime` would store the time from which Bpod's clock begins, but it turns out this isn't the case. `SessionStartTime` is calculated by Matlab after the first trial is run.

It seems to me the best point at which to estimate when the trial began in Matlab is immediately before `RunStateMatrix` is called, but is there something more precise?

I'm also curious about when the state machine's clock starts running. Sometimes the first `TrialStartTimestamp` is a few or even several seconds (rather than 0 as I would expect). Is the state machine's 0-time tied to something specific that Matlab has access to?


  Noise in Analog Output Module Loop
Posted by: HK - 03-12-2021, 02:29 AM - Forum: Hardware - Replies (2)

Hi Josh,

I'm trying to use Analog Output Module to generate LED pulses with ramp-up and ramp-down intensity.  I can almost successfully control the LED shape, but when I check the output with oscilloscope, I realized that at the end of each loop, there is one sample that has 3-4V output.  I made sure that this sample is not included in my looped waveform.  Indeed, even if I generate a simple zero vector as a waveform and loop it, there are always one sample at the end of each loop that gives strange value. Do you have any idea why this happens?

I'm using WavePlayer, and my code for setting up WavePlayer is as follows (to make it simple, here I generated a simple zero vector waveform):

    LEDsamplerate = 10000;
    LEDwaveform = zeros(1,100);

    W = BpodWavePlayer('COM3');
    W.BpodEvents = {'On', 'Off', 'Off', 'Off'};
    W.TriggerMode = 'Toggle'; 
    W.LoopDuration = [20, 0, 0, 0];
    W.LoopMode = {'On','Off','Off','Off'};
    W.SamplingRate = LEDsamplerate;
    W.loadWaveform(1, LEDwaveform);
    LoadSerialMessages('WavePlayer1', {['P' 1 0]});


With this simple zero waveform, I still see a 5V sample at the end of each loop in my oscilloscope.  I would really appreciate it if you could let me know how I can resolve this issue.

Thanks,
Hiroyuki


  Font in Bpod Console
Posted by: Larry - 02-27-2021, 01:16 AM - Forum: Software - Replies (1)

How do I change the font for "Bpod Finite State Machine" in the Bpod Console?


  Installing the Analog Output
Posted by: SofB - 02-26-2021, 02:42 AM - Forum: Software - Replies (1)

Hi everyone, 

I am trying to install the Analog output and I've been following all the steps in this guide to upload the firmware
https://sites.google.com/site/bpoddocume.../teensy3_x
I make it all the way to the very last step, I press upload  (BpodWavePlayer), but then I am hit with an error message " 'SdFatSdioEx' does not name a type".
I've been trying to locate the 'SdFatSdioEx', but I cannot find it anywhere?
- What am I missing? Where is this 'SdFatSdioEx'? Do I need to install something additionally?

Thank you
Sof


  Connectivity issue after Arduino upload
Posted by: JasonGao - 02-12-2021, 11:00 PM - Forum: Hardware - Replies (2)

Hi, I was trying to upload a piece of code to an Arduino board. I did that through a serial connection that went through my Bpod, which in restrospect might not be the correct thing to do. The end result was that the blue indicator of the Bpod went off. I did all of the restarting and replugging I can think of but the blue indicator just won't come on again. The port still appears in PyBpod when I plugged the Bpod in but I can't run any code due to a connectivity error. Is there any way I can salvage my Bpod at this point? Thank you so much!


  Keeping our forums clean
Posted by: Josh - 02-03-2021, 03:11 AM - Forum: Software - No Replies

Hello Pulse Pal Users!

As you may have noticed, the Sanworks forums have attracted a surprising number of human spammers.
Starting today, the first post from each new account must be vetted manually by us before it will be public.
Once your account has a single vetted post, you can make further posts with no constraints.
Posts in this forum MUST be on the topic of our stimulation system software.
We hope this change will help to keep our forums an efficient place to find assistance with your scientific projects!

Thank you,
-The Sanworks Team


  Keeping our forums clean
Posted by: Josh - 02-03-2021, 03:11 AM - Forum: Hardware - No Replies

Hello Pulse Pal Users!

As you may have noticed, the Sanworks forums have attracted a surprising number of human spammers.
Starting today, the first post from each new account must be vetted manually by us before it will be public.
Once your account has a single vetted post, you can make further posts with no constraints.
Posts in this forum MUST be on the topic of our stimulation system hardware.
We hope this change will help to keep our forums an efficient place to find assistance with your scientific projects!

Thank you,
-The Sanworks Team


  Keeping our forums clean
Posted by: Josh - 02-03-2021, 03:10 AM - Forum: Software - No Replies

Hello Bpod Users!

As you may have noticed, the Sanworks forums have attracted a surprising number of human spammers.
Starting today, the first post from each new account must be vetted manually by us before it will be public.
Once your account has a single vetted post, you can make further posts with no constraints.
Posts in this forum MUST be on the topic of our behavior system software.
We hope this change will help to keep our forums an efficient place to find assistance with your scientific projects!

Thank you,
-The Sanworks Team