Functions to control the oscilloscope resolution.  
More...
Functions to control the oscilloscope resolution. 
The resolution determines how accurate the amplitude of a signal can be measured. The higher the resolution, the more accurate the input signal can be reconstructed.
devices can support multiple resolutions, use tiepie_hw_oscilloscope_get_resolutions() to determine the available resolutions for a device.
Besides native hardware resolutions, also enhanced resolutions can be available for a device. Use tiepie_hw_oscilloscope_is_resolution_enhanced() to determine whether the current resolution is a native hardware resolution or an enhanced resolution.
The resolution can be set manually, but can also be set automatically, when auto resolution mode is enabled. 
◆ tiepie_hw_oscilloscope_get_resolutions()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_get_resolutions  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          uint8_t *  | 
          list,  | 
        
        
           | 
           | 
          uint32_t  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get an array with the supported resolutions of the specified oscilloscope. 
The caller must assure that the array is available and that enough memory is allocated.
- Parameters
 - 
  
    | [in] | handle | A device handle identifying the oscilloscope.  | 
    | [out] | list | A pointer to an array to contain the supported resolutions, or NULL.  | 
    | [in] | length | The number of elements in the array.  | 
  
   
- Returns
 - Total number of supported resolutions, or 
0 when unsuccessful.  
- Status values
 - 
 
- Example
 
uint8_t* Resolutions = malloc(sizeof(uint8_t) * Resolution_count);
 
printf("Scp_get_resolutions:\n");
for(i = 0 ; i < Resolution_count ; i++)
  printf("- %u bits\n", Resolutions[ i ]);
 
free(p_resolutions);
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_get_resolutions(tiepie_hw_handle handle, uint8_t *list, uint32_t length)
Get an array with the supported resolutions of the specified oscilloscope.
 
  
- See also
 - tiepie_hw_oscilloscope_get_resolution 
 
- 
tiepie_hw_oscilloscope_set_resolution
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_oscilloscope_get_resolution()
      
        
          | TIEPIE_HW_API uint8_t tiepie_hw_oscilloscope_get_resolution  | 
          ( | 
          tiepie_hw_handle  | 
          handle | ) | 
           | 
        
      
 
 
◆ tiepie_hw_oscilloscope_set_resolution()
      
        
          | TIEPIE_HW_API uint8_t tiepie_hw_oscilloscope_set_resolution  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          uint8_t  | 
          value  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ tiepie_hw_oscilloscope_is_resolution_enhanced()
Check whether the currently selected resolution is enhanced or a native resolution of the hardware. 
- Parameters
 - 
  
  
 
- Returns
 - TIEPIE_HW_BOOL_TRUE if the current resolution is enhanced, TIEPIE_HW_BOOL_FALSE otherwise. 
 
- Status values
 - 
 
- Since
 - 1.0