09-06-2022 09:26 AM - edited 09-06-2022 09:33 AM
I would like to find all instances of the Invoke node in LabVIEW code. But when I have the vi open, then open up the Find window, chose Object, then select the Invoke node on the palette (it is under Functions > Connectivity > .Net > Connectors), I get the error "the find dialog does not support this palette item". But if I navigate to the Invoke node in the vi then do CTRL-F for Find, it automatically selects the Invoke node and can successfully find instances of the Invoke node in the vi. Can you tell me why I can't find it with Find > Object then select Invoke node in the palette?
I am using 32-bit LabVIEW version 17.0f2.
Solved! Go to Solution.
09-06-2022 10:28 AM
There are certain objects in the palettes that are called 'Place VI Contents' VIs, where when you select the palette object, it is actually dropping the contents of the block diagram of a .vi file on disk, as opposed to dropping a function/subVI itself. The Find dialog does not support doing a find on any palette objects that are 'Place VI Contents' VIs, which includes, among several other diagram objects, the Invoke Node on the .NET palette.
The reason it's not supported is because a 'Place VI Contents' VI could contain multiple objects that get dropped. For example, if you have the Report Generation toolkit installed, the 'Word Constants' subpalette contains multiple 'Place VI Contents' VIs that drop multiple objects wired together. Another example is the JKI State Machine, whose palette object drops an entire state machine... the Find dialog definitely can't support doing a find of a palette object that drops dozens of diagram elements wired together.
09-06-2022 10:33 AM
Thanks so much for this information which I would never have found! I will use my workaround (selecting the Invoke node first, then finding Objects from there).
09-07-2022 03:11 AM
Can you use the invoke node in Functions > Programming > Application Control?