Hello,
I have used AGHscale() from B&R Automation Studio.
fbTestVar.enable=1;
fbTestVar.doTare=1;
fbTestVar.doStandardize1=1;
fbTestVar.t_measure=1;
fbTestVar.pWGHscalePara =(unsigned long int)&TestVar1;
TestVar1.ref1_raw=3000;
TestVar1.ref1_std=1000;
fbTestVar.doStandardize2=1;
TestVar1.ref2_raw=23700;
TestVar1.ref2_std=31500;
fbTestVar.raw_value=analogInput1;
WGHscale(&fbTestVar);
I have attached a screenshot with the Monitor values. As you can see its not doing the second Standardisation. What could be wrong?
I have used AGHscale() from B&R Automation Studio.
fbTestVar.enable=1;
fbTestVar.doTare=1;
fbTestVar.doStandardize1=1;
fbTestVar.t_measure=1;
fbTestVar.pWGHscalePara =(unsigned long int)&TestVar1;
TestVar1.ref1_raw=3000;
TestVar1.ref1_std=1000;
fbTestVar.doStandardize2=1;
TestVar1.ref2_raw=23700;
TestVar1.ref2_std=31500;
fbTestVar.raw_value=analogInput1;
WGHscale(&fbTestVar);
I have attached a screenshot with the Monitor values. As you can see its not doing the second Standardisation. What could be wrong?