Forums - Search Results

Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Issues launching protocols on new install
Post: RE: Issues launching protocols on new install

Hi Nick, You may have a bad copy of NewLaunchManager.m. Line 713 in the repository doesn't have a command to update Bpod's firmware! -Josh
Josh Software 1 22 06-14-2021, 05:03 PM
    Thread: Behavior timeout and logic judegement within session
Post: RE: Behavior timeout and logic judegement within s...

Hi Lei, Is this what you're looking for? Code:sma = NewStateMachine; sma = AddState(sma, 'Name', 'WaitForPoke', ...    'Timer', 0,...    'StateChangeConditions', {'Port1In', 'NextState'},...   ...
Josh Software 4 171 06-07-2021, 04:51 PM
    Thread: Behavior timeout and logic judegement within session
Post: RE: Behavior timeout and logic judegement within s...

Hello Lei, To terminate the session, you have to add some MATLAB code to determine whether a state was greater than some threshold. For instance, if you have a state: Code:sma = AddState(sma, 'Name...
Josh Software 4 171 06-03-2021, 09:52 PM
    Thread: Troubleshooting power issues?
Post: RE: Troubleshooting power issues?

Hello DPalm, Windows doesn't usually assign USB serial ports below COM3, so if there's nothing else in the Device Manager you probably have a dead Arduino Due board. Since you purchased these from us...
Josh Hardware 1 181 06-01-2021, 04:19 PM
    Thread: Port interface + valve
Post: RE: Port interface + valve

Hi Larry, The valve we supply with the port interface board is Lee Company part# LHDA1231115H. Specs are available here. It can gate air up to 15 PSI (I'd use much less to be safe!), and it should f...
Josh Hardware 1 188 05-25-2021, 06:46 PM
    Thread: GUI Not Updating
Post: RE: GUI Not Updating

Hi Matt, To help debug this, I'll need to see your full .m file. You can share it here, or send it to support@sanworks.io if you'd prefer to keep it confidential. Thanks, -Josh
Josh Software 1 234 05-16-2021, 02:37 AM
    Thread: Change State with no Event Trigger
Post: RE: Change State with no Event Trigger

Hi Marco, You can accomplish this with two states and a global timer (also see examples here). Transition from the first state into the second state when the animal licks, and handle the 'global time...
Josh Software 1 251 05-07-2021, 03:13 PM
    Thread: Finding absolute time of trial/session start
Post: RE: Finding absolute time of trial/session start

Aye aye mate, I've got the answer. In your data, TrialStartTimestamp is the instant the first state of your trial begins, on the state machine clock. The launch manager resets the state machine clock...
Josh Software 2 411 04-14-2021, 02:09 AM
    Thread: Noise in Analog Output Module Loop
Post: RE: Noise in Analog Output Module Loop

Hi Hiroyuki, I replicated the issue. It was a firmware bug, and I corrected it on the 'develop' branch of the analog output firmware repository, here. Upload instructions are here (you'll have to us...
Josh Hardware 2 1,843 03-12-2021, 06:49 PM
    Thread: Installing the Analog Output
Post: RE: Installing the Analog Output

Hi Sof, This error can occur for two reasons: 1. The wrong board is selected in the Tools > Boards menu. It should be Teensy 3.6 2. The SDFat library for Arduino is missing, or you have the wrong ...
Josh Software 1 650 03-01-2021, 08:24 PM
    Thread: Font in Bpod Console
Post: RE: Font in Bpod Console

Hi Larry, You're probably looking for the override panel script, here. State machine r0.7-r1 use panel v0.7. -Josh
Josh Software 1 495 03-01-2021, 08:20 PM
    Thread: Analog output module protocols
Post: RE: Analog output module protocols

Hi Max, It's a matter of choice - the PulsePal firmware is parametric, and the WavePlayer firmware is sampled. If you're not going to play waveforms, PulsePal firmware is probably simpler. Once you h...
Josh Software 4 1,877 02-15-2021, 06:27 PM
    Thread: Connectivity issue after Arduino upload
Post: RE: Connectivity issue after Arduino upload

Hi Jason, If you sent the wrong firmware to the state machine device, you'll need to reprogram it with the correct firmware. Since you're using PyBpod, follow the 'Manual' instructions here. To be sa...
Josh Hardware 2 5,809 02-15-2021, 06:21 PM
    Thread: Input matrix and addstate errors in creating state machine
Post: RE: Input matrix and addstate errors in creating s...

Hi Nick, Apologies for the trouble - looks like the EditState() function has been seriously neglected! I updated the function on the 'develop' branch of the Bpod_Gen2 github repository. It will be in...
Josh Software 1 625 02-06-2021, 10:55 PM
    Thread: Keeping our forums clean
Post: Keeping our forums clean

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 ...
Josh Software 0 448 02-03-2021, 03:11 AM
    Thread: Keeping our forums clean
Post: Keeping our forums clean

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 ...
Josh Hardware 0 486 02-03-2021, 03:11 AM
    Thread: Keeping our forums clean
Post: Keeping our forums clean

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...
Josh Software 0 416 02-03-2021, 03:10 AM
    Thread: Keeping our forums clean
Post: Keeping our forums clean

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...
Josh Hardware 0 1,375 02-03-2021, 03:08 AM
    Thread: Analog in module, hanging when getting the logged data under windows + Python
Post: RE: Analog in module, hanging when getting the log...

Hi Remi, We just released updated firmware for the analog input module, to correct a crash if the logged data was between 128 and 1024 samples with 8 active channels. It's on the 'develop' branch of ...
Josh Software 1 611 02-01-2021, 03:19 PM
    Thread: WARNING: Missed hardware update deadline + another error
Post: RE: WARNING: Missed hardware update deadline + ano...

Hi rTambone, I'll need to see your code to look for clues. The deadline miss detector should definitely be reporting a plausible amount of time! Please send your protocol .m files and any dependencie...
Josh Software 1 630 01-26-2021, 03:51 AM