Home

Go Back   Neuralynx Forums > Development > User Development Support

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2010, 10:17 PM
gnujosh gnujosh is offline
Junior Member
 
Join Date: Mar 2010
Posts: 2
Question Java trial control software

I am looking to develop a Java application which allows the biologists in our lab to design certain experimental paradigms which require the song playing capability of Cheetah. This is essentially replicating some of the functionality of the Trial Control software on your website, but with a different interface.

The Trial Control software connects to Cheetah using NetCom, but the NetCom development package contains example code that seems to frequently make use of dlls. I am interested in using Java to connect to Cheetah, but I don't know the correct protocols for communicating with Cheetah.

From NetComClient.h, I see that port 26100 is used to connect to Cheetah, but I'm not sure whether it is TCP or UDP or what the packets should look like for connecting or sending commands or events. Is this information available somewhere? I would be happy to allow any of the Java code I write to be included in future NetCom development packages.

Of course, I can just write a Java front end to create the .cfg file that can then be opened by the Trial Control software, but this is an approach I would like to take only as a last resort.

Thanks for any help,
Josh

Last edited by gnujosh; 03-01-2010 at 10:18 PM. Reason: spelling
Reply With Quote
  #2  
Old 03-04-2010, 03:31 PM
bruth bruth is offline
Administrator
 
Join Date: Jan 2005
Posts: 99
Default RE: Java trial control Software

If you can explain what changes you need to make to the Trial Control interface, we may be able to construct a solution from existing control programs.

Although we do not have a Java wrapper for any of these libraries/DLLs, you can use the DLL that is part of the Matlab implementation (as it is just a basic C DLL) through the Java Native Interface (JNI.) We currently support C/C++, .NET 1.1 and 2.0 - 3.0, and Matlab all on 32-bit Windows only.

While we appreciate the offer to create a native Java implementation, we are not looking for a Java version of NetCom at this time. If more interest is shown in a Java port of NetCom, we will definitely look into creating one.

If you have any more ideas or requests, don't hesitate to let us know.
Reply With Quote
Reply

Tags
cheetah, java, netcom, network, trial control
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.