News:

  • September 25, 2026, 02:31:05 PM

Login with username, password and session length

Author Topic: Feature Request - Find from Data View  (Read 11608 times)

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Feature Request - Find from Data View
« on: August 25, 2023, 10:50:03 AM »
Not sure where Feature Requests go at this point, so dropping this here.

We often find ourselves using the Find function for values that we are monitoring in a Data View.  It would be nice to have a button on the Data View that would automatically copy the selected row address/nickname, open the Find window, and paste in the value -- just a macro, really.
If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Feature Request - Find from Data View
« Reply #1 on: August 25, 2023, 12:18:32 PM »
It's not exactly what you asked, but try Ctrl+Shift+Y.  This does a Find All, which lists out all the usages of the current Data View element in the Find Results 1 dockable window (a special version of an Output window).

With focus on the Data View, I looked under the main menu Search, and it showed mostly grayed(disabled) commands, EXCEPT for the Find All.  I don't know when we added that, but that is useful feature for a single keystroke (no need to navigate the Find dialog).

I tried it on Timer T0 in the Data View, and the Find Results 1 listed all T0 references, including T0.Done in a contact, not just T0 itself in a TMR box.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Feature Request - Find from Data View
« Reply #2 on: August 25, 2023, 12:26:31 PM »
I can't give you a button on the Data View toolbar to do Find All, but you can add it to the Offline toolbar, which are completely customizable.

1. View->Toolbars->Customize...
2. Select the Commands tab
3. In the Categories list, choose Search
4. From the Commands list, click and hold on to the Find All command button and drag it somewhere in the Offline toolbar and drop it where you want it to go, probably to the right of the Find and Find Next buttons.
5. Close the Customize dialog

Now, when you have focus on an entry on the Data View, you'll notice the Find and Find Next toolbar buttons are DISabled, but the Find All button is ENabled.  Just click on that (and/or do the keyboard Ctrl+Shift+Y)

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Re: Feature Request - Find from Data View
« Reply #3 on: August 25, 2023, 12:43:10 PM »
Love it!  Thanks!
If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Feature Request - Find from Data View
« Reply #4 on: August 25, 2023, 01:11:52 PM »
I looked back in the Updates.pdf file (click on the star in the top left corner of the Start Page), and we added that feature in 2.6 in 2019:
n. Added Find All hot key (Ctrl+Shift+Y) and Search->Find All menu item to perform a Find All operation on the current view?s current element. This works great from Documentation Editor or Data View, along with Ladder View. Whatever Element field has focus, simply hitting Ctrl+Shift+Y will find all of the references of that element in your Ladder Logic and list them out to the Find Results 1 window. Simply double-click on the entries in the Find Results window to navigate to that specific instruction parameter where the element is used (5515, thanks to MN).

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Re: Feature Request - Find from Data View
« Reply #5 on: August 25, 2023, 01:19:49 PM »
We use Find All all the time and knew that it grabbed the address when a ladder instruction was selected.  Just didn't realize that it would pick up the field from the data view.   ::)
If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Feature Request - Find from Data View
« Reply #6 on: September 05, 2023, 08:57:18 AM »
We use Find All all the time and knew that it grabbed the address when a ladder instruction was selected.  Just didn't realize that it would pick up the field from the data view.   ::)

And the Documentation Editor