how to change variation in DNP3 master

79 views
Skip to first unread message

Faisal PEER MOHAMED

unread,
May 29, 2015, 12:11:36 PM5/29/15
to open...@googlegroups.com
Hi,

I have build the DNP3 master in Linux from /github/opendnp3. It is working fine. The setpoint is variation 1 by default. I am wondering how to change the variation?

I have checked BASEDATATYPES.H, OBJECTINTERFACES.H, SLAVECONFIG.H, SLAVERESPONSE.H


I found somewhere in

struct GrpVar {
GrpVar() : Grp(-1), Var(-1) {}
GrpVar(int aGrp, int aVar) : Grp(aGrp), Var(aVar) {}

int Grp;
int Var;
};


Not getting clue how to pass the Var.

Any help would be appreciated.

Thanks,
Faisal

Daniel Evans

unread,
Jun 1, 2015, 12:21:42 PM6/1/15
to open...@googlegroups.com
If you want to change the default representation of setpoint values, you set the mStaticSetpointStatus member of the SlaveConfig struct.


--
You received this message because you are subscribed to the Google Groups "open-dnp3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-dnp3+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages