3. cc_fdx_lauterbach
3.1. Communication Channel Via lauterbach
- module
cc_fdx_lauterbach
- synopsis
CChannel implementation for lauterbach(FDX)
- class pykiso.lib.connectors.cc_fdx_lauterbach.CCFdxLauterbach(t32_exc_path=None, t32_config=None, t32_main_script_path=None, t32_reset_script_path=None, t32_fdx_clr_buf_script_path=None, t32_in_test_reset_script_path=None, t32_api_path=None, port=None, node='localhost', packlen='1024', device=1, **kwargs)[source]
Lauterbach connector using the FDX protocol.
Constructor: initialize attributes with configuration data.
- Parameters
t32_exc_path (
Optional
[str
]) – full path of Trace32 app to executet32_config (
Optional
[str
]) – full path of Trace32 configuration filet32_main_script_path (
Optional
[str
]) – full path to the main cmm script to executet32_reset_script_path (
Optional
[str
]) – full path to the reset cmm script to executet32_fdx_clr_buf_script_path (
Optional
[str
]) – full path to the FDX reset cmm script to executet32_in_test_reset_script_path (
Optional
[str
]) – full path to the board reset cmm script to executet32_api_path (
Optional
[str
]) – full path of remote apiport (
Optional
[str
]) – port number used for UDP communicationnode (
str
) – node name (default localhost)packlen (
str
) – data pack length for UDP communication (default 1024)device (
int
) – configure device number given by Trace32 (default 1)
- _cc_open()[source]
Load the Trace32 library, open the application and open the FDX channels (in/out).
- Return type
bool
- Returns
True if Trace32 is correctly open otherwise False
- _cc_receive(timeout=0.1)[source]
Receive message using the FDX channel.
- Return type
Dict
[str
,Union
[bytes
,str
,None
]]- Returns
message
- _cc_send(msg)[source]
Sends a message using FDX channel.
- Parameters
msg (
bytes
) – message- Return type
int
- Returns
poll length