Reply To: Parse XML IOResponse

Home Forums V-Control General Parse XML IOResponse Reply To: Parse XML IOResponse

#7160
JonasStade
Participant

1. Use NthField() as a sorting function. Use <ClipId> as sorting identifier, then select slot 2, should be something like
dim clipid as string
clipid=NthField(ioresult,“<ClipId>“,2)

And then you have two options. First you can set </clip> as an acknowledge in the command driver, so VControl stops reading the
Ioresult from this point on/cut the rest of the XML of, because it is the command end indicator, were the ack event would take over. Or you do another NthField request on </ClipId> and select slot 1. then fill the value into the device driver and you finish. Would be nice if you could response if it is working. The last time I write huge amount of text to this Forum and no working response etc.

Scroll to top