Test and Measurement Forum

ChA&B Block mode trig behavior with 4227

Post general discussions on using our drivers to write your own software here

ChA&B Block mode trig behavior with 4227

Postby BSI » Thu Nov 27, 2014 5:21 pm

Hi

I am experiencing some bizarre behavior with a 4227 that I would like to share and see if you can reproduce on your bench:

HW: 4227 ; SDK r_10_5_11; IDE : Labview 2011, using the ExampleRapidBlock as the base program for testing.
Signal: I feed the same 500Hz square pulse (0-5V) on both ChA and ChB with a splitter BNC, with a duty cycle such that the the pulse is at +5V for 3-5 microsec, and 0V the rest of the time within a cycle (2ms minus 3- microsec), (a 50% duty cycle can be used for testing also).

The ExampleRapidBlock vi is set up to with:
Acquisition:
pretrig samples: 50
postrig samples: 2000
timebase: 1 ( so 125 MS/s)
oversample: 1
Number of Captures: 500

Channel A and B are set to 10V input scale, DC coupled.

Trigger Settings:
Autotrigger time (ms): 10
threshold: 10000 ( so about 1/3 of full range)
direction: rising
Delay : 0

In the PicoScope4000GetRapidBlock.vi I add a tick count vi before the ps4000IsReady loop and another one after the loop to time how long the driver is checking for all the samples to be ready before transfer to the PC.

Test:
In all cases: 500 captures of the signal coming in at 500 Hz, I expect about 1 sec to catch all the triggers.

Timebase kept at 1 (125 MS/s):
A ON, B OFF, triggering on A,
--> time A shows ~ 1090ms, so it makes sense.

A OFF, B ON, triggering on B, .
--> time B shows ~ 1900- 2100ms, it does not make sense.

A ON, B ON. triggering on A:
--> time shows ~ 1070ms, as expected.

A ON, B ON. triggering on B:
time shows ~ 1900- 2100ms, it does not make sense either.

Timebase back to 0 (250MS/s):
A ON, B OFF, triggering on A and A OFF, B ON, triggering on B, .
--> time shows ~ 1090ms : good.

Questions:
Why does the digitizer take longer to acquire my captures on B ?
If the time base is increased (slower sampling), time B get closer to time A (remains consistent)
I tried with a second digitizer, same issue.

Insights ?
Thx
L.

PS: to date, I observed the issue on 3x 4227. However, it does not appear to affect 4224 ( I only have one available).
BSI
Newbie
 
Posts: 0
Joined: Wed May 12, 2010 3:15 pm
Location: Canada

Re: ChA&B Block mode trig behavior with 4227

Postby Hitesh » Mon Dec 01, 2014 12:49 pm

Hi L.,

I can reproduce the issue here, including with a modified version of our C code example from the SDK.

I will report a bug to the Development Team.

Update: I forgot to mention that the PicoScope 4224 has a different hardware implementation and is likley to be handled differently in the driver.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: ChA&B Block mode trig behavior with 4227

Postby BSI » Mon Dec 01, 2014 5:33 pm

Thx Hitesh.
Laurent
BSI
Newbie
 
Posts: 0
Joined: Wed May 12, 2010 3:15 pm
Location: Canada

Re: ChA&B Block mode trig behavior with 4227

Postby Hitesh » Fri Feb 13, 2015 9:42 am

Hi Laurent,

Just to let you know, the bug has now been fixed and the updated driver should be available via the next SDK build.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: ChA&B Block mode trig behavior with 4227

Postby BSI » Fri Feb 20, 2015 4:51 pm

Hi Hitesh,
Thanks for letting me know.
Laurent
BSI
Newbie
 
Posts: 0
Joined: Wed May 12, 2010 3:15 pm
Location: Canada

Re: ChA&B Block mode trig behavior with 4227

Postby BSI » Wed Mar 18, 2015 12:07 am

Hi Hitesh,
Which SDK would have this correction please?
I see the one avail is older than the last conversation we had about this in Feb.
Thx
L.
BSI
Newbie
 
Posts: 0
Joined: Wed May 12, 2010 3:15 pm
Location: Canada

Re: ChA&B Block mode trig behavior with 4227

Postby Hitesh » Thu Mar 19, 2015 1:09 pm

Hi Laurent,

There is an SDK build planned soon - the current version is 10.5.2 so please look out for a version number greater than that.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests