![]() If the A/D board does have programmable gain, set the ul_rangeīoard_num, channel, ul_range, byref( data_value))) If the selected A/D board does not have a programmable gain feature, this The raw A/D value is converted to an A/D value and returned.Ī/D Range code. If the specified A/D board has programmable gain then it sets the gain to the specified """Reads an A/D input channel from the specified board, and returns a 16-bit unsigned integer cbAChanInputMode( board_num, channel, input_mode)) The number associated with the board when it was installed with InstaCal or created with """Sets the analog input mode for a specified A/D channel. argtypes = ĭef a_chan_input_mode( board_num, channel, input_mode): # Load the correct library based on the Python architecture in useĭll_file_name = 'cbw32.dll' if is_32bit else 'cbw64.dll'ĭll_absolute_path = find_library( dll_file_name) enums import ( ErrorCode, Status, ChannelType, TimerIdleState,įrom mcculw. wintypes import HGLOBALįrom builtins import * # mcculw. Wraps all of the methods from UL for use in Python.įrom _future_ import absolute_import, division, print_functionįrom ctypes import * # ctypes. ![]() ![]() ULError Class _init_ Function _str_ Function a_chan_input_mode Function a_in Function a_in_32 Function a_in_scan Function a_input_mode Function a_load_queue Function a_out Function a_out_scan Function a_pretrig Function a_convert_pretrig_data Function a_trig Function a_calibrate_data Function c_clear Function c_config_scan Function c_in Function c_in_32 Function c_in_64 Function c_in_scan Function c_load Function c_load_32 Function c_load_64 Function c_8254_config Function create_daq_device Function daq_in_scan Function daq_out_scan Function daq_set_setpoints Function daq_set_trigger Function d_bit_in Function d_bit_out Function d_clear_alarm Function d_config_bit Function d_config_port Function device_login Function device_logout Function d_in Function d_in_32 Function d_in_array Function d_in_scan Function disable_event Function d_out Function d_out_32 Function d_out_array Function d_out_scan Function enable_event Function flash_led Function from_eng_units Function get_board_name Function get_board_number Function get_config Function get_config_string Function get_daq_device_inventory Function get_err_msg Function get_status Function get_net_device_descriptor Function get_tc_values Function ignore_instacal Function pulse_out_start Function pulse_out_stop Function release_daq_device Function scaled_win_array_to_buf Function scaled_win_buf_alloc Function scaled_win_buf_to_array Function set_config Function set_config_string Function set_trigger Function stop_background Function teds_read Function timer_out_start Function timer_out_stop Function t_in Function t_in_scan Function to_eng_units Function to_eng_units_32 Function v_in Function v_in_32 Function v_out Function win_array_to_buf Function win_array_to_buf_32 Function win_buf_alloc Function win_buf_alloc_32 Function win_buf_alloc_64 Function win_buf_free Function win_buf_to_array Function win_buf_to_array_32 Function win_buf_to_array_64 Function in_byte Function out_byte Function in_word Function out_word Function load_config Function save_config Function _to_ctypes_array Function _check_err Function ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |