Test and Measurement Forum

Corrupted time values PS2104 and collect_block_triggered()

Post your Linux discussions here

Corrupted time values PS2104 and collect_block_triggered()

Postby hulpf » Tue Sep 24, 2013 7:03 am

Hi,

I am using a PS2104 and libps2000-2.0.7.7-1.x86_64 on Ubuntu 12.04. I compiled the demo program PS2000con and hit the problem that the time values get corrupted as soon as I use the trigger functions.

"B - immediate block" works fine here are the first lines of data.txt:
    0 ,-14797, -9031,
    20000 ,-15083, -9206,
    40000 ,-14797, -9031,
    60000 ,-14797, -9031,
    80000 ,-14797, -9031,
    100000 ,-14797, -9031,
    120000 ,-15083, -9206,
    140000 ,-14797, -9031,

As soon as I use "T - triggered block", the time values are corrupted, here are the first lines of the output again:
    -2147483648 ,-15083, -9206,
    -2147483648 ,-15083, -9206,
    -2147483648 ,-14797, -9031,
    -2147483648 ,-14797, -9031,
    -2147483648 ,-14797, -9031,
    -2147483648 ,-15083, -9206,
    -2147483648 ,-15083, -9206,
    -2147483648 ,-14797, -9031,
    -2147483648 ,-14797, -9031,
    -2147483648 ,-15083, -9206,

The values -21... is constant in the whole file. Could you help me solving that problem?

Best regards,
Fritz
hulpf
Newbie
 
Posts: 0
Joined: Tue Sep 24, 2013 6:51 am

Re: Corrupted time values PS2104 and collect_block_triggered

Postby Martyn » Thu Oct 03, 2013 1:59 pm

There may be a problem with the driver you are using. There is a later one whic is a combined 2000/3000 package so please goto http://www.picotech.com/software.html select PicoScope 3204 (note not the 3204A) and then chose the 32 or 64 bit Linux zip (libps2_3000_R3_6_4_4_1.i386.tgz)
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests