Pulse output of NET16PRMx

Posted on
Tue Aug 08, 2017 8:20 am
Sam offline
Posts: 34
Joined: Aug 22, 2016

Pulse output of NET16PRMx

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

Posted on
Tue Aug 08, 2017 10:17 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Pulse output of NET16PRMx

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

Posted on
Tue Aug 08, 2017 11:16 pm
Sam offline
Posts: 34
Joined: Aug 22, 2016

Re: Pulse output of NET16PRMx

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

Posted on
Fri Aug 11, 2017 2:20 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Pulse output of NET16PRMx

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)

Image

Posted on
Mon Aug 14, 2017 2:45 am
Sam offline
Posts: 34
Joined: Aug 22, 2016

Re: Pulse output of NET16PRMx

Ok, nice! Thanks!

/Sam

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest