Forums

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

Search Forums

(Advanced Search)

Forum Statistics
» Members: 27
» Latest member: Kathleen
» Forum threads: 200
» Forum posts: 727

Full Statistics

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

Latest Threads
Flashing LED with Wavefor...
Forum: Software
Last Post: tanner.stevenson
8 hours ago
» Replies: 2
» Views: 27
Running Bpod in parallel ...
Forum: Software
Last Post: Josh
10-16-2019, 04:39 PM
» Replies: 3
» Views: 44
ArCOM error when uploadin...
Forum: Software
Last Post: millenialfalcon
10-15-2019, 04:49 AM
» Replies: 2
» Views: 79
Control external serial d...
Forum: Hardware
Last Post: Josh
10-12-2019, 06:13 PM
» Replies: 1
» Views: 223
Air puff
Forum: Hardware
Last Post: Bowey
10-11-2019, 12:49 AM
» Replies: 2
» Views: 166
threshold events and rota...
Forum: Software
Last Post: Jeff
10-10-2019, 05:17 PM
» Replies: 3
» Views: 1,201
Sync camera with Bpod
Forum: Software
Last Post: Josh
10-10-2019, 02:47 AM
» Replies: 1
» Views: 85
Waveform size of 8ch outp...
Forum: Software
Last Post: Meowater
10-08-2019, 04:45 PM
» Replies: 2
» Views: 90
Sync Bpod with microscope...
Forum: Software
Last Post: Josh
10-08-2019, 06:07 AM
» Replies: 9
» Views: 1,827
Change sma (e.g. value of...
Forum: Software
Last Post: Josh
09-18-2019, 06:19 PM
» Replies: 1
» Views: 114

 
  Compatible Optoisolator for r0.5
Posted by: tanner.stevenson - 09-09-2019, 07:21 PM - Forum: Hardware - Replies (2)

We are looking to build more r0.5 boards but the specified optoisloator component is obsolete. Would this replacement suffice?


  sampling rate for analog module
Posted by: owen - 08-29-2019, 01:42 PM - Forum: Hardware - Replies (1)

On the web page the maximum sampling rate for 4 channel (up to 100k HZ with channel 3 & 4 disabled) and 8 channel version (up to 50k HZ with channel 5-8 disabled) of analog output module is different. I was wondering if this only applies to the current products? We purchased one 8 channel version few years ago and aren't sure if the old 8 channel version can go up to 100k HZ. Thank you!


  additional digital inputs to bpod
Posted by: Bowey - 08-19-2019, 11:04 PM - Forum: Hardware - Replies (2)

Hi,

Would there be a way to connect the below touch sensor board to Bpod?

Thank you!
Bowey


(08-19-2019, 11:04 PM)Bowey Wrote: Hi,

Would there be a way to connect the below touch sensor board to Bpod?

https://www.adafruit.com/product/1362

Thank you!
Bowey


  Inspection methods of hidden safety hazards of water ring vacuum pump
Posted by: lay1014 - 08-09-2019, 09:04 AM - Forum: SanCafé - No Replies

水环真空泵隐患安全隐患检查方法


在日常使用中,它对产品质量很重要。必须有计划地关闭水环真空泵。在此之后,我们还应该按照管理规定注意以下情况,当需要关闭泵时,泵停机单位的负责人必须提前四小时注意相关的停机审批程序; 从角度来看,当电力部门处于较高层次时,公司或线路维护故障需要关闭。

  此外,当矿井中的线路发生故障时,由于维护将关闭; 当水环真空泵发生故障或由于定期切换需要关闭时; 当循环池需要更换水源时; 附近排水管道的焊接和其他辅助设备的更换和安装; 因此,由于其他原因需要关闭真空泵。当特殊情况或原因需要停电时。

  此后,还要关注经济社会发展在安全发展方面取得的重要成果,即使人民安全,愉快地享受经济发展和社会发展。正因为如此,在普通使用水环真空泵时,我们的最终目标是要注意应尽量减少安全事故,还应注意减少人身和财产的损失。

  接下来,水环真空泵单元主要用于粗真空。在大型空气提取过程中。它还用于提取空气和其他非腐蚀性气体,这些气体不溶于水并含有少量固体颗粒,以便在密封容器中形成真空。

水环真空泵机组在使用时克服了单个水环泵的极限压差特性,同时也存在一定压力下泵送率低的缺点。同时,它可以使水环真空泵机组保持快速工作,这意味着它具有泵速较大的优点; 配备防爆装置,具有泵送率高的优点。当电动机和电器符合相应的安全规则时,水环真空泵单元也可以提取易燃易爆气体。
液环真空泵
旋片式真空泵 
干式螺杆真空泵


  Load Bpod data with Python
Posted by: xiaoxiong2n - 08-05-2019, 08:28 PM - Forum: Software - Replies (2)

Hi Josh,
 
I am trying to load the Bpod SessionData with Python notebook. I could load the first level of the struct data. But I do not know how to extract the raw event and state data (second level of struct data) from the RawEvents (below is the notebook code that I tried). Is there any convenient way to do that?


Code:
import numpy as np
import matplotlib.pyplot as plt
import glob
from scipy.io import loadmat

filename = 'C:/Users/xiaox/Desktop/Python_learning/Data'
filelist = glob.glob(filename + "/*.mat")
print(filelist)

mat = loadmat(filelist[0])  # mat.keys()
SessionData = mat['SessionData']
print(SessionData.dtype)

TrialTypes = SessionData[0,0]['TrialTypes']
print(TrialTypes)
ImagingFlag = SessionData[0,0]['ImagingFlag']
print(ImagingFlag)
RunSpeed = SessionData[0,0]['RunSpeed']
print(RunSpeed[0,0])

## How to extract raw event data (such as Wire1High) and state data (such as TrialStart) from RawEvents?
RawEvents = SessionData[0,0]['RawEvents']
print(RawEvents[0,0])

 
Thanks,
Xiong


  Unused ports stuck in ON position, or flickering back and forth
Posted by: els - 06-21-2019, 12:09 AM - Forum: Hardware - Replies (1)

The unused behavior ports on BPod State Machine r2 are either stuck in the ON position or are flickering back and forth between ON and OFF, erroneously recording hundreds of "events" per trial.  Is it best to address this via the hardware (potentially insufficient grounding of the ethernet port?), or via the software (change the state machine code to ignore Port3 and Port4)?  

Thanks!


  Error using trial manager object
Posted by: Noa - 06-18-2019, 11:53 AM - Forum: Software - Replies (4)

Hi josh and users,
I'm trying to run a protocol using TrialManager object, and I get one of the following two errors :

Code:
Error while evaluating TimerFcn for timer 'timer-2'

Index exceeds matrix dimensions.
Error using ArCOMObject_Bpod/read (line 348)
Error: The serial port returned 0 bytes.

Error in TrialManagerObject/startTrial (line 95)
           TrialStartTimestampBytes = BpodSystem.SerialPort.read(8, 'uint8');
Code:
Error using TrialManagerObject/startTrial (line 93)
Error: The last state machine sent was not acknowledged by the Bpod device.


It occurs when I try to run a protocol that worked OK in the past, as well as another one that is under development. 
Any idea what can be the reason? 
Anything to do with  TrialManager object's timer? 

Thanks!
Noa


  Pulse Pal only recognized as Bossa port, connection fails
Posted by: MJJ - 06-17-2019, 07:55 AM - Forum: Software - Replies (2)

Hello,
I am trying to use Pulse Pal 2 with a windows system. When I first connected the USB cable to my PC, the Pulse Pal's display lit up, it was recognized as Arduino Due and I was able to follow the online tutorial to display the firmware version via Python. So far, so good. I then decided to switch to a Matlab interface because I did not want to have to switch between Python 3 and Python 2.7 all the time. However, with Matlab I was not able to establish serial communication with the Pulse Pal at all. At some point while I worked on the basic connection (never getting to the point of actually loading anything onto it), the Pulse Pal's display went black. It has not lit up ever since and I have not been able to establish serial communication. Now, it is recognized as a Bossa port, not an Arduino due, and every time I run the Python code that used to work, I get the following error message:

 File "C:/Users/PycharmProjects/PulsePal/PulsePalTests.py", line 6, in <module>
    myPulsePal.connect('COM11') # Connect to PulsePal on port COM4 (open port, handshake and receive firmware version)
  File "C:\Users\PycharmProjects\PulsePal\PulsePal.py", line 64, in connect
    self.firmwareVersion = struct.unpack('<I',fvBytes)[0]
struct.error: unpack requires a string argument of length 4


For reference, this is the tutorial code I am running:

from PulsePal import PulsePalObject # Import PulsePalObject
import serial

myPulsePal = PulsePalObject() 
myPulsePal.connect('COM11') 
print(myPulsePal.firmwareVersion)

I have tried different PCs and also uninstalling and reinstalling the driver. No change.

I do not think the Pulse Pal is completely broken because the blue lights at trigger and output channels still go off, but the display is dead and I cannot connect to it anymore. 

I would appreciate thoughts on this problem.


Question Send input action from software?
Posted by: nobias - 06-14-2019, 10:25 PM - Forum: Software - Replies (1)

Hi! Is it possible to generate an input action to the state machine from software (Matlab) on the host? I'm aware that there are softcode output actions, but is there also a way to generate an input event?
Thanks!


  Bpod does not turn on
Posted by: yurikadoi - 05-30-2019, 09:52 PM - Forum: Hardware - Replies (1)

Hello

I was using Bpod state machine r2.
It was working fine last month. I did not touch it for the past couple weeks and today I found it turned off (no blue or green light).

All I did today was to run windows update and install sound card on the computer. I do not remember if it was turned on or off before these procedures.

I tried plug the bpod in into multiple different computers but it does not turn on. I also changed USB and power cables but no luck.

What can I do in this case?

Thank you,
Yurika