{"id":23136,"date":"2024-09-12T12:42:21","date_gmt":"2024-09-12T17:42:21","guid":{"rendered":"https:\/\/dev.arbin.com\/?page_id=23136"},"modified":"2025-08-24T09:55:16","modified_gmt":"2025-08-24T14:55:16","slug":"lua-script-feature","status":"publish","type":"page","link":"https:\/\/www.arbin.com\/zh\/82-8\/lua-%e8%84%9a%e6%9c%ac-feature-html","title":{"rendered":"Lua \u811a\u672c\u529f\u80fd"},"content":{"rendered":"<a href=\"\/zh\/\">\u9996\u9875<\/a> > \n<a href=\"\/zh\/%e8%bd%af%e4%bb%b6%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88-html\/\"> \u8f6f\u4ef6\u89e3\u51b3\u65b9\u6848<\/a> &gt;\n\u9ad8\u7ea7\u63a7\u5236\u8bed\u8a00\n<h1>\n\t\tLua \u811a\u672c\u529f\u80fd\n\t<\/h1>\n\t<p>Unlock the power of automation with Lua and take your testing process to the next level. With Lua&#8217;s lightweight and highly efficient scripting capabilities, you can automate repetitive tasks, streamline complex workflows, and ensure precise control over your test equipment.<\/p>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/arbin.com\/wp-content\/uploads\/2024\/10\/ARBIN-ACL-Lua-Script-Feature.png\" alt=\"ARBIN-ACL-Lua \u811a\u672c\u529f\u80fd\" itemprop=\"image\" title=\"ARBIN-ACL-Lua \u811a\u672c\u529f\u80fd\" onerror=\"this.style.display='none'\"  \/>\n\t<meta itemprop=\"url\" content=\"https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-V3.mp4\" \/><div style=\"width: 640px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-23136-1\" width=\"640\" height=\"360\" poster=\"https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-video-bg.png\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-V3.mp4?_=1\" \/><source type=\"video\/mp4\" src=\"https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-V3.mp4?_=1\" \/><a href=\"https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-V3.mp4\">https:\/\/www.arbin.com\/wp-content\/uploads\/2025\/08\/Arbin-Lua-Scripting-Support-V3.mp4<\/a><\/video><\/div>\n<h2>\n\t\t\u89c6\u9891-\u4ecb\u7ecd\n\t<\/h2>\n\t\t<p>\u867d\u7136Arbin\u73b0\u5728\u6709\u65b9\u4fbf\u7075\u6d3b\u7684\u65b9\u6cd5\uff08\u5404\u79cd\u63a7\u5236\u7c7b\u578b\uff09\u6765\u63a7\u5236\u901a\u9053\u8fd0\u884c\uff0c\u4f46\u5b83\u4eec\u90fd\u662f\u9759\u6001\u63a7\u5236\u7c7b\u578b\u3002<\/p>\n<h2>\n\t\tExample of static control types\n\t<\/h2>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-ACL-Example-of-static-control-types-i1.png\" alt=\"ARBIN-ACL-\u9759\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i1\" itemprop=\"image\" height=\"847\" width=\"1601\" title=\"ARBIN-ACL-\u9759\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i1\" onerror=\"this.style.display='none'\"  \/>\n<p>&nbsp;<\/p>\n<p>\u6211\u4eec\u6b63\u5728\u5f15\u5165\u4e00\u79cd\u65b0\u7684\u52a8\u6001\u63a7\u4ef6\u7c7b\u578b\uff0c\u8be5\u7c7b\u578b\u652f\u6301 Lua \u811a\u672c\uff0c\u5177\u6709\u6781\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u6027\u3002<\/p>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-ACL-Example-of-static-control-types-i2.png\" alt=\"ARBIN-ACL-\u9759\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i2\" itemprop=\"image\" height=\"254\" width=\"442\" title=\"ARBIN-ACL-\u9759\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i2\" onerror=\"this.style.display='none'\"  \/>\n<ul> \t\n<li>Lua is a lightweight, efficient, and embeddable scripting language. Lua&#8217;s flexibility allows it to be used in a variety of ways. Its <strong>\u8868\u73b0\u62a2\u773c<\/strong>\u7279\u522b\u662f\u8003\u8651\u5230\u5b83\u4f53\u79ef\u5c0f\u3001\u7ed3\u6784\u7b80\u5355\u3002<\/li>\n\n<li>\u7ed3\u5408\u65f6\u95f4\u8868\uff0cLua \u811a\u672c\u7ed9\u51fa\u4e86 <strong>\u66f4\u4e2a\u6027\u5316\u7684\u7f16\u7a0b\u65b9\u5f0f<\/strong> \u4f9b\u5ba2\u6237\u64cd\u4f5c Arbin \u6d4b\u8bd5\u8bbe\u5907\u3002<\/li>\n<\/ul>\n<h2>\n\t\tArbin&#8217;s Lua Solution\n\t<\/h2>\n\t\t<ul> \t\n<li><strong>Arbin \u96c6\u6210\u4e86 LUA \u811a\u672c\u7684\u5f3a\u5927\u529f\u80fd<\/strong> \u76f4\u63a5\u96c6\u6210\u5230\u5176\u8f6f\u4ef6\u4e2d\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u5148\u8fdb\u7684 <strong>\u81ea\u52a8\u5316\u529f\u80fd<\/strong> \u7528\u4e8e\u5b9a\u5236\u548c\u63a7\u5236\u6d4b\u8bd5\u6d41\u7a0b\u3002<\/li>\n\n<li>\u901a\u8fc7\u8fd9\u6b21\u8fc1\u79fb\uff0c\u7528\u6237\u73b0\u5728\u53ef\u4ee5 <strong>leverage LUA&#8217;s flexibility<\/strong> \u4ee5\u521b\u5efa\u91cf\u8eab\u5b9a\u5236\u7684\u811a\u672c\uff0c\u81ea\u52a8\u6267\u884c\u590d\u6742\u7684\u6d4b\u8bd5\u5e8f\u5217\uff0c\u5e76\u66f4\u9ad8\u6548\u5730\u7ba1\u7406\u8bbe\u5907\u3002<\/li>\n<\/ul>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-ACL-Arbin-Lua-Solution-i1.png\" alt=\"ARBIN-ACL-Arbin Lua \u89e3\u51b3\u65b9\u6848 i1\" itemprop=\"image\" height=\"898\" width=\"1484\" title=\"ARBIN-ACL-Arbin Lua \u89e3\u51b3\u65b9\u6848 i1\" onerror=\"this.style.display='none'\"  \/>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-ACL-Arbin-Lua-Solution-i2.png\" alt=\"ARBIN-ACL-Arbin Lua \u89e3\u51b3\u65b9\u6848 i2\" itemprop=\"image\" height=\"518\" width=\"1016\" title=\"ARBIN-ACL-Arbin Lua \u89e3\u51b3\u65b9\u6848 i2\" onerror=\"this.style.display='none'\"  \/>\n\t\t<ul> \t\n<li>\u6211\u4eec\u4e3a\u5ba2\u6237\u63d0\u4f9b\u5b8c\u5168\u96c6\u6210\u7684 Lua \u7f16\u8f91\u5668\uff08\u53d6\u51b3\u4e8e\u8f6f\u4ef6\u53d1\u5e03\u7248\u672c\uff09\uff0c\u4f7f\u4ed6\u4eec\u80fd\u591f\u8f7b\u677e\u7f16\u7a0b\u548c\u5b9a\u5236\u6d4b\u8bd5\u7a0b\u5e8f\u3002<\/li>\n\n<li>\u6709\u4e86\u8fd9\u4e2a\u7528\u6237\u53cb\u597d\u578b\u7f16\u8f91\u5668\uff0c\u5ba2\u6237\u53ef\u4ee5\u76f4\u63a5\u5728\u8f6f\u4ef6\u4e2d\u7f16\u5199\u3001\u4fee\u6539\u548c\u6267\u884c Lua \u811a\u672c\uff0c\u4f7f\u4ed6\u4eec\u80fd\u591f\u81ea\u52a8\u6267\u884c\u4efb\u52a1\u3001\u521b\u5efa\u9ad8\u7ea7\u6d4b\u8bd5\u534f\u8bae\u5e76\u8c03\u6574\u5de5\u4f5c\u6d41\u7a0b\u4ee5\u6ee1\u8db3\u7279\u5b9a\u8981\u6c42\u3002<\/li>\n<\/ul>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-ACL-Arbin-Lua-Solution-i3-2.png\" alt=\"ARBIN-ACL-Arbin-Lua \u89e3\u51b3\u65b9\u6848-i3-2\" itemprop=\"image\" height=\"762\" width=\"2398\" title=\"ARBIN-ACL-Arbin-Lua \u89e3\u51b3\u65b9\u6848-i3-2\" onerror=\"this.style.display='none'\"  \/>\n<p>\u4e0b\u9762\u662f\u72b6\u6001\u673a\u5728\u52a8\u6001\uff08\u5de6\uff09\u548c\u9759\u6001\uff08\u53f3\uff09\u63a7\u5236\u4e0b\u7684\u6837\u5b50<\/p>\n\t\t<h2>Complete Example of dynamic control types<\/h2>\t\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-Complete-Example-of-dynamic-control-types-i1.png\" alt=\"ARBIN-Complete \u52a8\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i1\" itemprop=\"image\" height=\"327\" width=\"1714\" title=\"ARBIN-Complete \u52a8\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i1\" onerror=\"this.style.display='none'\"  \/>\n\t\t<p>DCIR.arlua<\/p>\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.arbin.com\/wp-content\/uploads\/2024\/09\/ARBIN-Complete-Example-of-dynamic-control-types-i2.png\" alt=\"ARBIN-Complete \u52a8\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i2\" itemprop=\"image\" height=\"3023\" width=\"1601\" title=\"ARBIN-Complete \u52a8\u6001\u63a7\u5236\u7c7b\u578b\u793a\u4f8b i2\" onerror=\"this.style.display='none'\"  \/>","protected":false},"excerpt":{"rendered":"<p>Home > Software Solution > Advanced Control Language Lua Script Feature Unlock the power of automation with Lua and take your testing process to the next level. With Lua&#8217;s lightweight and highly efficient scripting capabilities, you can automate repetitive tasks, streamline complex workflows, and ensure precise control over your test equipment. Introduction Although Arbin now [&hellip;]<\/p>","protected":false},"author":27,"featured_media":23129,"parent":22211,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"Lua Script Feature | Arbin Instruments","_seopress_titles_desc":"Unlock the power of automation with Lua and take your testing process to the next level. With Lua\u2019s lightweight and highly efficient scripting capabilities, you can automate repetitive tasks, streamline complex workflows, and ensure precise control over your test equipment.\u00a0","_seopress_robots_index":"","inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-23136","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/pages\/23136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/comments?post=23136"}],"version-history":[{"count":2,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/pages\/23136\/revisions"}],"predecessor-version":[{"id":42881,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/pages\/23136\/revisions\/42881"}],"up":[{"embeddable":true,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/pages\/22211"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.arbin.com\/zh\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.arbin.com\/zh\/wp-json\/wp\/v2\/media?parent=23136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}