OpenViBE forum

The OpenViBE community
It is currently Mon Dec 10, 2018 10:43 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri May 31, 2013 4:30 pm 

Joined: Tue Dec 04, 2012 12:15 pm
Posts: 6
I would like to know if it is possible to send messages to the INF console at the bottom of the OpenVibe screen designer.

Lets use a simple scenario connecting the 2 modules: "Clock stimulator" and "Run Command"

"Clock stimulator" defined as:
Intervalstimulation interval (in sec): 10.00000
Stimluation: OVTK_StimulationId_Label_01

"Run Command" defined as:
Stimulation 1: OVTK_StimulationId_Label_01
Command 1: START notepad

So, each 10 seconds it opens the application notepad.

What I want to do is also to send a message each 10 seconds to the console at the botton of the screen. For example: "Opening notepad..."


Reply with quote  
PostPosted: Mon Jun 10, 2013 11:10 am 

Joined: Tue Nov 02, 2010 8:51 am
Posts: 239
Location: Mensia Technologies Paris FR
Hello Pedro,

an easy way to display arbitrary messages would be to use the Lua stimulator box.

Add an input to it via right click menu and use it with a simple script such as this:

function initialize(box)

function uninitialize(box)

function process(box)
   while true do
      if (box:get_stimulation_count(1)) then
         box:log("Info", "test")
         box:remove_stimulation(1, 1)

This program will display a message "test" every time it receives a stimulation. For more info look at the lua box documentation here: ... lator.html


My Weblog Follow me on Twitter

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.