07-13-2016 06:37 AM
Ok . I re-checked the Initialize function of the Repository.
1 It add's the given folder to the search list. ( default folder is \classes ?
- Multiple calls of NISE_CEF_Repository.lvclass:Initialize, allows different folders to be added to the list.
2 A scan is made for all .lvclass objects inside that folder and remembered in a FGLB - > "vi.lib\NI\Configuration Framework\class discovery singleton\class discovery singleton.vi"
3 When a Node / Object is called, it checks if the .lvclass was found in the given folder(s). So my suggestion for a dummy vi ( memory place holder ) is not going to work. The CEF expect the Nodes / Classes to be physical present on disk.
When my windows based software starts it uses forinstance the "Application Folder" path as a base , and adds the path to a "Classes" folder for a Windows based application. When I create an .exe it also creates the "classes" folder with the items inside.
On a RT the execution folder for development can be different then that of an executable. So if it is being used on RT then I would suggest a fixed path. There you can upload your classes to.
07-18-2016 02:23 PM
Has anyone created a SoftMotion axis configuration node or node hierarchy for CEF? Wasn't sure where to post this but figured this was my best shot - thanks!
02-17-2017 09:48 AM
Hi
It seems there ist a "memory leak" in the following VI:
"C:\Program Files\National Instruments\LabVIEW 2015\vi.lib\NI\Configuration Framework\hierarchy repo\WriteTree.vi"
For test purposes I call this VI every 5s. As a result LabVIEW increases memory from around 230MBytes (LabVIEW 2015 SP1) to over 1GByte within a day. LabVIEW crashes later on on some point...
Calling the VI "Request Deallocation" in the caller -VI of "WriteTree.vi" does not help.
Just wanted you to know. It does not really matter for my application (at the moment;-), as in normal case the VI is called only a few times (< 100) within a week and the server, on which my application runs, is booted once a week.
Best regards
Markus
12-10-2018 04:26 PM
Hi all,
just spent some time with CEF, many things are quite clear, others not. Here are my questions:
1.
I want to have some "categories" in my configuration automatically. Where shall I call the initialization for these classes?
2.
At Edit.vi I found "subnodes category" item in the subnodes class cluster. How is this used?
3.
In the sample project the channels may be moved also between groups. What do I have to do, that subnodes can just be "reordered" within a node?
Any help is really appreciated, it would accelerate my learing by far!
Thank you!
Martin
12-31-2018 02:12 PM
Hi mstoeger. The VI edit options VI:
Contains the options for the Menu that will be displayed when doing right click on an item.
The sub nodes class configures which nodes can be added to this nodes
And the edit options determine which options are available for the node.
And the categories will place the nodes inside of a category.
In other words, the classes that are supported to be dragged under a node are limited by the list you ad in sub node class. Now sub node class is the actual name of the class you are using. The menu name is what will be displayed when you have the list. And there is a 3rd array in the cluster that allows you to place everything in a category. Now this fields can be change programatically and you can see a working example of this in the DCAF Editor (you can download it from VI Package Manager.
You will only be able to drag items to a node that has the class available as a sub node.
Best Regards
05-21-2019 09:18 AM
Hi Guys,
I've recently started working on my application using CEF.
I'm struggling with adding new menuoptions.. someone had a problem before?
I'm working on a hierarchial template. No matter what I do it seems to always write itself to inital state...
I've made changes in menuoptions.vi, but it doesn't work..
05-23-2019 10:19 AM
I've found the issue in case structure "New", program starts NewMenu.vi that overrides menuoptions.vi configurations.
Now I have a different question, do any of you know how to save all repo data to excel file? All I really want to save is user input data, nothing more.
05-24-2019 04:11 PM
Can I add my own options to the right-click menus, in addition to Add, Remove, Duplicate (and corresponding actions, of course)?
05-24-2019 05:16 PM
OK. Looks like I can. Don't see how to remove the question now.
06-04-2019 03:43 PM
What's up with (very often but not always) not redrawing the menu bar when a custom (fewer items) menu is created by(in) the Menu Options.vi? Is this a LabVIEW (I have 2016) bug?
Also, what's up with setting Defer Panel Updates twice in the same Menu Options VI?