Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Watermark_JS 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.
-
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.
-
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)
-
Love it! Thanks!
-
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).
-
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. ::)
-
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