Page 1 of 1
Pulse output of NET16PRMx
Posted:
Tue Aug 08, 2017 8:20 am
by Sam
Hi,
I would like to control an output with an 1 second pulse through an output of NET16PRMx when i start a trigger or action etc. How could i solve this? What I've seen i can only select on / off or toggle in EasyDAQ Relay Card Actions outputs.
I'm a beginner in this nice software and have no programming skills.
Thanks in advance!
/Sam
Re: Pulse output of NET16PRMx
Posted:
Tue Aug 08, 2017 10:17 am
by kw123
If want to go on an adventure
Try arduino or pibeacon plugin. The can do single -n- pulses, ramps up / down and pwm.
But they require little bit of programming or install.
Sent from my iPhone using Tapatalk
Re: Pulse output of NET16PRMx
Posted:
Tue Aug 08, 2017 11:16 pm
by Sam
Thanks, I'll take a look at it.
Is there no way to change the code in python which causes the output to generate a pulse instead of just turning on the output?
- Code: Select all
easyDaqPlugin = indigo.server.getPlugin("com.perceptiveautomation.indigoplugin.easydaq-usb-relay-cards")
if easyDaqPlugin.isEnabled():
easyDaqPlugin.executeAction("turnOnOutput", deviceId=131523919, props={'channelSel':1})
/Sam
Re: Pulse output of NET16PRMx
Posted:
Fri Aug 11, 2017 2:20 pm
by matt (support)
The EasyDAQ plugin will let you create a virtual relay device that points to a single relay output on the NET16PRMx. Create a new EasyDAQ device and choose the EasyDAQ Relay Output Mirror model type . You can then control this device like a normal ON/OFF relay, which opens up the ability to use an API that has has an auto-off duration delay parameter:
indigo.device.turnOn(_devIdOfOutputMirrorDevHere_, duration=2)
Re: Pulse output of NET16PRMx
Posted:
Mon Aug 14, 2017 2:45 am
by Sam
Ok, nice! Thanks!
/Sam