winIDEA SDK
Loading...
Searching...
No Matches
isys::CTraceTimeEvent Class Reference

Description

This class contains information of one trace time-line event.

#include <CTraceData.h>

Public Member Functions

int64_t getAddress (int busIndex)
 Returns address.
 
void getAuxChannels (iconnect::StrVector &channels)
 This method returns the list of channels recorded in the current sample.
 
float getAuxData (const std::string &channelName)
 Returns value on the given AUX channel.
 
std::string getBusActivity ()
 Returns bus activity (available only in XML export).
 
void getBusStatus (iconnect::ByteVector &status)
 Returns bus status for the trace binary export.
 
std::string getDasm ()
 Returns disassembly (available only in XML export).
 
DWORD getData (int busIndex)
 Returns data.
 
uint64_t getData64 (int busIndex)
 Returns 64 bit data.
 
std::string getFunc ()
 Returns function data (available only in XML export).
 
std::string getLabel ()
 Returns label (available only in XML export).
 
int getMemArea (int busIndex)
 Returns memory area.
 
void getOnChipData (iconnect::DWordVector &data)
 Returns the recorded on chip data.
 
int64_t getSampleIndex ()
 Returns sample index.
 
std::string getSrc ()
 Returns source code (available only in XML export).
 
int64_t getSubSampleIndex ()
 Returns sub-sample index.
 
int64_t getTime ()
 Returns time of event.
 
std::string toString ()
 Returns string representation of this object.
 

Member Function Documentation

◆ getAddress()

int64_t isys::CTraceTimeEvent::getAddress ( int busIndex)
inline

Returns address.

Parameters
busIndexindex of the target bus, 0 based.

◆ getAuxChannels()

void isys::CTraceTimeEvent::getAuxChannels ( iconnect::StrVector & channels)
inline

This method returns the list of channels recorded in the current sample.

Parameters
channelslist of channel names, cleared before new values are inserted

◆ getAuxData()

float isys::CTraceTimeEvent::getAuxData ( const std::string & channelName)

Returns value on the given AUX channel.

Channel names have prefix 'X', followed by 'A' for analog channel, 'D' for digital channel, followed by 'I' for input, 'O' for output and channel number.

Example: XAI2 is value on Analog Input channel 2.

Values for digital channels are float values 0 or 1.

◆ getBusStatus()

void isys::CTraceTimeEvent::getBusStatus ( iconnect::ByteVector & status)
inline

Returns bus status for the trace binary export.

Check the winIDEA's Export Binary Options dialog for the byte encoding rules.

Parameters
statusvector of values

◆ getData()

DWORD isys::CTraceTimeEvent::getData ( int busIndex)

Returns data.

Parameters
busIndexindex of the target bus, 0 based.

◆ getData64()

uint64_t isys::CTraceTimeEvent::getData64 ( int busIndex)
inline

Returns 64 bit data.

Parameters
busIndexindex of the target bus, 0 based.

◆ getMemArea()

int isys::CTraceTimeEvent::getMemArea ( int busIndex)
inline

Returns memory area.

See MemArea.h for meaning of values returned by this function - make sure to see enum for your target architecture.

Parameters
busIndexindex of the target bus, 0 based.

◆ getOnChipData()

void isys::CTraceTimeEvent::getOnChipData ( iconnect::DWordVector & data)
inline

Returns the recorded on chip data.

Parameters
datavector of on-chip data, for the python use ic.VectorOnChipData