Triggering Streaming Capture

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

Triggering Streaming Capture

Post by RobBob902 »

Hello folks,

Just had a question of the proper way to use the 2205 MSO C# sdk for a task below. I am looking to use the trigger functions to start streaming on an Analog channel when a rising edge is scene on a digital pin, if anyone knows a simple way of doing this please let me know, I have so far used the trigger functions in this order and had no luck...

// ps2000aSetTriggerChannelConditions()
// ps2000aSetTriggerChannelDirections()
// ps2000aSetTriggerChannelProperties()

Cheers,
Rob
AndrewA
PICO STAFF
PICO STAFF
Posts: 424
Joined: Tue Oct 21, 2014 3:07 pm

Re: Triggering Streaming Capture

Post by AndrewA »

Hi,
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()
ps2000aSetTriggerDigitalPortProperties()

Note in streaming mode you cannot rearm the trigger once fired. You must stop the capture and restart.
Regards Andrew
Technical Specialist
Post Reply