Picoscope 2204A Channel B cant be accessed

Post your Python discussions here.
Post Reply
Sidney32133
Newbie
Posts: 0
Joined: Tue Aug 06, 2024 1:53 am

Picoscope 2204A Channel B cant be accessed

Post by Sidney32133 »

Hello,
im trying to use Channel B of the Picoscope 2204A. Im using the following code from the Block read example:
https://www.picotech.com/picoapps/uploa ... ead.md.pdf

res = ps2000.ps2000_set_channel(
device.handle,
picoEnum.PICO_CHANNEL['PICO_CHANNEL_A'],
False,
picoEnum.PICO_COUPLING['PICO_DC'],
ps2000.PS2000_VOLTAGE_RANGE['PS2000_1V'],
)
assert_pico2000_ok(res)

But when i change it to 'PICO_CHANNEL_B' it doesnt make a difference, the channel that is being used is still A. Am i missing something, do i have to change something else to access Channel B?
Thanks for the responses in advance
NeilH
PICO STAFF
PICO STAFF
Posts: 298
Joined: Tue Jul 18, 2017 8:28 am

Re: Picoscope 2204A Channel B cant be accessed

Post by NeilH »

Hi

The boolean on/off is set to False in the code in the post which would turn the channel off, to turn it on the boolean would need to be set to True (or 1)
Neil
Technical Support Engineer
Sidney32133
Newbie
Posts: 0
Joined: Tue Aug 06, 2024 1:53 am

Re: Picoscope 2204A Channel B cant be accessed

Post by Sidney32133 »

Hey, thanks for your reply!
I was trying different stuff out, like turning Channel A off and Channel B on, so thats why the snippet has the False Boolean.
It also doesnt work when the Boolean is set to true, so the Problem remains :cry:
Post Reply