Jump to content

Tripmeister

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Tripmeister

  1. Maybe this sums it up better: I want to create a tool similar to the context help using LabVIEW.
  2. Hi everyone, I would like to program some little extra functionality to the Blockdiagram Editor. In detail I want to write a tool, that allows me to drag a node over a wire and then automatically inserts it to the wire if it fits (e.g. drag a subVI into an error-wire). I guess I know/can figure out how to write that functionality using VI scripting, but I'm not sure how to implement it to run whenever I edit a VI. My first approach is to write a simple scripting-VI, that I will run whenever I need the functionality (or just place the exe in autostart). This VI will obtain the reference to the currently active blockdiagram and then uses scripting to move the node into the wire, whenever I drag a node. But this seems very inefficient, though I know that controlling a drag-operation via VI-Server is inefficient anyway. My basic question is: Is there a way in LabVIEW to implement LabVIEW-Written functionality to the whole editor? So I don't want to activate anything via Right-Click- or Quickdrop-Plugins. It should be a background VI running constantly, or maybe a solution using internal LabVIEW-Events such as starting a drag-operation on the blockdiagram. It would be great, if anyone can give me hints or maybe even examples for how to solve this. I would be happy about any different ways on implementing the functionality from my first sentence, but basically its not about the functionality itself and more about curiosity on if there is a way to solve it all using LabVIEW. Maybe I want to write different tools as well then. Thanks for any replies in advance!! Best, Jan
  3. I found some more ressources on xnodes in general, and they seem to be documented pretty badly. Can anyone tell me if there is a general way to change a propertynode-styled xnodes selected properties (same as pulling bottom of symbol down)? Or does the xnode needs to support this operation with its own "abilities"?
  4. Hey guys, I'm trying to do some scripting on a Realtime-VI wich uses the FPGA Interface "Read/Write Control". I open a Reference to a VI containing a Read/Write Control, and when scrolling through the BD-Objects I find it with the class-name "nirviReadWriteControl". I used the "to more specific class"-VI to check wich class i can cast it to, and i tracked it down to be child of the GObject->Node Class. But i can't cast it to any of the childs offered in the class specifier constant. I also found out, that the "nirviReadWriteControl" is a xnode. I have never worked with those, is there a way to access theyr methods (I think they're called "abilities" for xnodes)? The goal of the application is to make the Read/Write Control display all available FPGA FP-Elements, and connect Controls/Indicators to them. There is the same Problem with the "Open FPGA Reference"-Node (Classname "nirviOpenFPGA"). I really hope somebody dealed with the xnodes a bit and can help me programmatically controlling them! Best, Trip
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.