general profile not loads data (attr2)

6 posts / 0 new
Last post
Александр
general profile not loads data (attr2)

drop since closed

Александр

Close it, since fond that my profile realy not reports data any data. But it is not trivial to understand, that reported 0 records.

Александр

there is another problem on another profile now - it not read captureObjects. even not requests attr3.
why this happens?

there is log on read:
15:04:58 Parsing AARE reply succeeded.
15:05:01 Read object type ProfileGeneric index: 1
7E A0 1A 02 21 41 32 1B A2 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 01 00 DD 53 7E
<HDLC len="19" >
<TargetAddress Value="90" />
<SourceAddress Value="20" />
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="0007" />
<InstanceId Value="01005E0702FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

15:05:01 03:05:01.388 Sent 7E A0 1A 02 21 41 32 1B A2 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 01 00 DD 53 7E
15:05:01 03:05:01.405 Received 7E A0 19 41 02 21 52 A1 66 E6 E7 00 C4 01 C1 00 09 06 01 00 5E 07 02 FF F7 C4 7E
15:05:01
7E A0 19 41 02 21 52 A1 66 E6 E7 00 C4 01 C1 00 09 06 01 00 5E 07 02 FF F7 C4 7E
<HDLC len="18" >
<TargetAddress Value="20" />
<SourceAddress Value="90" />
<FrameType Value="52" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<OctetString Value="01005E0702FF" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

15:05:01 Read object type ProfileGeneric index: 4
7E A0 1A 02 21 41 54 2B A4 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 04 00 65 2D 7E
<HDLC len="19" >
<TargetAddress Value="90" />
<SourceAddress Value="20" />
<FrameType Value="54" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="0007" />
<InstanceId Value="01005E0702FF" />
<AttributeId Value="04" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

15:05:01 03:05:01.411 Sent 7E A0 1A 02 21 41 54 2B A4 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 04 00 65 2D 7E
15:05:01 03:05:01.437 Received 7E A0 16 41 02 21 74 69 48 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
15:05:01
7E A0 16 41 02 21 74 69 48 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
<HDLC len="15" >
<TargetAddress Value="20" />
<SourceAddress Value="90" />
<FrameType Value="74" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<UInt32 Value="00000000" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

15:05:01 Read object type ProfileGeneric index: 5
7E A0 1A 02 21 41 76 3B A6 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 05 00 BD 34 7E
<HDLC len="19" >
<TargetAddress Value="90" />
<SourceAddress Value="20" />
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="0007" />
<InstanceId Value="01005E0702FF" />
<AttributeId Value="05" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

15:05:01 03:05:01.442 Sent 7E A0 1A 02 21 41 76 3B A6 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 05 00 BD 34 7E
15:05:01 03:05:01.453 Received 7E A0 13
15:05:01 03:05:01.469 Received 13 41 02 21 96 21 AA E6 E7 00 C4 01 C1 00 16 00
15:05:01
7E A0 13 41 02 21 96 21 AA E6 E7 00 C4 01 C1 00 16 00 13 00 7E
<HDLC len="12" >
<TargetAddress Value="20" />
<SourceAddress Value="90" />
<FrameType Value="96" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<Enum Value="00" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

15:05:01 Read object type ProfileGeneric index: 6
7E A0 1A 02 21 41 98 4B A8 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 06 00 D5 1E 7E
<HDLC len="19" >
<TargetAddress Value="90" />
<SourceAddress Value="20" />
<FrameType Value="98" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="0007" />
<InstanceId Value="01005E0702FF" />
<AttributeId Value="06" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

15:05:01 03:05:01.476 Sent 7E A0 1A 02 21 41 98 4B A8 E6 E6 00 C0 01 C1 00 07 01 00 5E 07 02 FF 06 00 D5 1E 7E
15:05:01 03:05:01.501 Received 7E A0 23 41 02 21 B8 8C B6 E6 E7 00 C4 01 C1 00 02 04 12 00 00 09 06 00 00 00 00 00 00 0F 00 12 00 00 7C 19 7E
15:05:01
7E A0 23 41 02 21 B8 8C B6 E6 E7 00 C4 01 C1 00 02 04 12 00 00 09 06 00 00 00 00 00 00 0F 00 12 00 00 7C 19 7E
<HDLC len="22" >
<TargetAddress Value="20" />
<SourceAddress Value="90" />
<FrameType Value="B8" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<Structure Qty="04" >
<UInt16 Value="0000" />
<OctetString Value="000000000000" />
<Int8 Value="00" />
<UInt16 Value="0000" />
</Structure>
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

System.Exception: Capture objects not read.
в GXDLMSDirector.GXDLMSCommunicator.Read(Object sender, GXDLMSObject obj, Boolean forceRead)
в GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters)

Александр

there is a trash with profiles reading happens:
download latest sources, and run them. Create profile obect - it loading columns ok. But data not loads, no "All" and no 1 row. it even no requests data

Kurumi
Kurumi's picture

Hi,

You need to read the capture object before you can read the profile generic buffer. This is needed because otherwise object data types are not known.

Can you select profile generic object and select "Access rights" tab. Check is attribute #3, "Capture objects" read access allowed.

BR,
Mikko

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Александр

Hallow Mikko!
Read access surely allowed. Today all works ok. So looks this post may close.