03-15-2016 11:34 AM
Hi,
One example is there in the community on linked network actor between host and terget PC using linked network actor.
https://decibel.ni.com/content/docs/DOC-43921
I am trying to replecate the same but facing problem in interface.lvclass.
Main problem is to create the Write LAN Connected Msg.lvclass - how to attach linked network actor over it.
I am using LabVIEW 2015. Please share if anyone has any idea over it.
03-15-2016 01:28 PM
Pratim,
I wrote the example.
The "Write LNA Connected Msg" inherits from "LNA Connection Status Msg". When the Interface launches the LNA (in Actor Core of Interface.lvclass in this example) it writes a class constant of Write LNA Connected Msg into the private data of the LNA. When the LNA has a change of status it calls the "Post Status.vi" method and that is were the data is sent to the caller of the LNA. The connection status is stored in the parent "LNA Connection Status Msg" but the child "Write LNA Connected Msg" is really on the wire.
This is referred to as "Zero Coupling". It allows us to use the LNA in different applications. You do need to create a child class of the "LNA Connection Status Msg" in each new instance of something that uses the LNA.
Casey
Phoenix, LLC
CLA, LabVIEW Champion
Check Out the Software Engineering Processes, Architecture, and Design track at NIWeek. 2018 I guarantee you will learn things you can use daily! I will be presenting!
03-16-2016 05:52 AM
Thanks Casey