Jump to content
Tim_C

Time stamp nested in an array not supported?

Recommended Posts

Hello,

 

I'm getting an error using "Easy Read XML File" when I place a LabView Time Stamp data type in an array. I was able to isolate a test case down to a modification of the EasyXML example "Write and Read XML File.vi".

 

If I place a labview Time Stamp control in the top level of the "Playlist to write" cluster, and a corresponding Time Stamp indicator in the top level of the "Playlist read" cluster, everything works fine.

 

However, if I place the same Time Stamp control in the "write" side's arrayed cluster of the example (next to the Title and Artist fields), and the corresponding Time Stamp indicator in the "read" side's arrayed cluster, I get the following long and cryptic error message:

Error 1 occurred at (Unexpected Datatype <Waveform>) Get Default Data from TD__ogtk.vi:2 in Get Default Data from TD__ogtk.vi:1->Get Array Element Default Data__ogtk.vi->A1B0180BBBFF194DA93C8AAAE683CDFA:2->A1B0180BBBFF194DA93C8AAAE683CDFA:1->Easy Parse XML__JKI EasyXML.vi->Easy Read XML File__JKI EasyXML.vi->Write and Read XML File.vi

 

Note that the write portion completes successfully, a properly formatted XML file is generated including the array with the time stamp element, but the error occurs during the read portion.

 

Can anyone verify what I'm doing and/or comment on the error?

 

Thanks,

Tim C

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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