Remember
Register
Home
/
Support
/
Support Forum
/
XML and structure of data
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(383)
Python
(1,016)
RF Solutions and XBee
(8,414)
Digi TransPort
(786)
Digi Connect Cellular
(443)
DAL
(4)
Embedded Devices
(4,160)
Google Coral
(2)
Rabbit
(3,194)
Rabbit Software
(518)
Console Servers
(353)
Modbus and Industrial Automation
(246)
Realport
(600)
Serial Servers
(836)
Satellite Modules
(25)
USB
(1,269)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(92)
Other/Legacy
(373)
XML and structure of data
0
votes
I use this structure of data ;
typedef struct AR_zone_t {
int etat;
int duree;
int sortie;
int indice_valide;
};
struct AR_zone_t AR_zones[8];
It works with Dynamic c 9.62 but it seems that it does not work with 10.72D because I still have problems reading variables in a xml files
How to write the structure?
Thanck you for the answer.
xml
and
dynamic
c
10
72d
asked
Apr 15, 2020
in
Rabbit Software
by
arizzorabbit
New to the Community
(
11
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2 Answers
+1
vote
Best answer
The solution is :
With this structure
Ihave declared the variable web as in my program with Dynamic C 9.62
#web AR_zones[@].etat groups=user(rw)
#web AR_zones[@].duree ((0 < $AR_zones[@].duree) && ($AR_zones[@].duree <= 20)) groups=user(rw)
This syntax don't work with Dynamic 10.72D
You have to declare the variables like this.
#web AR_zones groups=user(rw)
answered
Apr 20, 2020
by
arizzorabbit
New to the Community
(
11
points)
selected
Apr 21, 2020
by
TomCollins
Please
log in
or
register
to add a comment.
0
votes
How are you indexing that array in your RabbitWeb/ZHTML files? You should be using index 0 to 7. Maybe you should email me with the ZHTML file you're using, and what the Rabbit's generated output looks like so I can help you troubleshoot.
answered
Apr 16, 2020
by
TomCollins
Veteran of the Digi Community
(
2,297
points)
edited
Apr 20, 2020
by
TomCollins
Please
log in
or
register
to add a comment.
...