wg_enable_sine_wave_mode
status.i4.v = wg_enable_sine_wave_mode(root_device.i1a.r)
This routine enables sine wave mode for a C473, V473, or C475 module.
root_device name of base (no suffix) device
This function returns status values as follows:
OK success
CBS_INVARG invalid root name (no blanks) or event
CBS_INVSIZ invalid family size (database entry error)
CBS_INVTYP device is not a C473, V473, or C475 module
CBS_NO_SUCH clock event or family device not found
negative value other ACNET error
This function requires the following include files:
ul_cbsaux_h:auxlib_device_h, tclk_events_h, acnet_errors_h
Related functions:
wg_disable_sine_wave_mode, wg_enable_ramp, wg_disable_ramp,
wg_get_device_c, wg_get_family_c, wg_find_level_c, wg_find_level_list_c,
wg_find_time_slot_c, wg_find_time_slot_list_c, wg_find_table_numbers_c,
wg_find_table_numbers_list_c, wg_get_table_numbers_c,
wg_get_table_numbers_list_c, wg_scale_time_data_c,
wg_scale_mdat_data_c, c465_find_level_list_c, c465_get_table_c,
c465_get_table_list_c, find_time_slot_c, find_time_slot_list_c,
get_465_device, get_465_family, get_465_type, c465_ft_frequency_c,
c465_ft_frequency_list_c, c465_trigger_level_c,
c465_trigger_level_list_c, get_453_family, get_453_device,
wg_scale_mdat_mults_c, wg_scale_mdat_selections_c,
wg_read_mdat_selections_list_c, wg_set_mdat_selections_list_c,
wg_unscale_mdat_mults_c, wg_unscale_mdat_selections_c,
dio_get_terse_name_length, dio_set_terse_name_length_c
C/C++ usage:
static const char root_device[DEVICE_TERSE_NAME_LEN+1] = "B:XQ1 ";
int status;
status = wg_enable_sine_wave_mode(root_device);