AdvancedHMI Software

General Category => Support Questions => Topic started by: sony on October 10, 2013, 11:51:24 PM

Title: Read N7:0 value
Post by: sony on October 10, 2013, 11:51:24 PM
Dear,
I will design AdvanvedHMI with 5,6" panel PC via DF1comm. I just make one screen only as viewer but have problem with size of advanvedHMI components. For exampe if I use DigitalPanelMeter to reduce the size will be can't seen clearly. Regarding this problem I try to get value of Integer in N7:0 for example to fill into a textbox but do not know.
How do can I do to read one elemet i.e N7:0 ?

Best regards
Title: Re: Read N7:0 value
Post by: dmroeder on October 11, 2013, 09:46:22 AM
Try the component called "BasicLabel". 
Title: Re: Read N7:0 value
Post by: sony on October 15, 2013, 11:33:30 PM
Dear,
What kind  property basic label that able to read the value of N7:0 ?
thank

Title: Re: Read N7:0 value
Post by: Archie on October 16, 2013, 04:18:58 AM
Put N7:0 in PLCAddressValue property of the BasicLabel
Title: Re: Read N7:0 value
Post by: sony on October 16, 2013, 04:36:46 AM
Dear all,
Finally I use the code bellow to put N7:0 value into the textbox:

TextBox1.Text = DF1Comm1.ReadAny("N7:0")

Thank and regards

Sony
Title: Re: Read N7:0 value
Post by: sony on December 03, 2013, 09:56:07 PM
Dear,
I has been tested for N, O and B.
But now I have problem with the command bellow

TextBox1.Text = DF1Comm1.ReadAny("C5:0.ACC")

also for the timer   TextBox1.Text = DF1Comm1.ReadAny("T4:0.ACC")

If the command execute have error "ArgumentOutOfRangeException was unhandled"

Please show the correct one

regards

Sony