User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2019/01/26 20:28]
admin [Off line analisys]
start [2019/01/26 21:06] (current)
admin [Off line analisys]
Line 415: Line 415:
 A call to QLSA_Get_Frequency makes sense only if the recorded data set has been open (a call to QLSA_Fopen_Rec was succesfull). At the present stage of the release, no safeguard are in place against incorrect use of QLSA_Get_Frequency (the function always returns 0).  A call to QLSA_Get_Frequency makes sense only if the recorded data set has been open (a call to QLSA_Fopen_Rec was succesfull). At the present stage of the release, no safeguard are in place against incorrect use of QLSA_Get_Frequency (the function always returns 0). 
  
 +
 +===QLSA_Set_Start_Time===
 +
 +QLSA_Set_Start_Time is used to move the internal data pointer for data retrival and analysis to any position withing the entire duration of the recording. Typically, this is used to start the analysis from times other than time 0 (the beginning of the file). The user specifies the desired starting point in seconds, and the function provides to move the pointer to the closest position maintaining data consistency as far as data interleaving is concerned).
 +
 +QLSA_Set_Start_Time is defined as follows:
 +
 +<code C>
 +int QLSA_Set_Start_Time (double time_start);
 +</code>
 +
 +  * time_start  is a double that containing  the desired start time in seconds. A call to QLSA_Set_Start_Time  makes sense only if the recorded data set is open (a call to QLSA_Fopen_Rec was succesfull). At the present stage of the release, the function only cheks that the specified time is within 0 and the maximum time (the function returns -1 if the specified time is oustide this interval, 0 otherwise). 
 +
 +
 +=== QLSA_Transfer_From_File ===
 +
 +QLSA_Transfer_From_File is used to move data from file to the QLSA engine. 
 +
 +QLSA_Transfer_From_File is defined as follows:
 +
 +<code C>
 +int QLSA_Transfer_From_File(int recnum)
 +</code>
 +
 +  * recnum is the number of records to be sent to the QLSA engine. The length of each record is that specified in QLSA_Init. The function returns when all records have been transferred or when the end-of-file (EOF) is reached. A call to QLSA_Transfer_From_File makes sense only if the recorded data set is open (a call to QLSA_Fopen_Rec was succesfull) and a QLSA is started (a call to QLSA_Init is succesfull). At the present stage of the release, the function does not check for incorrect use. Assuming no other problem is present, the function returns 0 if all the specified records have been transferred, a positive number (number of records that were not transferred) if EOF is reached. 
 +
 +=== QLSA_Fclose_Rec ===
 +
 +QLSA_Fclose_Rec closes the files with the recorded data. 
 +
 +QLSA_Fclose_Rec is defined as follows:
 +
 +<code C>
 +int QLSA_Fclose_Rec (void)
 +</code>
  
  
start.1548534533.txt.gz ยท Last modified: 2019/01/26 20:28 by admin