- Posts: 9
- Thank you received: 0
tool for monitoring mesa inputs
2 years 8 months ago #292190
by tcurdt
tool for monitoring mesa inputs was created 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?
Let's say I want to write some software that polls some inputs state?
Please Log in to join the conversation.
2 years 8 months ago #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
...
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 to join the conversation.
2 years 8 months ago #292204
by tcurdt
Replied by tcurdt on topic tool for monitoring mesa inputs
Oh! I wasn't aware this is possible with mesaflash.
Looks like that could be enough. Nice!
Thanks!
Looks like that could be enough. Nice!
Thanks!
Please Log in to join the conversation.
Time to create page: 0.076 seconds
