tool for monitoring mesa inputs

More
02 Feb 2024 04:25 #292190 by tcurdt
Of course this can be done via linuxcnc - but is there a way to read inputs (or set outputs) on a mesa outside of linuxcnc?
Let's say I want to write some software that polls some inputs state?
 

Please Log in or Create an account to join the conversation.

More
02 Feb 2024 04:41 #292191 by PCW
Replied by PCW on topic tool for monitoring mesa inputs
Well, you could use mesaflash:

mesaflash --device 7i96s --addr 10.10.10.10 --rpo 0x1008

(reads the P1 expansion port GPIO on a 7I96)

mesaflash --device 7i96s --addr 10.10.10.10 --wpo 0x1108=0x1FFFF

Set all P1 GPIO as outputs

mesaflash --device 7i96s --addr 10.10.10.10 --wpo 0x1008=0xAAAA

Set P1 outputs to 0xAAAA

...



 

Please Log in or Create an account to join the conversation.

More
02 Feb 2024 09:40 #292204 by tcurdt
Oh! I wasn't aware this is possible with mesaflash.
Looks like that could be enough. Nice!
Thanks!

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.065 seconds
Powered by Kunena Forum