Initilizing Pulse Input

Kronos

New Member
Hi All,

Could somebody please tell me how to go about this?

I've declared Dim Hertz As PulseInput as a Process Global.

Then, in Sub Activity_Create(FirstTime As Boolean) I have:

Hertz.Initialize

Hertz = YOYO.OpenPulseInput(20, Hertz.IP_FLOATING, Hertz.RATE_250KHZ, Hertz.FREQ, Hertz.WaitPulseGetDuration)

But I keep getting an error when trying to run the app saying:

Object should be first be Initialize (PulseInput)

Do I need to initialize it differently, or with some variables? Any help would be greatly appreciated.

Cheers,

- Kronos
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Start by searching IOIO related threads
 
Upvote 0
Top