示例#1
0
 public static int config_board(string config, int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.config_board(config, board_id, port_name));
     }
     else
     {
         return(Library32.config_board(config, board_id, port_name));
     }
 }
示例#2
0
 public static int get_board_data(int data_count, float[] data_buf, double[] ts_buf, int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.get_board_data(data_count, data_buf, ts_buf, board_id, port_name));
     }
     else
     {
         return(Library32.get_board_data(data_count, data_buf, ts_buf, board_id, port_name));
     }
 }
示例#3
0
 public static int set_log_level(int log_level)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.set_log_level(log_level));
     }
     else
     {
         return(Library32.set_log_level(log_level));
     }
 }
示例#4
0
 public static int get_board_data_count(int[] result, int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.get_board_data_count(result, board_id, port_name));
     }
     else
     {
         return(Library32.get_board_data_count(result, board_id, port_name));
     }
 }
示例#5
0
 public static int get_current_board_data(int num_samples, float[] data_buf, double[] ts_buf, int[] returned_samples, int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.get_current_board_data(num_samples, data_buf, ts_buf, returned_samples, board_id, port_name));
     }
     else
     {
         return(Library32.get_current_board_data(num_samples, data_buf, ts_buf, returned_samples, board_id, port_name));
     }
 }
示例#6
0
 public static int release_session(int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.release_session(board_id, port_name));
     }
     else
     {
         return(Library32.release_session(board_id, port_name));
     }
 }
示例#7
0
 public static int stop_stream(int board_id, string port_name)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.stop_stream(board_id, port_name));
     }
     else
     {
         return(Library32.stop_stream(board_id, port_name));
     }
 }
示例#8
0
 public static int set_log_file(string log_file)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(Library64.set_log_file(log_file));
     }
     else
     {
         return(Library32.set_log_file(log_file));
     }
 }