-
Posts
34 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by hugo_fr
-
-
Another way is to pass the parent VI ref to the subpanel VI
See zip.
-
That example is crazy. Did you develop this or did you find it? I ask because I noticed some of the front panel controls would be a strange string of characters like "ƒCƒxƒ“ƒg“o˜^Refnum" and even the error clusters have some odd labels. Does this kind of thing happen when developing in a different language?
I think I understand how all the pieces work. The only thing is with this design I don't like is you need to have a callback VI for each item in the tray right? What if we needed to populate the list of items to appear when you right click? You could have the same call back VI for several events, but when when an event occurs there is no way to know what the user clicked on if because the only distinguishing part is between items is the VI that is called.
I'm also a little confused on what happens if you have more than 5 items when you right click. It seems you are registering all the events at the same time, so you need to know how many events there are, and there is a case structure in the SetMenu.vi that at the moment only goes to 5 items. It would be a pain to have to set that to the maximum number of items you expect to ever have in a tray.
I also didn't see a way to add a horizontal bar to separate items. Maybe BarBreak? or Break in the MenuItem property node.
I find it some years ago, on LAVA 1.0,
I have the same bug (ƒCƒxƒ“ƒg“o˜) on clusters...
You are right for the registering process, a little bit frustrating .... i don't know another way, NI Library uses the same registering node.
If you put the string '-' for the name, you can add an horizontal BreakBar, (as for Ring)
You can distinguish items with the 'NotifyIcon Ref' property : 'Text'
I hope it helps.
-
The topic Saving all properties for Gobject contains a similar solution in the NI PropSaver library : PropSaver.llb\PropSaver - Predefined Property List.vi
Hugues
-
Thanks for help.
I did this code, quickly, manually, but work at this time and can evolve later.
-
Hi all,
I wish for this VI :
The ClassName property is easy, but how retrieving the class inheritance hierarchy ?
Any idea ?
Hugues.
-
Hi,
There is another NotifyIcon library (based on .NET) that could be merged with the NI library...
The example is interesting too
-
Hello,
Thanks a lot for your answers, I will have a look on your ideas.
Cheers
Antoine
PS: I attach a test project, (test.zip) with a custom periodic server based on server.vi, which refects what I need. You can see I used Call chain.vi to get the path of the server itself when it is running (vislt_serverXX.vi). But if I opened a ref on it to get its path, I have a <not a path>...The idea was to retrieve the path of vislt_serverXX.vi, because when I create an exe, I noticed that in the builds folder, there is a folder \builds\LVDSC\Custom VI Periodic Server\9.0\templates inside. And this folder is included in same folder than the .exe
I attached also a picture showing dsm, with my server running ().
Thanks again
Here's an installer option that works fine :
Hugues.
-
- Popular Post
- Popular Post
Hi,
This is a small tool that adds a shell menu 'Open with LabVIEW Compatible Version'
Very usefull when working with multiple LabVIEW versions.
It launch the appropriate LabVIEW Version if installed', otherwise, it prompts the user to select a more recent installed version.
Requirements :
LabVIEW 8.6.1 RunTime Engine
Use :
Right Click on a LabVIEW File
Select 'Open with LabVIEW Compatible Version'
Supported file formats :
.vi .vit
.ctl .ctt
.llb .lvlib
.lvproj .lvclass
.xnode .xctl
- 4
Event Structure Queue
in LabVIEW General
Posted · Edited by hugo_fr
oups