# Is there any way to use rising edge/falling edge for trigger view?

**URL:** <https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913>\
**Category:** Logic 2 Software\
**Created:** [November 11, 2022, 5:30pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913 "2022-11-11T17:30:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovyan03](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/lovyan03/32/1237_2.png) [@lovyan03](https://discuss.saleae.com/u/lovyan03)\
**Post date:** [November 11, 2022, 5:30pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/1 "2022-11-11T17:30:40Z")

</div>

Hello !  
I am very grateful for the logic analyzer from saleae.  
Thanks to the aid of LogicPro16, my work is progressing.

I have a question about using Logic2 software.

I would like to use the “trigger view” to trigger the rise of a certain digital channel.  
but, I could not find a way to use the rising edge falling edge as a trigger.  
Specifically, I want to do something like the video in this tweet.

> <https://twitter.com/lovyan03/status/1590484437212749825>

In this video, the SPI signal is used for the trigger view.  
However, this is not actually an SPI signal. In order to use the trigger view, I lied and made it be recognized as an SPI signal.

Perhaps I am looking in the wrong place, is there a solution?

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [November 15, 2022, 1:59am UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/2 "2022-11-15T01:59:04Z")

</div>

@lovyan03 Thanks for writing in! It looks like you need to trigger on a simple rising edge or falling edge, is that correct?

If so, this feature is described below, located under the section titled “Trigger Mode - Edge & Pulse Triggering”.

> **[Capture Modes](https://support.saleae.com/user-guide/using-logic/capture-modes#trigger-on-edge)**

Hope this is what you needed!

---

<div class="post-metadata">

**Author:** ![lovyan03](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/lovyan03/32/1237_2.png) [@lovyan03](https://discuss.saleae.com/u/lovyan03)\
**Post date:** [November 15, 2022, 2:27am UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/3 "2022-11-15T02:27:49Z")

</div>

Hello @timreyes !  
Thanks for answering my question !  
But unfortunately, capturing in trigger mode doesn’t seem to be the feature I want.

Can you see the video of my tweets ?  
What I want is to use capture in loop mode and have it run endlessly, but with a holdoff of 100msec so that the edge of the trigger signal always appears in the same position.

I think the trigger view feature is closest to what I want, but this feature seems to work based on analyzer results.  
If there is a simple analyzer that just recognizes certain signals as LOW=0/HIGH=1, I believe it would work as I desire.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [November 15, 2022, 10:29pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/4 "2022-11-15T22:29:33Z")

</div>

@lovyan03 Ah, sorry for my previous misunderstanding! I see what you mean now.

Unfortunately, the same repeated trigger view is not currently possible with simple digital edges. This is a feature that’s been highly requested, however, we haven’t had a chance to prioritize implementing it.

We’re currently tracking this feature request in the link below:

> **[Repeated trigger capture - Logic 2 - Ideas and Feature Requests - Saleae](https://ideas.saleae.com/b/feature-requests/repeated-trigger-capture/)**
>
> Similar to the "normal" trigger mode of an oscilloscope, it would be useful if Logic could be set capture an amount of time around a trigger event, and then re-arm the trigger and do it continually. Logic could save each trigger to a file automati

Sorry again we don’t have an immediate solution for you. I did however add a comment for you so that we can refer back to your request in this forum post here in case we want to use the notes you’ve provided, or in case we need to contact you for more information. Feel free to add your vote to it as well in case you wanted to receive any status updates via email with regards to this idea post! We’ll keep an eye on user interest in this idea for now before we commit it to the roadmap.

As for your other request:

> [@lovyan03](#):
>
> If there is a simple analyzer that just recognizes certain signals as LOW=0/HIGH=1, I believe it would work as I desire.

Can you confirm if the feature request in the forum post below is what you were looking for?

> **[Bus Analyzer - Decode on Digital Transitions - Logic 2 - Ideas and Feature...](https://ideas.saleae.com/b/feature-requests/bus-display/)**
>
> I would be good to have a possibility to group signal as bus and display them next to signal channel.

---

<div class="post-metadata">

**Author:** ![lovyan03](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/lovyan03/32/1237_2.png) [@lovyan03](https://discuss.saleae.com/u/lovyan03)\
**Post date:** [November 15, 2022, 11:24pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/5 "2022-11-15T23:24:10Z")

</div>

Thank you @timreyes for your thoughtful response !  
I am a little disappointed that I cannot solve the problem right now, but since you say that there are many similar requests, I will wait and see if it will eventually be implemented.

I was also thinking that perhaps I could create my own plugin for the analyzer and use it for the trigger view, but it is not that simple, is it?

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [November 15, 2022, 11:45pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/6 "2022-11-15T23:45:00Z")

</div>

@lovyan03 If you have extensive experience with C++, you can certainly create your own analyzer to perform this!

We provide our Protocol Analyzer SDK and documentation in the link below, including source code for all of our pre-installed analyzers which you can use as reference.

> **[Protocol Analyzer SDK](https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk)**

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [November 16, 2022, 12:19am UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/7 "2022-11-16T00:19:34Z")

</div>

@lovyan03 After looking for some potential starting points / solutions, I came across a community created analyzer below that comes close to what you need.

> **[GitHub - Zweikeks/saleae-logic-SimpleParallelNoClock-Analyzer: Plugin for...](https://github.com/Zweikeks/saleae-logic-SimpleParallelNoClock-Analyzer)**
>
> Plugin for Saleae Logic Software. Analyzer for parallel data communication without a clock signal. The data word transmitted is re-evaluated on every data transition. - GitHub - Zweikeks/saleae-log...

They readily provide the .dll file required for installation to the Logic 2 app, found inside analyzer.zip below.

> **[Release new build system · Zweikeks/saleae-logic-SimpleParallelNoClock-Analyzer](https://github.com/Zweikeks/saleae-logic-SimpleParallelNoClock-Analyzer/releases/tag/v2.0)**
>
> New build system. Instead of the old Visual Studio files and python make wrapper, CMake is now used.

Installation of the .dll file can be found in the support article here.

> **[Import Custom Low Level Analyzer](https://support.saleae.com/faq/technical-faq/setting-up-developer-directory)**

I ran a quick test of this analyzer. Here is an image of it in running on random digital transitions.

 ![simple-parallel-no-clock](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/2X/e/eb9f9eb4746a7475ffc46c256b625a83c5a87d12.png)

The analyzer was configured for a single channel. However, there are some limitations with this approach.

1. The data frame (either ‘0’ or ‘1’) will span from the current edge that it is looking at, all the way to the next edge as you can see in the image above. The analyzer might need to be modified to end the frame at a fixed distance after the edge occurs, rather than waiting for the next edge.
2. Trigger View is only readily supported for certain pre-installed analyzers. We discuss this in more detail below. This means that custom analyzers, including pre-installed analyzers that are not listed as readily supported, will not immediately work with Trigger View. This is due to our Trigger View relying on a new low level analyzer framing format that we call “frame v2.” Only a handful of analyzers support “frame v2” at the moment, and these are the analyzers that work with Trigger View. I’ve provided some support articles below that share more details on this limitation, as well as documentation on FrameV2 should you decide to implement it into the Simple Parallel No Clock analyzer that I shared above.

---

<div class="post-metadata">

**Author:** ![lovyan03](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/lovyan03/32/1237_2.png) [@lovyan03](https://discuss.saleae.com/u/lovyan03)\
**Post date:** [November 16, 2022, 1:35am UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/8 "2022-11-16T01:35:14Z")

</div>

@timreyes  
Thanks for sharing that interesting info!

I tried it out right away. Indeed, this is the same functionality I imagined.  
If this plugin is now compatible with frame v2, can it be used with triggered views?

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [November 16, 2022, 7:10pm UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/9 "2022-11-16T19:10:09Z")

</div>

@lovyan03 You’re welcome! The plugin will need to be updated to use the new “Frame V2” API. We provide some guidelines for this below. Our Trigger View relies on resuls produce by the “Frame V2” API.

> **[FrameV2 / HLA Support - Analyzer SDK](https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk/framev2-hla-support-analyzer-sdk)**

---

<div class="post-metadata">

**Author:** ![lovyan03](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/lovyan03/32/1237_2.png) [@lovyan03](https://discuss.saleae.com/u/lovyan03)\
**Post date:** [November 19, 2022, 5:30am UTC](https://discuss.saleae.com/t/is-there-any-way-to-use-rising-edge-falling-edge-for-trigger-view/1913/10 "2022-11-19T05:30:29Z")

</div>

Thanks for the detailed info!  
And, thanks for releasing the SDK and specs that allow users to extend the functionality as well.  
I will stay busy for a while, but will eventually try to create a plugin using FrameV2.
