it is possible to set and send com port communication commands?

0
i have a usb relay and  i need  turn on/off the relay with event ocour, 
asked
1 answers
0

Normally Mendix is running on a server, but if you run Mendix on a computer that is connected with the USB relay you need a java-action and this library

 

import net.symbioquine.usbhidrelay.UsbHidRelay;
import static net.symbioquine.usbhidrelay.UsbHidRelaySize.SIXTEEN;

UsbHidRelay relay = UsbHidRelay.findAndAcquireFirstRelay(SIXTEEN);

relay.setSwitchOn(0);

 

 

answered