Hi everyone,
I am in desperate need for help. My name is Robin, and I am a student Human-Machine Communication at the University of Groningen in the Netherlands. For my master thesis I have written an experiment in Java, which I want to use for EEG-research. In order to do that, I need to send specific "event markers" to the EEG system via a parallel port.
I have searched and searched and finally found a Java implementation of inpout32, called jnpout32reg. However, I cannot get it to work. Then I downloaded Parallel Port Tester (http://download. cnet. com/Parallel-Port-Tester/ 3000-2086_4-75940249.html) which only works with inpout32.ddl and this works perfectly. I can even see the data being send to the EEG system. Is there some way to use inpout32.dll via Java, or is jnpout32reg the only possibility? And how would I go about to get this to work?
Thank you so much. My entire thesis depends on getting this to work.
inpout32 in Java (jnpout32reg)
Re: inpout32 in Java (jnpout32reg)
Sorry, I don't know Java very well so I don't think I can help. The little I do know, I would have thought you would need to make use of JNI (java native interface) by writing a C/C++ DLL to interact between Java and the native InpOut32 DLL. Maybe someone else can.
It might be worth asking the author of InpOut32 at Logix4U as I only ported InpOut32 to 64bit Windows. However, they seem to be difficult to get in touch with these days
Thanks,
Phil
It might be worth asking the author of InpOut32 at Logix4U as I only ported InpOut32 to 64bit Windows. However, they seem to be difficult to get in touch with these days

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
-
- New User
- Posts: 2
- Joined: Wed Apr 06, 2016 1:23 pm
Re: inpout32 in Java (jnpout32reg)
I have found the solution, but it is a workaround. Instead of using jnpout32, I used inpout32/inpoutx64 via a Python script, which, in turn, I executed from within Java. For more explanation see:
http:// stackoverflow. com/questions/36456252/parallel-port-communication-with-jnpout32pkg-jnpout32reg
http:// stackoverflow. com/questions/36456252/parallel-port-communication-with-jnpout32pkg-jnpout32reg