Mark Balla Posted April 13, 2007 Report Share Posted April 13, 2007 Does anyone have a good method to call the Vi properties dialog page programmatically. I’m working on an automated documentation vi and would like use the built in LV documentation editor and not have to create my own. http://forums.lavag.org/index.php?act=attach&type=post&id=5478 Quote Link to comment
AdamRofer Posted April 13, 2007 Report Share Posted April 13, 2007 QUOTE(mballa @ Apr 12 2007, 08:52 AM) Does anyone have a good method to call the Vi properties dialog page programmatically.I'm working on an automated documentation vi and would like use the built in LV documentation editor and not have to create my own. http://forums.lavag.org/index.php?act=attach&type=post&id=5478''>http://forums.lavag.org/index.php?act=attach&type=post&id=5478'>http://forums.lavag.org/index.php?act=attach&type=post&id=5478 From what I can see, you're stuck with creating your own editor. Use the properties VI.VI Description, VI.Help:Document Tag, and VI.Help:Document Path. Don't forget to save your VI with the method VI.Save.Instrument before closing the reference. Of course, someone else might know how to pop up the LabVIEW VI Properties dialog, but I can't find any methods that do this. Quote Link to comment
JDave Posted April 13, 2007 Report Share Posted April 13, 2007 Just a stab in the dark, since I haven't tried it (and can't since my LV machine is temporarily elsewhere :thumbdown: ). Have you tried simulating the keypress (Ctrl-I) to bring up the properties page? The correct VI would have to have focus, I suppose, and I don't think you could force it to open to the Documentation tab. It does go to the last used tab, if I remember correctly. Not clean, and perhaps Windows only, but I haven't found much when looking in similar areas. David Quote Link to comment
Rolf Kalbermatter Posted April 13, 2007 Report Share Posted April 13, 2007 QUOTE(AdamRofer @ Apr 12 2007, 12:51 PM) From what I can see, you're stuck with creating your own editor. Use the properties VI.VI Description, VI.Help:Document Tag, and VI.Help:Document Path. Don't forget to save your VI with the method VI.Save.Instrument before closing the reference. Of course, someone else might know how to pop up the LabVIEW VI Properties dialog, but I can't find any methods that do this. It's not very likely there is any method to do that. Rolf Kalbermatter Quote Link to comment
Mark Balla Posted April 13, 2007 Author Report Share Posted April 13, 2007 QUOTE(AdamRofer @ Apr 12 2007, 12:51 PM) From what I can see, you're stuck with creating your own editor. Use the properties VI.VI Description, VI.Help:Document Tag, and VI.Help:Document Path. Don't forget to save your VI with the method VI.Save.Instrument before closing the reference. Of course, someone else might know how to pop up the LabVIEW VI Properties dialog, but I can't find any methods that do this. I was hopping it was one of those vis buried deep in the vi llb somewhere. So far I haven't had any luck locating it. Quote Link to comment
crelf Posted April 13, 2007 Report Share Posted April 13, 2007 QUOTE(mballa @ Apr 13 2007, 04:24 AM) So far I haven't had any luck locating it. Wouldn't you prefer to get a COTS pacakge that does it for you? VISTA VI Documentation Manager and VISTA VI Documentation Generator Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.