Triggering Problem with Picoscope 4444

Post general discussions on using our drivers to write your own software here
Post Reply
MikeJames
Newbie
Posts: 0
Joined: Wed Oct 22, 2014 2:57 pm

Triggering Problem with Picoscope 4444

Post by MikeJames »

Hi,

I have a Picoscope 4444 connected to a Panasonic Toughbook CF-20 (Windows 10) running a logging program.
I have used the ps4000aSetSimpleTrigger() function to set the trigger.
I have a state machine that calls PS4000A_RunBlock() then checks for PS4000A_IsReady() and then reads the values using PS4000A_GetValues().
When the program is run the it fails to trigger until the connected mouse is moved!
The logging program is written to use both Picoscope 3425 and 4444. The 3425 version runs correctly.
Is there any interaction between the Picoscope 4444 USB driver and any other USB driver that you know of?

Regards, Mike.

Hitesh

Re: Triggering Problem with Picoscope 4444

Post by Hitesh »

Hi Mike,

Which programming language are you using?

If you set an auto trigger for say 5000 ms, does the device trigger automatically?

It might be useful to see your code so the channel and trigger setup can be seen.

Regards,

MikeJames
Newbie
Posts: 0
Joined: Wed Oct 22, 2014 2:57 pm

Re: Triggering Problem with Picoscope 4444

Post by MikeJames »

Hi Hitesh,
Sorry for the delay - I've been on holiday.
The programming language I'm using is Lazarus/FreePascal (a Delphi copy).

I've set the auto-trigger to 5000ms and the scope does not trigger automatically.
If I move the mouse in quick circular movements the scope triggers less than second intervals.
The scope application does not have to be the uppermost application on the Windows 10 desktop - the mouse will still trigger the scope.

I built the demo app (in C) using Pelles C but the program failed to find the Picoscope device (4444).

Regards, Mike.

MikeJames
Newbie
Posts: 0
Joined: Wed Oct 22, 2014 2:57 pm

Re: Triggering Problem with Picoscope 4444

Post by MikeJames »

Hi Hitesh,

Further info...
The application is 32-bit running on a 64-bit Windows 10 machine.

Regards, Mike.

Martyn
Site Admin
Site Admin
Posts: 4483
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Triggering Problem with Picoscope 4444

Post by Martyn »

If you don't have the mouse connected does it work correctly ?
Is the data that you get back, after moving the mouse, correctly triggered data ?
Martyn
Technical Support Manager

MikeJames
Newbie
Posts: 0
Joined: Wed Oct 22, 2014 2:57 pm

Re: Triggering Problem with Picoscope 4444

Post by MikeJames »

Hi Martyn,

Problem solved. It was a threading problem. The mouse movements were obviously creating events that allowed other tasks to complete.

Regards, Mike.

Post Reply