Can I Call a LabVIEW Statechart from C? Primary Software: LabVIEW Modules>>Statechart ModulePrimary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: The current information about the LabVIEW Statechart Module is that after developing your state machine you should repeatedly call the subVI it creates (in a loop for instance) so it will continuously update its internal state. Now provided I have several outputs I wish to examine would it be possible to compile such a VI into a DLL that I could call from C? Solution: Yes, this works like any other LabVIEW VI. You can place Run Statechart.vi in a wrapper VI and use the Build Specification to build a DLL from the wrapper VI. Attached you will find a Statechart DLL and a VI that calls the DLL back into LabVIEW. This runs as expected and should run the same when called from C. Related Links: Learn about the LabVIEW Statechart Module Attachments:
Report Date: 10/28/2007 Last Updated: 12/18/2007 Document ID: 4ERDKKK2 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
