Plugin and external action
Hi,
Now, in Dewesoft, you can create a button linked to a Dewesoft action like "Start storing"," Stop acquisition", etc...it's very usefull.
I have a sensor that can be started and resetted manually by sending a
RS232 command through the comport, a button on Dewesoft display during
acquisition will be great.
First of all, is it possible? if yes, can you send me how to do that?
Regards Malek
Technical support
Hi,
I'm not totally sure how you'd go about assigning a function to a DEWESoft button. I think that one way would be to configure a custom visual control, which might prove to be quite a bit of work. I have another suggestion that might be useful to you.
You could create a control channel and link it to a button. If that button would be pressed, it would output a one pulse. You could have your DCOM application read values from that channel and whenever it reaches a one, it would start your custom procedure/function, which would reset the sensor. Since the control channels are asynchronous and only output a sample when pressed, you wouldn't even need to check for a specific value, but could rather just activate your procedure when the channel produces a sample. Would something like this work for you?