Components

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration Editor Framework (CEF)

Please submit questions, feedback and suggestions for the Configuration Editor Framework in this thread.

 

Install Toolkit - This link will launch VI Package Manager and install the latest CEF package.


Alternative Download - If you require a direct download, you can access the VIP file from our FTP directory. We recommend the VIP file with the highest version number or most recently modified date.

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
Message 1 of 67
(17,400 Views)

I thought this framework would work well for a new project I'm working on. This is really my first time working with Dynamic Dispatch and DVR style GOOP, so a lot of new stuff for me.

 

Couple things I've noticed in the default project that gets built from the New Project Wizard.

  • The "CEF Overview" document and the comments in the code say the file is saved to the GXML format when they are actually saved to a binary format. Not a big deal as either works and it's easily changed to use the GXML format. (which I did)
  • For the second one, if you 'Duplicate' a Group, "Copy" is appended to the Group name you duplicated. I see where that's done in the "Duplicate.vi" in the Group class. When you Duplicate a Voltage or Current channel, the "Copy" is not appended to the channel name, so you end up with a duplicate name. Since neither the "Channel", "Voltage" or "Current" classes have a "Duplicate.vi", the "Duplicate.vi" from the parent Node class runs which does not add the "Copy" text.
    • I added a Duplicate.vi to the Channel class to fix this. 


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 67
(16,669 Views)
What would cause no data to make it into the repo?

I've modified the framework to match the data I need. Everything seems to run just fine. I can build up the tree with all the options, but when I save it, but the XML file just has a single empty data structure.

Looking at the Save VI, the cluster array from the repo is empty.

The class hierarchy looks correct. One repo class inheriting from the main repo class and the rest all inherit from the Node class.

What am I missing?


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 3 of 67
(16,646 Views)

PING



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 67
(16,596 Views)

I finally figured out my issue. 

 

I had some problems in the "ToRepo" and FromRepo" methods.

 

All is well (for now). I have one more level to add to the tree that is a bit complex so we'll see how it goes.



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 5 of 67
(16,582 Views)