Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PicoScope 3000 Series #17

Closed
keesj-exset opened this issue Jul 5, 2022 · 9 comments
Closed

PicoScope 3000 Series #17

keesj-exset opened this issue Jul 5, 2022 · 9 comments

Comments

@keesj-exset
Copy link

Hi,

I am trying scopehal pico brigde on a PicoScope 3000 Series 3406D but I can not view a waveform. I am getting the following messages (from ps6000d)

Looking for a PicoScope 6000 series instrument to open...
Looking for a PicoScope 3000 series instrument to open...
Successfully opened instrument
    Driver version:   PS3000A Linux Driver, 2.1.91.3194
    USB version:      3.0
    Hardware version: 1
    Variant info:     3406D
    Batch/serial:     FW896/0067
    Cal date:         21Jun18
    Kernel ver:       0.0
    Digital HW ver:   1
    Analog HW ver:    1
    FW ver 1:         1.7.5.0
    FW ver 2:         1.0.67.0
    Driver path:      /opt/picoscope/lib/libps3000a.so.2
    Shadow cal:       Default
    IPP version:      libpicoipp.so Linux Driver, 2.1.91.3194
Client connected to SCPI socket
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenWaveform failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenWaveformDutyCycle failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenFrequency failed, code 0xc (freq=1000000.000000)
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
ERROR: ps6000aSigGenRange failed, code 0xc
ERROR: ps6000aSigGenApply failed, code 0xc
Ignoring START command because trigger is already armed
Ignoring START command because trigger is already armed

@azonenberg
Copy link
Collaborator

You're getting errors about ps6000* series functions, interesting. Seems like it correctly identifies the instrument as a 3000 series early on, but then starts treating it as a 6000 and things go sideways.

@azonenberg
Copy link
Collaborator

Ok so... the ps6000aSigGen errors seem to be harmless. There's no function generator support in ps6000d for the 3000 series yet, so those functions assume they're dealing with a 6000 series instrument and fail when given anything else.

On the glscopeclient side, are you sure that the instrument actually has a valid trigger configured? The default in glscopeclient is to run in normal trigger mode (we don't actually support auto trigger yet, that's a pending TODO item), while the PicoScope software defaults to auto trigger. So if you don't have a trigger correctly configured and actually firing, you won't see anything.

@azonenberg
Copy link
Collaborator

Filed a separate issue #18 for the missing function generator support on the 3000 series.

@keesj-exset
Copy link
Author

Hello , I did not know about the trigger setup but I think I configured it properly now still.

Screenshot from 2022-07-05 13-34-13

@keesj-exset
Copy link
Author

Another hint is;

  • Unknown PicoScope model "3406D" in the screenshot above.

@azonenberg
Copy link
Collaborator

Yeah. 3000 series support in libscopehal is still incomplete. There just might not be enough driver-side code to work properly.

I can see what I can do as far as adding it, but it will be hard without hardware to test on.

@noopwafel I think you had some success with 3000 series? What's the status of that?

@bvernoux
Copy link
Contributor

bvernoux commented Jul 10, 2022

See #19
See also ngscopeclient/scopehal#481
Note: It work fine on my side waiting PRs merge for that first version (need more test on MSO channels)

@azonenberg
Copy link
Collaborator

@bvernoux are we good to close this issue or are there still pending items?

@bvernoux
Copy link
Contributor

bvernoux commented Aug 7, 2022

@keesj-exset Picoscope3000 series+MSO are supported now (#19 & ngscopeclient/scopehal#481 are merged now)
@azonenberg Last point is to synchronize https://github.com/glscopeclient/scopehal-apps to use latest https://github.com/glscopeclient/scopehal
@keesj-exset Please provide a feedback and close that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants