Search found 3 matches

by Beaker
Thu Jul 21, 2016 3:29 pm
Forum: VB and VBA (Excel, Access)
Topic: pl1000SetTrigger - Any examples?
Replies: 5
Views: 9423

Re: pl1000SetTrigger - Any examples?

Hi Hitesh

I've got it working now. It was an issue with the number of channels as you suggested.

Thanks for your help, Appreciated

B
by Beaker
Tue Jul 19, 2016 2:47 pm
Forum: VB and VBA (Excel, Access)
Topic: pl1000SetTrigger - Any examples?
Replies: 5
Views: 9423

Re: pl1000SetTrigger - Any examples?

Hi Hitesh

The function definition was defined as an Integer so I have changed this to long. However I still have the same issue.

These are the parameters I am passing to the function:

Call pl1000SetTrigger(handle, 1, 0, 0, 3, 0, 2000, 1, 0)

Regards

B
by Beaker
Tue Jul 19, 2016 7:23 am
Forum: VB and VBA (Excel, Access)
Topic: pl1000SetTrigger - Any examples?
Replies: 5
Views: 9423

pl1000SetTrigger - Any examples?

Hi I have been trying to get the trigger working on my PL1216 but with no success. I have the excel vba example from the 64bit SDK. In the example the trigger is not enabled. When I enable it, and run the previously working software, excel hangs and becomes unresponsive. The auto trigger function do...