PS 2205A MSO Triggering Individual Digital Channels Using C#

Post your .Net discussions here
Post Reply
RobBob902
Newbie
Posts: 1
Joined: Mon Jan 15, 2024 5:58 pm

PS 2205A MSO Triggering Individual Digital Channels Using C#

Post by RobBob902 »

Hello fellow Picoscope C# SDK users,

I am looking for some resources on how to utilize the 2000aSetTriggerDigitalPortProperties().

Currently wondering on the flow of the function calls and where 2000aSetTriggerDigitalPortProperties() fits into. For some context I am currently using the Streaming functionality. Do I call After or before using the SetDigitalPort() or SetDataBuffers()? If wanting to use the Signal generator would I set the signal generator up first?, etc.

If there is any example/resource anyone has that would help it would be greatly appreciated:)

Cheers,
Rob

AndrewA
PICO STAFF
PICO STAFF
Posts: 407
Joined: Tue Oct 21, 2014 3:07 pm

Re: PS 2205A MSO Triggering Individual Digital Channels Using C#

Post by AndrewA »

Hi Rob,

You should call the trigger functions after you have setup your channels (SetChannel(), SetDigitalPort())

If you are just setting up digital channels for trigging you only need to call-
ps2000aSetTriggerChannelConditions()
and
ps2000aSetTriggerDigitalPortProperties()

Note in streaming mode you cannot rearm the trigger once fired. You must stop the capture and restart.

If you want use the Signal generator you need to call the related function before starting the capture.
So before calling RunBlock() or RunStreaming().
Also you can only change some of the signal generator settings while its running see-
ps2000aSetSigGenPropertiesArbitrary() or ps2000aSetSigGenPropertiesBuiltIn()
You can't change any voltage related settings.
https://www.picotech.com/download/manua ... ctions.pdf

Other related docs-
https://www.picotech.com/download/manua ... -guide.pdf
https://www.picotech.com/download/manua ... iggers.pdf
Regards Andrew
Technical Specialist

Post Reply