Hi,
maybe this is a newbe question, since I am a newbe, but I could not find an answer:
Using the "stimulation listener" I can get information about "when" a stimulation occurs in my dataset, but I get two numbers saying at which "time" and at which "date" it occurred.
But in which unit? What do they represent?
How could I relate these values with the time in mseconds from the beginning of the recording?
Thanks in advance.
Stimulation time and date meaning
Re: Stimulation time and date meaning
Since OpenViBE 0.11.0 the time is displayed in seconds.
Before the time was displayed in the internal format which is discussed here: http://stickyvibe.tuxfamily.org/blog/?p=121. In order to convert this time to seconds you have to divide the number by 2^32.
Cheers
Jozef
Before the time was displayed in the internal format which is discussed here: http://stickyvibe.tuxfamily.org/blog/?p=121. In order to convert this time to seconds you have to divide the number by 2^32.
Cheers
Jozef
Re: Stimulation time and date meaning
Hi benry!
We recently released the 0.12.0 version of openvibe.
This new version includes a patch to the time formatting. Now every log messages are printed with time in seconds.
You can set the format and precision you want to see by modifying your configuration file.
The configuration tokens modify the format for the log file (the file in dist/log/):
Or for the Designer console :
I hope this will be helpful for you!
Laurent
We recently released the 0.12.0 version of openvibe.
This new version includes a patch to the time formatting. Now every log messages are printed with time in seconds.
You can set the format and precision you want to see by modifying your configuration file.
The configuration tokens modify the format for the log file (the file in dist/log/):
Code: Select all
# to enable the hexadecimal print (0x----)
Kernel_FileLogWithHexa = True
# to log the time in second or in 32:32 fixed point values
Kernel_FileLogTimeInSecond = False
# If the log time in seconds is enabled, set the number of digits after the point
Kernel_FileLogTimePrecision = 3
Code: Select all
# to enable the hexadecimal print (0x----)
Designer_ConsoleLogWithHexa = false
# to log the time in second or in 32:32 fixed point values
Designer_ConsoleLogTimeInSecond = True
# If the log time in seconds is enabled, set the number of digits after the point
Designer_ConsoleLogTimePrecision = 3
Laurent