{"id":5645,"date":"2023-12-07T11:23:51","date_gmt":"2023-12-07T03:23:51","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=5645"},"modified":"2024-04-23T15:40:49","modified_gmt":"2024-04-23T07:40:49","slug":"tsmaster-automatic-control-process-for-starting-and-stopping-small-programs","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/tsmaster-automatic-control-process-for-starting-and-stopping-small-programs\/","title":{"rendered":"\u5e72\u8d27\u5206\u4eab|TSMaster\u5c0f\u7a0b\u5e8f\u542f\u52a8\u548c\u505c\u6b62\u7684\u81ea\u52a8\u5316\u63a7\u5236\u6d41\u7a0b"},"content":{"rendered":"\t\t
\u25cf\u00a0\u00a0\u7a97\u53e3\u542f\u52a8\u548c\u505c\u6b62\u51fd\u6570<\/u><\/p>
\u25cf\u00a0\u00a0\u5185\u7f6e\u5c0f\u7a0b\u5e8f\u63a7\u5236\u5176\u5b83\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c <\/span><\/p> \u25cf\u00a0\u00a0\u901a\u8fc7\u00a0COM \u63a7\u5236\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u5728TSMaster\u5185\u7f6e\u7684\u5c0f\u7a0b\u5e8f\u6709run_form\u51fd\u6570\u548cstop_form\u51fd\u6570\uff0c\u7528\u4e8e\u63a7\u5236TSMatser\u5de5\u4f5c\u7a97\u53e3\u7684\u542f\u52a8\u548c\u6682\u505c\u3002\u4f8b\u5982CAN \/ CANFD\u53d1\u9001\u7a97\u53e3\uff0c\u901a\u8fc7\u8fd9\u4e24\u4e2a\u51fd\u6570\u6211\u4eec\u5c31\u80fd\u901a\u8fc7\u5c0f\u7a0b\u5e8f\u7f16\u7a0b\u5b9e\u73b0\u5bf9CAN \/ CANFD\u53d1\u9001\u7a97\u53e3\u8fdb\u884c\u63a7\u5236\uff0c\u542f\u52a8\u6216\u505c\u6b62\u53d1\u9001\u62a5\u6587\u3002<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u901a\u8fc7run_form\u51fd\u6570\u548cstop\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u5bf9TSMaster\u7a97\u53e3\u7684\u542f\u52a8\u548c\u505c\u6b62\u5b9e\u73b0\u63a7\u5236\uff0c\u8fd9\u91cc\u7684\u7a97\u53e3\u81ea\u7136\u4e5f\u5305\u62ecC\u5c0f\u7a0b\u5e8f\u7a97\u53e3\u3001Python\u5c0f\u7a0b\u5e8f\u7a97\u53e3\u548c\u56fe\u5f62\u7a0b\u5e8f\u7a97\u53e3\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u4ee3\u7801\u4e92\u76f8\u63a7\u5236\u5c0f\u7a0b\u5e8f\u4e4b\u95f4\u7684\u542f\u52a8\u548c\u6682\u505c\u3002<\/p> \ud83d\udd1c \u5982\u56fe2\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e24\u4e2aC\u5c0f\u7a0b\u5e8f\uff0c\u5206\u522b\u547d\u540d\u7a97\u53e3\u540d\u4e3a\u201cC \u4ee3\u7801\u7f16\u8f91\u5668 [1]\u201d\u548c\u201cC \u4ee3\u7801\u7f16\u8f91\u5668 [2]\u201d\uff0c\u6211\u4eec\u5728C\u5c0f\u7a0b\u5e8f1\u4e2d\u7684\u6309\u952e\u4e8b\u4ef6\u4e2d\u5b9e\u73b0\u5bf9C\u5c0f\u7a0b\u5e8f2\u7684\u63a7\u5236\uff0c\u5e76\u5728C\u5c0f\u7a0b\u5e8f2\u7684\u7a0b\u5e8f\u542f\u52a8\u4e8b\u4ef6\u548c\u7a0b\u5e8f\u505c\u6b62\u4e8b\u4ef6\u4e2d\u628a\u542f\u52a8\u4fe1\u606f\u6253\u5370\u5230\u7cfb\u7edf\u6d88\u606f\u4e2d\u3002<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u5728\u4e00\u4e9b\u6d4b\u8bd5\u573a\u666f\u4e2d\u6211\u4eec\u9700\u8981\u63a7\u5236\u4e00\u4e9b\u5c0f\u7a0b\u5e8f\u6309\u987a\u5e8f\u5faa\u73af\u542f\u52a8\u548c\u6682\u505c\uff0c\u53ef\u4ee5\u5728\u6bcf\u4e2a\u5c0f\u7a0b\u5e8f\u4e2d\u5728\u9700\u8981\u505c\u6b62\u5f53\u524d\u5c0f\u7a0b\u5e8f\u7684\u65f6\u5019\u8c03\u7528terminate_application\u51fd\u6570\u7ed3\u675f\u5f53\u524d\u5c0f\u7a0b\u5e8f\uff0c\u7136\u540e\u5728\u7a0b\u5e8f\u7ed3\u675f\u4e8b\u4ef6\u4e2d\u4f7f\u7528run_form\u51fd\u6570\u542f\u52a8\u4e0b\u4e00\u4e2aC\u5c0f\u7a0b\u5e8f\u3002<\/p> \ud83d\udd1c \u5982\u56fe3\u4e2d\uff0c\u6211\u4eec\u5728\u6bcf\u4e2a\u5c0f\u7a0b\u5e8f\u7684\u542f\u52a8\u540e\u4e24\u79d2\u5173\u95ed\u672c\u5c0f\u7a0b\u5e8f\u5e76\u542f\u52a8\u4e0b\u4e2a\u5c0f\u7a0b\u5e8f\uff0c\u5b9e\u73b0\u4e86\u5bf9C\u5c0f\u7a0b\u5e8f1\u30012\u30013\u7684\u5faa\u73af\u63a7\u5236\u3002<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u53e6\u5916\u5728\u4f7f\u7528\u8fd9\u4e24\u4e2a\u51fd\u6570\u6709\u9700\u8981\u6ce8\u610f\u7684\u4e00\u70b9\uff0c\u5728\u4f7f\u7528\u7a97\u53e3\u540d\u4f5c\u4e3a\u5165\u53e3\u53c2\u6570\u65f6\u5fc5\u987b\u8981\u628a\u7a97\u53e3\u7684\u540d\u79f0\u8f93\u5165\u5b8c\u6574\uff0c\u4f8b\u5982\u56fe2\u4e2d\uff0c\u4f7f\u7528\u8fd9\u4e24\u4e2a\u51fd\u6570\u63a7\u5236\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c\u65f6\u9700\u8981\u5b8c\u6574\u5f97\u8f93\u5165\u201cC \u4ee3\u7801\u7f16\u8f91\u5668 [1]\u201d\uff0c\u800c\u4e0d\u4ec5\u4ec5\u53ea\u662f\u201c1\u201d\uff0c\u5426\u5219\u4f1a\u5728\u7cfb\u7edf\u6d88\u606f\u7a97\u53e3\u62a5\u9519\u63d0\u793a\u627e\u4e0d\u5230\u7a97\u53e3\u3002<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t TSMaster\u5f00\u653e\u4e86COM\u7684\u63a5\u53e3\u65b9\u4fbf\u5f00\u53d1\u8005\u901a\u8fc7\u5916\u90e8\u7a0b\u5e8f\u8c03\u7528\u548c\u63a7\u5236TSMaster\u5de5\u7a0b\uff0c\u4f46\u662f\u5e76\u672a\u5f00\u653e\u7c7b\u4f3c\u5c0f\u7a0b\u5e8f\u4e2d\u7684run_form\u548cstop_form\u7684\u63a5\u53e3\u76f4\u63a5\u63a7\u5236TSMaster\u5de5\u7a0b\u4e2d\u5c0f\u7a0b\u5e8f\u7684\u542f\u52a8\u548c\u505c\u6b62\u3002<\/p> \u7136\u800c\u8fd9\u5e76\u4e0d\u4ee3\u8868\u5c31\u4e0d\u80fd\u901a\u8fc7\u5916\u90e8\u7684\u7a0b\u5e8f\u63a7\u5236TSMaster\u5de5\u7a0b\u4e2d\u5c0f\u7a0b\u5e8f\u7684\u542f\u52a8\u548c\u505c\u6b62\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u8fd9\u4e2a\u88ab\u63a7\u5236\u7684TSMaster\u5de5\u7a0b\u4e2d\u5e38\u5f00\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\uff0c\u5728\u8fd9\u4e2a\u5c0f\u7a0b\u5e8f\u4e2d\u901a\u8fc7\u53d8\u91cf\u53d8\u5316\u4e8b\u4ef6\u63a7\u5236\u5176\u5b83\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5728\u5916\u90e8\u7a0b\u5e8f\u901a\u8fc7\u8c03\u7528\u7cfb\u7edf\u53d8\u91cf\u7684COM\u63a5\u53e3\u95f4\u63a5\u63a7\u5236TSMaster\u5de5\u7a0b\u4e2d\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c\u3002<\/p> \u901a\u8fc7COM\u63a7\u5236TSMaster\u5c0f\u7a0b\u5e8f\u7684\u6b65\u9aa4\uff1a<\/b><\/p> 1. \u5728\u88ab\u63a7\u5236\u7684TSMaster\u5c0f\u7a0b\u5e8f\u4e2d\u8bbe\u7f6e\u4e00\u4e2a\u81ea\u52a8\u542f\u52a8\u7684\u5c0f\u7a0b\u5e8f\uff0c\u5728\u8fd9\u4e2a\u5c0f\u7a0b\u5e8f\u4e2d\u5173\u8054\u4e00\u4e2a\u53d8\u91cf\u53d8\u5316\u4e8b\u4ef6\uff0c\u5728\u53d8\u91cf\u53d8\u5316\u4e8b\u4ef6\u4e2d\u4f7f\u7528run_form\u51fd\u6570\u548cstop_form\u51fd\u6570\u63a7\u5236\u5176\u5b83\u5c0f\u7a0b\u5e8f\u3002<\/p> 2. \u5728\u8c03\u7528COM\u7ec4\u4ef6\u7684\u5916\u90e8\u7a0b\u5e8f\u4e2d\u4f7f\u7528load_project\u51fd\u6570\u5bfc\u5165\u9700\u8981\u63a7\u5236\u7684TSMaster\u5de5\u7a0b\uff0c\u914d\u7f6e\u597d\u901a\u9053\u6570\u91cf\u548c\u6620\u5c04\u8fd9\u4e2a\u5c5e\u6027\uff0c\u7136\u540e\u4f7f\u7528connect\u51fd\u6570\u542f\u52a8TSMaster\u5de5\u7a0b\u3002<\/p> 3. \u4f7f\u7528set_system_var_generic\u5bf9TSMaster\u5de5\u7a0b\u4e2d\u7684\u7cfb\u7edf\u53d8\u91cf\u8d4b\u503c\uff0c\u89e6\u53d1C\u5c0f\u7a0b\u5e8f\u4e2d\u53d8\u91cf\u53d8\u5316\u4e8b\u4ef6\u8c03\u7528run_form\u548cstop_form\u51fd\u6570\u5b9e\u73b0\u5bf9TSMaster\u4e2d\u5c0f\u7a0b\u5e8f\u542f\u52a8\u548c\u505c\u6b62\u7684\u63a7\u5236\u3002<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t overview\u524d\u8a00 \u5728\u5b9e\u9645\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u7528\u6237\u5e38\u5e38\u9700\u8981\u6309\u4e00\u5b9a\u903b\u8f91\u548c\u65f6\u5e8f\u6765\u63a7\u5236TSMaster\u5185\u7f6e\u529f\u80fd\u6a21\u5757\u7684\u542f\u52a8\u548c […]<\/p>\n","protected":false},"author":4,"featured_media":5646,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[90],"tags":[65,214,215],"class_list":["post-5645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-tutorial","tag-tsmaster","tag-214","tag-215","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/posts\/5645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/comments?post=5645"}],"version-history":[{"count":0,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/posts\/5645\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/media\/5646"}],"wp:attachment":[{"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/media?parent=5645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/categories?post=5645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tosunai.com\/wp-json\/wp\/v2\/tags?post=5645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u4e00\u3001run_form\u548cstop_form\u51fd\u6570<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\u4e8c\u3001\u4f7f\u7528\u5c0f\u7a0b\u5e8f\u63a7\u5236\u5176\u5b83\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\u4e09\u3001\u901a\u8fc7COM\u63a7\u5236\u5c0f\u7a0b\u5e8f\u7684\u542f\u505c<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t