Getting triggered info in block mode

Post your LabVIEW discussions here
Post Reply
Miakatt
Newbie
Posts: 0
Joined: Wed Feb 04, 2015 9:02 am

Getting triggered info in block mode

Post by Miakatt » Thu Feb 19, 2015 2:47 pm

Hi all,

I have written a LabView GUI using block mode which works well, except that I want to add a counter of the number of triggered events. I see this information is available when using the Streaming mode, but I don't see how to achieve it in block mode.
How can I obtain the status of the trigger when using block mode?

Model: 5444B

Thank you,
Alan.

Hitesh
Site Admin
Site Admin
Posts: 2794
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Getting triggered info in block mode

Post by Hitesh » Mon Feb 23, 2015 3:25 pm

Hi Alan,

If you are waiting for a trigger, you could indicate that a trigger event has occurred when the device indicates it is ready through polling of the ps5000aIsReady function which is carried out after ps5000aRunBlock has been called.

You should find these functions in the relevant sub-vi through the PicoScope5000aExampleBlock vi.

I hope this helps.
Hitesh

Technical Support Engineer

Miakatt
Newbie
Posts: 0
Joined: Wed Feb 04, 2015 9:02 am

Re: Getting triggered info in block mode

Post by Miakatt » Mon Feb 23, 2015 7:40 pm

Hi Hitesh,
That solved my problem. Thank you very much!

Alan.

Post Reply