Using Peak Hold Modulation

Support forum for users of the M1 Build

Using Peak Hold Modulation

Postby MalcolmG on Thu Jun 13, 2019 8:47 pm

I'm planning to use Peak Hold Modulation to control some solenoid outputs on a project I'm working on, but I'm not entirely clear on the correct way to use it, and would like to clarify to improve my chances of it working first time. There doesn't seem to be a very good description of how to use this in the contextual help in Build, or the Build or Development manuals.

I've made the assumption that I need to use a Peak Hold Injector output, and therefore need to use a Peak Hold Injector class to configure the pin. Is that correct, or does this Peak Hold Modulation work on any output pin?

Then as far as activating the output in code, do I just use Duty Cycle.Set(1.0) to turn it on, and from there the duty cycle actually gets controlled by something at a lower level based on the peak duration/pulse duration settings, or is there some other way to properly activate the output to make the peak and hold process start?

Is there anything else I should know about using this class?

Any help appreciated.
MalcolmG
Pro User
 
Posts: 76
Joined: Fri Dec 18, 2015 1:34 pm
Location: Auckland, NZ

Return to M1 Build

Who is online

Users browsing this forum: No registered users and 20 guests