JKI-State-Machine-Objects
JKI-State-Machine-Objects copied to clipboard
SMO Editor cannot add an event of any category
When I use the SMO Editor to add a Public Event, a Public Method, or a Private Event, it results in:
- broken Typedefs -- the new event ref num is not added to the cluster, but just placed on the typedef's panel
- with the incorrect type -- the new data type of the event ref num is always boolean
- Create a blank Project
- Use the SMO Editor to add an Instrument SMO
- Confirm you can run the TestLauncher VI ✅
- Use the SMO Editor to add a: Public Event with a Numeric control Public Method with a Numeric control Private Event with a String control
- Observe an error dialog appears ❌
- In LabVIEW, show the Error List
- Observe the broken Typedefs ❌
Work around
Unknown. I can drag the new event ref num into the typedef's cluster and resolve the error, but I'm unsure if the SMO Editor stopped its operation early and left other VIs unmodified. I'm worried the SMO is now incoherent or incomplete.
Add a public event
Error dialog
LabVIEW Error List
Broken Typedef
Error text: New Public Event
Error 1054 occurred at New VI Object in ProjectItem.JKI SMO.lvclass:Add PublicEventToDataCluster.vi->ProjectItem.JKI SMO.lvclass:Add New Event.vi:690001->ProjectItem.JKI SMO.lvclass:Add ProtectedEvents--DataCluster.vi->JKI SMO Editor.lvclass:AddEvent.vi
Possible reason(s):
LabVIEW: (Hex 0x41E) The specified object was not found.
Error text: New Public Method
Error 1054 occurred at New VI Object in ProjectItem.JKI SMO.lvclass:Add PublicEventToDataCluster.vi->ProjectItem.JKI SMO.lvclass:Add New Event.vi:690001->ProjectItem.JKI SMO.lvclass:Add ProtectedEvents--DataCluster.vi->JKI SMO Editor.lvclass:AddEvent.vi
Possible reason(s):
LabVIEW: (Hex 0x41E) The specified object was not found.
Error text: New Private Event
Error 1054 occurred at New VI Object in ProjectItem.JKI SMO.lvclass:Add PublicEventToDataCluster.vi->ProjectItem.JKI SMO.lvclass:Add New Event.vi:690001->ProjectItem.JKI SMO.lvclass:Add PrivateEvents--DataCluster.vi->JKI SMO Editor.lvclass:AddEvent.vi
Possible reason(s):
LabVIEW: (Hex 0x41E) The specified object was not found.
Before / after projects
Software
- macOS 10.13.4 (17E202) "High Sierra"
- LabVIEW 2018 64-bit
- JKI SMO Editor 2.0.1.4
JKI SMO Editor v2.0.1.4 by JKI
Released On: Wed, 27 Apr 2016 08:59:07 -0700
Author: JKI
Copyright: Copyright (c) 2016, JKI
Compatible LabVIEW Versions: >= 2013.
Compatible OS Versions: ALL.
Repository Name: JKI Package Network
Release Notes:
- Changed Public Method to use Private Events to message Process.
- Event can now be empty (boolean placeholder)
- Event that contains only one control will not wrap into a cluster
This Package depends on these other packages:
jki_lib_state_machine >= 2.0.0
OpenG Array Library >= 4.1.1.14
OpenG Error Library >= 4.2.0.23
OpenG File Library >= 4.0.1.22
OpenG LabVIEW Data Library >= 4.2.0.21
OpenG String Library >= 4.1.0.12
OpenG Variant Configuration File Library >= 4.0.0.5
JKI SMO Templates >= 1.0.0.5
JKI State Machine Objects (SMO) >= 1.0.0.11
Hi, I have the same problem while adding a Public Event. adding a private event or a public method works fine.
I am using LabVIEW 2019f2 and JKI SMO Editor 2.0.2.5