CLASSNAME.ProcCases: The format of the "Data" control has changed from string to "CoreDefs.rawDataType.ctl".
CLASSNAME.ProcEvents: The format of event definitions has changed. If you are in extreme hurry, you may use the "BaseProcess.evt create compatibility.vi".
Replace unflatten/flatten string VIs:
"flatten to string" by "CoreLib.data 2 byte array" (simple data types),
"unflatten from string" by "CoreLib.byte array 2 data" (simple data types),
Go through all methods, if one is not executable, the errors need to be fixed.
"inheritance" folder: Due to changes in the inheritance tool, quite a few VIs in the "intheritance" folder of a class may be deleted using the file explorer.
All (12) VIs of the attribute handling.
All (2) VIs of the event definition XXX.ProcEvents.vi.
All (2) VIs for the periodic loop XXX.ProcPeriodic.vi.
Other Changes
BaseProcess.constructor: In case "data in" equals
"N/A", the attribute data is not initialized.
"", the attribute data is obtained from the database.
something else, the data input is interpreted as attribute data flattened to string.
BaseGUI.constructor: In case "data in" equals
"", the name of the panel template is "THISCLASSNAME.panel.vit".
something else, the data input is interpreted as a string in the form "CLASSNAME.PANELNAME.vit".
SCADA backend.
For each item (tag) that should be written:
Add an integer (i32) number to the attribute data. That integer will contain the value of a DIM service ID.
In the constructor of a class, create a DIM service by using "LVDimInterface.dis_add_service.vi" and write the serviceID to the attribute data. You have to specify a default value for the service, typecast (!) the value to a string and wire that string to "LVDimInterface.dis_add_service.vi",
In the destructor of a class, destroy the DIM service by using "LVDimInterface.dis_remove_service.vi" and using the serviceID from the attribute data.
Replace all code writing to the SCADA backend by "LVDimInterface.dis_update_service.vi" using the serviceID from the attribute data. You have to typecast (!) your data to a string and wire that string to "LVDimInterface.dis_update_service.vi".
For each item (tag) that should be received:
In the constructor (or CLASSNAME.ProcEvents), you have to define a "trendmsg" (buffered) or "trendnot" (unbuffered) event.
Assuming your class has inherited from the BaseProcess (or child) class, you will have a method called CLASSNAME.ProcCases. Open that method and go to the "case" with the selector defined in the event definition in the previous step.
The updated values will be received via the "data" input. Use the "CAEObj.unfold trend data.vi" method to obtain information about the received data (timestamp, quality, DIM service name, type descriptor and the "no link" flag). Wire the data output of that VI to the input of a "typecast.vi". Specify the data type of the typecast operation by wiring a "constant" value to the type specifier input of the "typecast.vi". It may be a good idea to check the correct data type prior to typecasting by analyzing the "type descriptor" output of the "CAEObj.unfold trend data.vi".
You do not have to care about unsubscribing from a DIM service, since this is taken care of in the desctructor method of the CAEObj class.
Now, you need to connect DIM services to the SCADA backend. If you use the NI-DSC module as SCADA backend together with the DSCIntProc class, please refer to the HOW-TO of the database and tag tools.