From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
This is actually done in Darren's quick drop plugin Create Object from Terminal. It uses the input device VIs to get the mouse position and compares it to the objects on the diagram. Perhaps not the easiest solution but it does the trick.
Thanksforyourcommend. Itrieditanditworksundernormalcircumstances. Butithasproblemswithoverlappingobjects (casestructure, eventstructure, stackedsequence). TheSubVIwhichsubstitutetherequestedfeaturetakes1secondonalargeVIand600msonaverysimpleVI. Thisisnot "QUICKdrop". Andboth can be solved through therequestedfeature.
Well, one of the classes (probably Top Level Diagram) does have a method for getting the object at a certain position, but I'm assuming it's a private method and that the position it uses is diagram position, so you would need to get that from the mouse cursor position.
Looking at it now, I can see that as I suspected, it's a private method.
You could try to go to the LV APIs group. There's a thread there where you can ask for private features to be made public. The method is called Object From Point and it belongs to the Diagram class. I have no idea if it actually works since I haven't tried it.
>>Error 1071
Yes I have seen this before. There was another Method I desperately wanted (DeleteJoint), I was told that the error meant there was a prototype in the header, but no actual method. It was CAR'd and I'll let you wager whether the fix will be to add the Method or delete the prototype in the header.
Here's to hoping this method sees the light of day.
I think I have not explained the full possibilities.
When you want to speed up your coding you must speed up the actions which you do 1000 times a day.
You can directly react on keystrokes in a special VI which is running all the time . So press Space+r (not Ctrl, because there are already too many shortcuts) you create a reference for the selected Terminal. On Space+p a Property Node. On Space+t you hide or show the Label of all selected objects on the Blockdiagram, …
All of this can already work now.
It you hove over a SubVI Terminal, or some other terminal, like a tunnel, a single input of a property node or whatelse you could create a constant with Space+c if the new Function would be available. At the moment you must for example select the whole SubVI and then you must create a constant for all Inputs.
These are the basic actions. And no time consuming Ctrl+Space and writing the abbrevation for some functions.