Difference between revisions of "Neurobs Presentation"

From TSG Doc
Jump to: navigation, search
Line 16: Line 16:
  
  
Presentation (www.neurobs.com) is a MS Windows based programming tool that allows experimenters to set up and program all sort of experiments. It is the recommended software for time-accurate experiments and therefore supported by the institutes’ (Social Sciences Faculty, the MPI and the Donders Centre for Cognitive Neuroimaging) technical groups. The technical groups offer (PhD) students a couple of preprogrammed experiments (i.e. templates), which can be adjusted to build up own experiments. In this way, the (PhD) student can efficiently program experiments fitting an technical optimal environment. This is what this course is all about. It aims at teaching programming skills, which are needed to modify the existing templates such that they meet your own demands. Because this can be quite complex, we start with short assignments, which address one basic and simple problem at a time. They will all contribute to the final assignment in which you will work on an existing template.
+
Presentation is a Windows based programming tool that allows experimenters to set up and program all sort of experiments. It is the recommended software for time-accurate experiments and therefore supported by the institutes’ (Social Sciences Faculty, the MPI and the Donders Centre for Cognitive Neuroimaging) technical groups. The technical groups offer (PhD) students a couple of pre-programmed experiments (i.e. templates), which can be adjusted to build up own experiments. In this way, the (PhD) student can efficiently program experiments fitting an technical optimal environment. This is what this course is all about. It aims at teaching programming skills, which are needed to modify the existing templates such that they meet your own demands. Because this can be quite complex, we start with short assignments, which address one basic and simple problem at a time. They will all contribute to the final assignment in which you will work on an existing template.
  
 
== Course ==
 
== Course ==
Line 22: Line 22:
 
Find the presentation workshop documentation here: [[Media:Programming with Presentation 2013.pdf]]
 
Find the presentation workshop documentation here: [[Media:Programming with Presentation 2013.pdf]]
  
Find the presentation prereader here: [[Media:Presentation pcl pre-read 2013 .pdf]]
+
Find the presentation pre-reader here: [[Media:Presentation pcl pre-read 2013 .pdf]]
  
 
== Template ==
 
== Template ==
Line 81: Line 81:
 
For the wiki click here: http://www.neurobs.com/menu_support/nbs_wiki
 
For the wiki click here: http://www.neurobs.com/menu_support/nbs_wiki
  
==== Compatiblity Issues ====
+
==== Compatibility Issues ====
  
 
*Always check beforehand in which version the script was written.
 
*Always check beforehand in which version the script was written.
Line 105: Line 105:
 
The fact that ''picture1'' is shown for only 1/120 s was confirmed with a light sensor connected to an oscilloscope.
 
The fact that ''picture1'' is shown for only 1/120 s was confirmed with a light sensor connected to an oscilloscope.
  
The chance of this issue occurring is highly dependant on the waiting time prior to the first ''present()'' call:
+
The chance of this issue occurring is highly dependent on the waiting time prior to the first ''present()'' call:
  
 
[[File:Occurrence.png|400px|none|synchronization bug occurrence]]
 
[[File:Occurrence.png|400px|none|synchronization bug occurrence]]

Revision as of 15:08, 11 January 2016

Presentation
Presentation
Developer(s) Neuro Behavioral Systems
Platform Windows
Website neurobs.com


Presentation is a Windows based programming tool that allows experimenters to set up and program all sort of experiments. It is the recommended software for time-accurate experiments and therefore supported by the institutes’ (Social Sciences Faculty, the MPI and the Donders Centre for Cognitive Neuroimaging) technical groups. The technical groups offer (PhD) students a couple of pre-programmed experiments (i.e. templates), which can be adjusted to build up own experiments. In this way, the (PhD) student can efficiently program experiments fitting an technical optimal environment. This is what this course is all about. It aims at teaching programming skills, which are needed to modify the existing templates such that they meet your own demands. Because this can be quite complex, we start with short assignments, which address one basic and simple problem at a time. They will all contribute to the final assignment in which you will work on an existing template.

Course

Find the presentation workshop documentation here: Media:Programming with Presentation 2013.pdf

Find the presentation pre-reader here: Media:Presentation pcl pre-read 2013 .pdf

Template

Find the presentation Template here File:Template2014.zip

Downloads

Please install this version on your computer:

32-bit: media:Presd172081114.zip

64-bit: media:Presd181020115_64.zip

For the latest Package Player click here

License

To run presentation in the labs you need a software dongle. Reserve a dongle when you book a lab. If you need a dongle for research outside the university you could discuss time limits with Ronny Janssen.

When you want to run in your office use the network license. Boot presentation, choose option "activations" -> "Network"

Fill in the following within the "Network License Settings"


Enable Hostname: lic-pres.socsci.ru.nl
Port: 1245
Timeout (ms): 5000

PresentationLicentie.jpg

Video

Presentation only supports non-proprietary video formats.[1] Neurobs recommends encoding your videos using h264 or XVID, and using the AVI format.[2] The TSG discourages the use of XVID and AVI, because these standards have become obsolete in recent years, but since we have had little success getting alternative non-proprietary video formats to work in Presentation,[3] it seems the use of AVI is inevitable. You can find more information on how to export and convert your videos for Neurobs Presentation on our Video Codecs page.

Troubleshooting

Version History

For version history please click here: http://www.neurobs.com/menu_presentation/menu_download/version_history

Fixed Bugs

For fixed bug / known bugs please click here: http://www.neurobs.com/menu_support/menu_help_resources/known_bugs

Forum

For various information please click here: http://www.neurobs.com/menu_support/menu_forums/contents_page

Wiki

For the wiki click here: http://www.neurobs.com/menu_support/nbs_wiki

Compatibility Issues

  • Always check beforehand in which version the script was written.
  • New versions do not always maintain backwards compatibility.
  • Features can get removed, or changed.

Screen synchronization issue on 120 Hz screens

There is a serious synchronization issue where the picture.present() method returns one frame too early. It can be detected by measuring the time between two consecutive present() calls returning:

wait_interval(220);
picture1.present();
int t0 = clock.time(); 
picture2.present();
int t1 = clock.time(); 
int dt = t1-t0;

One would expect picture1 to be shown for 1 frame (1/120 s) and time dt to show this. Sometimes this is not the case. The image will be shown for one frame (1/120 s), but dt will be 2/120 s:

synchronization bug timeline

The fact that picture1 is shown for only 1/120 s was confirmed with a light sensor connected to an oscilloscope.

The chance of this issue occurring is highly dependent on the waiting time prior to the first present() call:

synchronization bug occurrence

Neurobs people seem to think it has something to do with triple buffering, but the graph above was created without triple buffering enabled.

Difference of arrival times of two consecutive markers (no red bars are hidden)

References

  1. https://www.neurobs.com/menu_support/menu_forums/view_thread?id=8785#i6
  2. http://www.neurobs.com/wiki/Presentation/Video
  3. http://tsgdoc.socsci.ru.nl/index.php?title=Video_Codecs#Software_support