[Python] PICO_INVALID_CHANNEL on ps4000aSetChannel

Post general discussions on using our drivers to write your own software here
Post Reply
t.des
Newbie
Posts: 0
Joined: Fri Mar 06, 2020 9:03 am

[Python] PICO_INVALID_CHANNEL on ps4000aSetChannel

Post by t.des »

Hello,

I use picoscope 4824 from the PIcoSdk python API. I want to trigger the picoscope from an input. For this, I use the ps4000aSetChannel function. This works for channels A to F with parameters 0 to 5 (i.e. "PS4000A_CHANNEL_A" to "PS4000A_CHANNEL_F"). On the other hand, with parameters 6 and 7 ("PS4000A_CHANNEL_G" and "PS4000A_CHANNEL_H") I get the error PICO_INVALID_CHANNEL.
I do not understand this error.

Yours sincerely,
Thomas

NeilH
PICO STAFF
PICO STAFF
Posts: 270
Joined: Tue Jul 18, 2017 8:28 am

Re: [Python] PICO_INVALID_CHANNEL on ps4000aSetChannel

Post by NeilH »

Hi Thomas

Have you been able to run our example code from the picosdk-python-wrappers repo from our github page https://github.com/picotech/picosdk-python-wrappers

Neil
Neil
Technical Support Engineer

Post Reply