Configuring IDS camera in freerun mode

582 views
Skip to first unread message

Hannah Payne

unread,
Jun 11, 2018, 5:21:41 PM6/11/18
to Bonsai Users
I'm just getting started using Bonsai to record video from an IDS camera (UI-316xCP-C). I'd like to acheive a high frame rate (>120 fps) and configure some other parameters like the ROI. I have a simple program that successfully records video *without* providing an configuration file under uEyeCapture>ConfigFile, at roughly 30 fps. However, when I save a config file (*.ini) from the uEye Cockpit software and specify that file, it seems to only save one frame (total file size of the resulting *.avi file is 6 kB no matter what). I've tried just saving a file containing the default uEye Cockpit parameters, same result. 

Any ideas how to both specify a configuration file, and still record video continuously in freerun mode?

My program and (both default and custom) configuration files are attached.


UI316xCP-C_default.ini
UI316xCP-C_custom.ini
video_uEye.bonsai

Hannah Payne

unread,
Jun 12, 2018, 4:56:06 PM6/12/18
to Bonsai Users
I should mention that this program does correctly save the frame number and GPIO states. Also, if I right click on the Image node I can display a preview, even though the video still doesn't seem to save. 

I've tried running Bonsai as administrator and made sure I'm using Bonsai64.exe (Windows 10, 64 bit)

Any other ideas for troubleshooting? Or more general tips for how to debug programs in Bonsai?

Gonçalo Lopes

unread,
Jun 17, 2018, 7:01:26 AM6/17/18
to Hannah Payne, Bonsai Users
Hi Hannah and welcome to the forums!

Sorry for the delay replying. This sounds like a strange situation. Can you see the live video streaming if you just visualize the Image node without the VideoWriter?

Also, I noticed from your workflow that you are using a preview version of bonsai (2.4-ctp). Would you mind trying the same workflow on the stable version (2.3)?

--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/d7ecbb59-3ac0-43b0-ab1a-89c985f86111%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hannah Payne

unread,
Aug 9, 2018, 12:33:59 PM8/9/18
to Bonsai Users
Belated update: The problem turned out to be the default format settings in the uEye Cockpit. It was set the RGB32, when I changed it to RGB24 multiple frames are saved. I also installed the stable version (2.3).  

Thanks!



On Sunday, June 17, 2018 at 7:01:26 AM UTC-4, goncaloclopes wrote:
Hi Hannah and welcome to the forums!

Sorry for the delay replying. This sounds like a strange situation. Can you see the live video streaming if you just visualize the Image node without the VideoWriter?

Also, I noticed from your workflow that you are using a preview version of bonsai (2.4-ctp). Would you mind trying the same workflow on the stable version (2.3)?
On 12 June 2018 at 21:56, Hannah Payne <hpa...@gmail.com> wrote:
I should mention that this program does correctly save the frame number and GPIO states. Also, if I right click on the Image node I can display a preview, even though the video still doesn't seem to save. 

I've tried running Bonsai as administrator and made sure I'm using Bonsai64.exe (Windows 10, 64 bit)

Any other ideas for troubleshooting? Or more general tips for how to debug programs in Bonsai?



On Monday, June 11, 2018 at 5:21:41 PM UTC-4, Hannah Payne wrote:
I'm just getting started using Bonsai to record video from an IDS camera (UI-316xCP-C). I'd like to acheive a high frame rate (>120 fps) and configure some other parameters like the ROI. I have a simple program that successfully records video *without* providing an configuration file under uEyeCapture>ConfigFile, at roughly 30 fps. However, when I save a config file (*.ini) from the uEye Cockpit software and specify that file, it seems to only save one frame (total file size of the resulting *.avi file is 6 kB no matter what). I've tried just saving a file containing the default uEye Cockpit parameters, same result. 

Any ideas how to both specify a configuration file, and still record video continuously in freerun mode?

My program and (both default and custom) configuration files are attached.


--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages