|
|
| Author |
Message |
zswiss User

Joined: 02 Oct 2007
Posts: 3
|
Posted: Tue Oct 02, 2007 8:35 pm Post subject: picoScope 5203: triggering for channel B or external |
|
|
Hello,
I am writing code for picoScope 5203 using PS5000.dll(ps5000sdk_r6_0_11).
The problem is that I could not make working the triggering from channel B (and from
external as well).
Everything works well for channel A, but when I try to send (0,1,0,0,0,0,0) or (0,0,0,0,1,0,0) as "conditions" to ps5000SetTriggerChannelConditions it behaves like no trigger at all?!
I would appreciate for any advise so I can proceed with my work.
Thanks in advance,
Zinour Charifoulline,
CERN, Geneva. |
|
| Back to top |
|
 |
zswiss User

Joined: 02 Oct 2007
Posts: 3
|
Posted: Wed Oct 03, 2007 11:56 am Post subject: pico5203: channel B triggering problem |
|
|
Hello,
Additional info for previous post:
I got back an error code 34 when I sent (0,1,0,0,0,0,0)-conditions to the ps5000SetTriggerChannelConditions.
Why?
PICO_STATUS=34 means PICO_WARNING_AUX_OUTPUT_CONFLICT,
but I just wants to use channel B for triggering?
Thanks,
Zinour. |
|
| Back to top |
|
 |
zswiss User

Joined: 02 Oct 2007
Posts: 3
|
Posted: Thu Oct 04, 2007 4:32 pm Post subject: solution :) |
|
|
Hello,
The problem was rather simple: I use short (16-bits) instead of long (32-bits) as TRIGGER_STATE in the struct tTriggerConditions. Unfortunately it was not so clear for me from the User's Guide.
Regards to all,
Zinour. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|