Download Software Manual WinIQSIM

Transcript
User-Generated Import Applications
WinIQSIM
In addition, the two functions
• void NotifyTriggerCalculation(void)
• void NotifyConnectionState(int nConnected)
must be implemented in the user code. ImportIFDrv module can signal specific states via the functions:
NotifyTriggerCalculation()
WinIQSIM requests the current trace. User code must now ensure that KernelIFDrv has a valid pointer
on the current data, i.e. transfer of pointer per ImportIF_SetData(), if necessary.
If there is no valid data set, it may prior be calculated provided the total reaction time of 10 seconds to
the WinIQSIM query is not exceeded.
This method can be used for example in the program example function generator.
With longer calculations the results must be available before NotifyTriggerCalculation(). In this case, the
calculation must be initiated through an event (e.g. "Calculate" button). A dummy data set must be kept
as long as the results are not ready.
NotifyConnectionState(int nConnected)
This message serves for informing the user code whether a link is being set up (nConnected = 1) or
cleared down (nConnected = 0). This information can be utilized to show the status of a link.
1013.1642.02
11-12
E-3