Jump to content

SlippinJimmy

Members
  • Posts

    3
  • Joined

  • Last visited

SlippinJimmy's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

1

Reputation

  1. Hello, The input variant passed to the post-build action VI contains several data, such as Output Package File Path, Package Member Source Files, Product Name, Package Version, etc. As far as I know, there is no data related to the palette structure. With palette structure I mean the list of palette names and the list of contained VIs and sub-palettes. A kind of hierarchical structure. Is there any way to get this kind of data? To better understand my question, I share what I would like to obtain. In our company, we have an internal VI package that is shared with all the LabVIEW developers in the company. We have moved the VI documentation to Confluence and we've been doing this in an automatic way (using Confluence HTTP API). This operation is done in the post-build action set for the VI package. This way, the Confluence documentation is updated every time we build a new version of the package. What we are missing is to (automatically) replicate the palette structure on Confluence in order to have a well-organized documentation and to have a match with the palette structure. In other words, if the package is composed as follow: Main palette: String palette VI 1 VI 2 File palette VI 3 VI 4 VI 5 ...we would like to build Confluence pages in this way: Documentation home page Page of String palette Page with documentation of VI 1 Page with documentation of VI 2 Page of File palette Page with documentation of VI 3 Page with documentation of VI 4 Page with documentation of VI 5 So, getting back to my question, is there any way to get the palette structure in the post-build action variant input (or with any other way)? If no, here's a suggestion for a new feature 😎
  2. Hello, I've been using the JKI JSON deserializer to convert json data into cluster. The JSON texts are received from HTTP restful responses. For most of the HTTP responses, the deserialization works fine. However, there is one json text that the JKI JSON cannot deserialize. The error returned is: Code: 1527 Possible reason: LabVIEW: (Hex 0x5F7) Attempted to read flattened data of a LabVIEW class that is not currently loaded into LabVIEW. Call chain: Flattened String To Variant in Array of VData to VArray__ogtk.vi-> JKI JSON Serialization.lvlib:JSON Parser.lvclass:Parse Value.vi:460004-> JKI JSON Serialization.lvlib:JSON Parser.lvclass:Parse Value.vi:460005-> JKI JSON Serialization.lvlib:JSON Parser.lvclass:Parse Root.vi:1760001-> JKI JSON Serialization.lvlib:Parser.lvclass:Parse Input String.vi:1590001-> JKI JSON Serialization.lvlib:JSON Parser.lvclass:Parse JSON String.vi-> JKI JSON Serialization.lvlib:JSON Deserializer.lvclass:Unflatten From String.vi:2180002-> JKI JSON Serialization.lvlib:Unflatten From JSON String.vi:4940002-> test_JSON.vi As reported in the error description, the error occurs in the Glib VI: Array of VData to VArray.vi. The JSON text is valid and well-formatted. Here is an example: { "results": [ { "content": { "id": "123456", "type": "page", "status": "current", "title": "my page", "childTypes": {}, "macroRenderedOutput": {}, "restrictions": {}, "_expandable": { "container": "", "metadata": "", "extensions": "", "operations": "", "children": "", "history": "qwerty", "ancestors": "", "body": "", "version": "", "descendants": "", "space": "qwerty" }, "_links": { "webui": "qwerty", "self": "qwerty", "tinyui": "asd" } }, "title": "qwerty", "excerpt": "qwerty", "url": "qwerty", "resultGlobalContainer": { "title": "qwerty", "displayUrl": "qwerty" }, "breadcrumbs": [], "entityType": "content", "iconCssClass": "aui-icon content-type-page", "lastModified": "2024-08-23T10:43:57.000Z", "friendlyLastModified": "Aug 23, 2024", "score": 0 } ], "start": 0, "limit": 25, "size": 1, "totalSize": 1, "cqlQuery": "qwerty", "searchDuration": 107, "_links": { "base": "qwerty", "context": "/wiki", "self": "qwerty" } } Version of packages are: JKI JSON 1.1.10.37 JKI Serialization 1.0.1.14 In attachment, a VI for testing: test_JSON_JKILib.vi Can you help me?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.