picoScope 5203: triggering for channel B or external

 
Post new topic   Reply to topic    Pico Technology Forum Index -> LabVIEW
Author Message
zswiss
User
User


Joined: 02 Oct 2007
Posts: 3

PostPosted: Tue Oct 02, 2007 8:35 pm    Post subject: picoScope 5203: triggering for channel B or external Reply with quote

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
User


Joined: 02 Oct 2007
Posts: 3

PostPosted: Wed Oct 03, 2007 11:56 am    Post subject: pico5203: channel B triggering problem Reply with quote

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
User


Joined: 02 Oct 2007
Posts: 3

PostPosted: Thu Oct 04, 2007 4:32 pm    Post subject: solution :) Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> LabVIEW
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group