Jump to content

error 1108


noir_desir

Recommended Posts

Posted

Hello everybody, 

I have got a problem with xml string, in fact à vould like transmis this xml trame :

image.png.48bf73248e66dc01f8e78c8add7dae87.png

And i would use 

image.png.82b2345e69c9d64d1835750503c93c42.png

I have got problem 

-1108...

image.png.a484f9a949b2eff6dd38a35ccbad33b7.png

 

I don't a fault in my code...

Thank you 

Posted (edited)
  1. You didn't give the text, just an image of the text.
  2. You didn't give us the VI you were proposing. We've no idea what the cluster is that you have wired that must match the XML.

Your XML has many, many problems.

e.g.

<string>

<name>adresse</name>

<val>fabio....</val>

</string>

That is not a string, it is  cluster of "name" and "val". It cannot be converted into a LabVIEW string type if that is what you have wired to the the primitive.

Generate the XML from your cluster that you have used with the unflatten then compare with what you have in your XML text.

Edited by ShaunR
Posted
4 hours ago, noir_desir said:

hello

I'm sorry. i use crio to  transmis my cluster (vi envoie) (transmission)

and receive in my program (reception)

transmission.zip 313.41 kB · 1 download reception.zip 103.43 kB · 0 downloads

When you send the message you encapsulate the message as a cluster of string and variant. You don't seem to unwrap the variant from the name/variant cluster in the receiver.

 

image.png.8816fb6880b0b637434b5aec4299fcaa.png

What I expect to see is  something like this in the receiver:

image.png.d12b5fd624608bb485bcd036dadf3873.png

 

 

 

  • Like 1
Posted
11 minutes ago, noir_desir said:

hello, 

Cluster is open before (in message machine) i just take variant . 

image.png.a9994fe3cc78e51ec9652f3cfb8d1c18.png

The variant in your image is a cluster, not a string.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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