This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create action from switch attached to GPIO
#8
OK some some experimentation and I have made one step forward and one back !

I can drop the MOB marker in OCPN from the command line with the XVKBD (a virtual keyboard) using the commad


Code:
xvkbd -window "OpenCPN 4.6.1" -text " \C "


Note: there is space after the C

Works every time from a terminal.

When I enter it as an action in OpenPlotter it does nothing. Or rather the only effect that it has is duplicate another action that I had tied to the MOB button condition (it is just a message that gives the lat and lon that I had in there for testing).

I have tried deleting the other actions so that the xvkbd command is the only one associated with the MOB button condition - nothing happens

Running OpenPlotter from the command line in a terminal produces no errors.

Any ideas anybody? Frustrating this, so close but no bananas!
Reply


Messages In This Thread
RE: Create action from switch attached to GPIO - by Littlechay - 2017-05-24, 03:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)