GUI/HMI Options for your brain

We recently had this question come in and I thought I’d share some ideas, see if other OptoFans had some to add:
[INDENT]“We have some SNAP-PAC-EB2 hardware and are trying to decide between Python and C# to create GUIs.” [emphasis mine]
[/INDENT]Usually folks trying to program their PCs to communicate directly with an OptoMMP device like a SNAP-PAC-EB2 brain would be a prime candidate for:

Option 1:

Our OptoMMP toolkits (like the .NET one in particular [URL=“http://www.opto22.com/site/pr_selector.aspx?cid=4&qs=1005#10211057”]here, since he mentioned C#, I don’t think we have any Python examples, as far as I know).

However, depending on what kind of GUI you’re building, you might want to consider other options. If it were me, and the ONLY Opto 22 hardware I had included brains and no controllers, I’d want to add a controller (perhaps SoftPAC, or an upgrade of one SNAP-PAC-EB2 to a [URL=“http://www.opto22.com/site/pr_details.aspx?cid=4&item=SNAP-PAC-R2”]SNAP-PAC-R2). This would greatly simplify configuring and accessing those SNAP-PAC-EB2s (no need to worry about memory map addresses/[URL=“http://www.opto22.com/site/documents/doc_drilldown.aspx?aid=1875”]OptoMMP).

Having a controller in the mix would also increase my choices – including the ability to use:

Option 2:

Our free HMI software: PAC Display Basic, which is included as part of our FREE PAC Project Basic software suite – for use with our controllers. SoftPAC is our least-expensive controller which you can also try for free in the form of PAC Sim – included along with PAC Project Basic in our “PAC Project Demo.” Here’s a [URL=“http://www.opto22.com/players/bc_player.aspx?bctid=1488623390&bcpid=1383726118001”]video that introduces this Demo. Here’s [URL=“http://www.opto22.com/site/downloads/dl_drilldown.aspx?aid=3172”]the Demo download file.

Option 3:

Think about the accessibility of your GUI (for example, from the web). Opto 22 has a long history of giving you lots of choices, including being able to monitor and control your hardware via the Internet. Here’s one example that dates back to the 90s (just ignore the security warnings here). Loading - groov View

I also strongly encourage you to subscribe to OptoNews, as we’re cooking up some even more exciting choices which will be announced soon.

Hope that helps!

-OptoMary

For Perl I’ve found, but haven’t used :Device::Opto22 - Perl Object to communicate with Opto22 Brains via Memory-mapped protocol - metacpan.org

[URL=“http://search.cpan.org/search%3Fmodule%3DDevice%3A%3AOpto22”]