Adding a little bit to that, the original GoGo Board extension uses RxTx for handling communications between NetLogo and a hardware device, so its code could be used as a reference, at least, for how to get started with this.

The most relevant files in that extension are the controller <https://github.com/NetLogo/GoGo-RXTX-Extension/blob/master/src/GoGoController.java> and the primitive definitions <https://github.com/NetLogo/GoGo-RXTX-Extension/blob/master/src/GoGoExtension.java>.

On 11/15/2016 12:29 PM, Robert Grider wrote:
Firat,

There doesn't appear to be a good solution for communicating with parallel ports within the java standard library. The third-party RxTx library <https://urldefense.proofpoint.com/v2/url?u=http-3A__rxtx.qbang.org_wiki_index.php_Main-5FPage&d=CwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=sxGjFFyk2A6rYHwAdDtnqeTKj3cEcXDGDo_G9va2ruI&m=crl-pECBStD2WPlLPSikZSBHXMZF4vhkdf7tryNJdOY&s=A-gSwnyMrt-2C88ZKRyM7wWeee6_K6fvqKwr9lWlR1c&e=> appears to be the best out there at present, although it doesn't look as though it's seen much development recently. You might look at that project and see if you could use it to write a NetLogo extension.

Regards,

Robert

PS. Sorry if you receive this twice, I wanted to post it here to ensure that others could see it.

--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=sxGjFFyk2A6rYHwAdDtnqeTKj3cEcXDGDo_G9va2ruI&m=crl-pECBStD2WPlLPSikZSBHXMZF4vhkdf7tryNJdOY&s=ykCwcbdElTuw8y0_4F59ckdoTfmjtYU1Xive3c2hRBY&e=>.

--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to