Dear PCAN Support team,
I want to apply custom formatting to incoming data in Data field of Receive view
Normally I am receiving uint32_t that represents amount of seconds sinse....
I want to modify received uint32_t and show "24/7/2024 10:00:00" instead of kind "775130514"
I see kind of possibility to acheve this by specifying the corresponding field in Symbol file as string with 4 bytes and
then use DLL and replace received string for its formatted representation
Is it possible?
What about
virtual HRESULT __stdcall get_VariableStringValue (
/*[in]*/ BSTR bstrVarName,
/*[out,retval]*/ BSTR * Value ) = 0;
virtual HRESULT __stdcall put_VariableStringValue
I see that incoming string has 4 bytes, but I need longer resulting string
Thank You in advance
Custom format of Daten column in Send/Receive View
-
- Posts: 8
- Joined: Fri 10. Sep 2021, 11:00
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Custom format of Daten column in Send/Receive View
Hello,
What's your current PCAN-Explorer 6 version?
What you are trying to do cannot be done using Symbols,
as there is no logic to convert the integer to a Datetime.
Youll need to either use a macro (which wont be able to display messages differently) or you will have to write your own DLL.
Where is this used?
What's your current PCAN-Explorer 6 version?
What you are trying to do cannot be done using Symbols,
as there is no logic to convert the integer to a Datetime.
Youll need to either use a macro (which wont be able to display messages differently) or you will have to write your own DLL.
Code: Select all
virtual HRESULT __stdcall get_VariableStringValue (
/*[in]*/ BSTR bstrVarName,
/*[out,retval]*/ BSTR * Value ) = 0;
virtual HRESULT __stdcall put_VariableStringValue
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team