05-27-2009 09:02 AM
05-29-2009 09:47 AM
Hi,
Please post your dcap file and I'll try to find a way to solve your issue.
Thanks,
Sammy Z.
06-02-2009 05:36 PM
Hi,
Since dcap files are binary files, you will not be able to open them in Excel or notepad, but we're looking to see if we have a toolkit that would translate it to Excel, etc.
I will post again if we find anything.
Regards,
Sammy Z.
06-03-2009 05:59 AM
06-04-2009 09:34 AM
Hi,
Unfortunately, we don't have a way of converting dcap files at the moment.
The following may help you in case you would like to parse the packet for detailed DeviceNet information:
In short, the file includes header + packets
header format
#pragma pack(push, 1)
typedef struct tagLogFileHeader
{
char szNISignature[32];
BYTE bMajorVer;
BYTE bMinorVer;
DWORD dwIntfName;
DWORD dwBaudRate;
DWORD dwNumOfPkts;
}LogFileHeader;
#pragma pack(pop)
packet format
Typedef struct
{
U32 ArbitrationID;
U32 TimeStampHigh;
U32 TimeStampLow;
U16 MessageType;
U8 DataLen;
U8 SrcMAC;
U8 DestMAC;
U8 Data[8];
};
The file only stores the raw CAN packets instead of the parsed information.
Regards,
Sammy Z.
11-16-2009 10:51 AM
01-12-2012 01:00 PM
Hi, could you post the code you used to parse the dcap file? We need to parse the file as well, and looking at sample code would be very helpful.
Thanks!