TMSI driver for ANT amplifier

Making & changing hardware drivers in Acquisition Server
Post Reply
karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

TMSI driver for ANT amplifier

Post by karthiks »

Hey,

Sorry to start off my first post on the forum with a question :oops:

I find that the TMSI driver for the ANT amplifier doesn't store channel names even after entering them. I always find my files have no channel names and thus have to change them to index in the channel filter :(

Any suggestions?

Cheers,

Karthik
Regards,

Karthik

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: TMSI driver for ANT amplifier

Post by yrenard »

Dear karthiks,

thank you for your interest in OpenViBE and welcome on this board.

I just tried the TMSi driver and it seems that it's working properly. Have you tried renaming the channels of the Generic Oscillator ? Did it work ? Note that if you are using a Spatial Filter box in the designer, the channel names get lost.

Tell us if that helps.
By the way, would you introduce yourself a bit so we know you ?

Yann

karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Re: TMSI driver for ANT amplifier

Post by karthiks »

Hey,

Thanks for the quick reply.

I am working as a post-doctoral researcher in ULB, Brussels. I did my PhD in Brain response modelling in NTU, Singapore.

I tried renaming the channels in the Generic Oscillator - it works fine.

In the TMSI driver, it takes the names but somehow doesn't retain them. I am circumventing this problem by naming the channels according to their number/index.

I do know about the spatial filter part. But this is even without/before the spatial filter.

Karthik
Regards,

Karthik

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: TMSI driver for ANT amplifier

Post by bpayan »

Dear karthiks,

Your problem with the channels renaming is a bug in the driver TMSI. I didn't see it because I never used this functionality for this driver. This driver can determine the number of channels connected automatically, but this has for consequence the bug you found. I'll made a new branches to correct it, but now, it'll be necessary to define the number of channels connected.

If you want to try the fix, you 'll can use the branch call "wip-bpayan-TMSI-renamingChannels"

I'm sorry for the inconvenient, and I try to fix it quickly.

best regards,

Baptiste

karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Re: TMSI driver for ANT amplifier

Post by karthiks »

Dear Baptiste,

I am not terribly inconvenienced by this bug. As long as there is a workaround, I am pretty ok. Just letting the developers know of its existence :)

thank you for the help.

Karthik
Regards,

Karthik

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: TMSI driver for ANT amplifier

Post by yrenard »

Dear karthiks,

thank you for the bug report.

Baptiste, could you try to detect how many channels are present before the "Change channel names..." button is actually pressed ? That would drop the need of putting that number manually and keep the channel name changes possible :)

Yann

karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Re: TMSI driver for ANT amplifier

Post by karthiks »

Dear Baptiste,

The driver does detect correctly how many electrodes are there :)

Karthik
Regards,

Karthik

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: TMSI driver for ANT amplifier

Post by bpayan »

Dear karthik,

The driver detect the number of electrode correctly because you use the old version. I haven't had the time to send the new version because I have detected another bug who was appeared following the suppression of the lib "glade" and I'm correcting it. I try to send it today and I post a message on this forum when you can use it.

I'm sorry for the waiting.

Baptiste

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: TMSI driver for ANT amplifier

Post by bpayan »

Dear karthik,

I finished correcting bugs on the TMSI driver and I sent it on the forge. I hope this helps.

Thank you for your feedback. Best regards,

Baptiste

karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Re: TMSI driver for ANT amplifier

Post by karthiks »

Hey Baptiste,

Thank you. so how do I get this driver and use it? Still a bit of a newbie to this.

Karthik
Regards,

Karthik

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: TMSI driver for ANT amplifier

Post by bpayan »

Dear karthiks

For use this driver, you should download the source code of openvibe and install it, like the openvibe site indicate. http://openvibe.inria.fr/documentation/ ... stall.html

In your file "script/win32-init_env_command.cmd", change the line

Code: Select all

SET OpenViBE_application_acquisition_server_branch= 
to

Code: Select all

SET OpenViBE_application_acquisition_server_branch=branches\wip-bpayan-TMSI-renamingChannels 
and build Openvibe. This driver is unstable yet. After each build, don't forget to change the line

Code: Select all

AcquisitionServer_ShowUnstable = false 
to

Code: Select all

AcquisitionServer_ShowUnstable = true 
in the file "dist/share/openvibe.conf"

I hope these explications help

Baptiste

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: TMSI driver for ANT amplifier

Post by yrenard »

Dear Baptiste and others,

instead of modifying the main openvibe.conf file, I prefer people modify there personal openvibe.conf file which can be created under C:\Doc&Settings\yourlogin. This file overrides the main openvibe.conf file values and will not be deleted when you reinstall a new version of OpenViBE.

Thanks ;)
Yann

Post Reply