新增 Insert Bundle Unbundle:按位置顺序 Bundle/Unbundle 选中的多条 wire - #46
Merged
Merged
Conversation
added 4 commits
September 28, 2026 22:22
- 取 QuickDrop 启动 VI 的 Selection List[],筛出 wire 并按 Master Bounds Rect.Top 自上而下排序 - 用 VI Scripting 创建 Bundle/Unbundle,删除原 wire 后按源端子/下游端子重新连线,cluster 元素顺序与原始线一致 - 只支持每个 wire 有单一游端子;选中项非全为 wire、少于 2 根或存在分叉时报错放弃且不改动框图 - 连接器板为 4-2-2-4(pattern 4815),已按 NI 风格指南分配端子 - 附带单文件 HTML 使用说明:模板接入步骤、端子与 conIdx、行为与验证记录
Collaborator
Author
|
本阶段交付 内容:选中多条 wire 后按上下位置顺序 Bundle 成 cluster 再 Unbundle 接回原端子;新增 VI 与单文件 HTML 说明, 关键决策与事实:
验证:三根独立线端到端成功且顺序与接线正确;分叉线被拒绝且目标未改动;连接器板经复测符合 NI 风格指南。 |
added 2 commits
September 28, 2026 23:40
- SKILL.md:模态框看门狗门禁、labview-mcp 能力边界、插件契约、可测试性设计、实施流程 - references/aixml-and-scripting-facts.md:AIXML 语法、生成与保存、VI Scripting、验证手段的事实清单 - scripts/lv-dialog-guard.ps1:监视 LabVIEW 模态对话框并自动置前 + 回车,避免 AI gRPC 服务被冻结
Collaborator
Author
|
本阶段把 QuickDrop 插件开发经验沉淀成 skill,并放进仓库。 内容:新增
关键决策:skill 从用户级目录 验证:看门狗脚本在新位置以 |
added 6 commits
September 28, 2026 23:45
- .gitmodules 记录 .wiki -> LabVIEW-QuickDrops-Manager.wiki.git - 仓库约定补充 .wiki/ 目录说明
- README(zh-cn).md 内容合并进 README.md,按「英文在前、-----、中文在后」单文件双语 - .vipb 移除 README(zh-cn).md 排除项 - 更新 Copilot 指令补充文档中英文一致与单页版式约定 - 同步 .wiki submodule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
选中多条数据 wire 后,自动插入一对 Bundle + Unbundle:先把选中的线按上下位置顺序 bundle 成一个 cluster,再立即解开并把每个元素接回原来的源端子与下游端子,过程结束后原有逻辑不变(线序与接线关系都不动,只是中间多了一对节点)。
本次交付为可直接接线的 subVI,QD 插件外壳由使用者在
NEVSTOP_QuickDrop/QuickDrop Plugin Template.vit中自行接入。改动
src/resource/dialog/QuickDrop/plugins/QD_Bundle Unbundle/Insert Bundle Unbundle.viInsert Bundle Unbundle.html(单文件说明:模板接入步骤、端子与 conIdx、行为、验证记录).github/skills/labview-quickdrop-plugin/:QuickDrop 插件与 labview-mcp 工作流 skill(SKILL.md + AIXML/VI Scripting 事实清单 + 模态框看门狗脚本).gitignore增加.tmp/*实现要点
QD Launch VI Ref的Selection List[],过滤出LV.Wire,按Master Bounds Rect.Top自上而下排序(Top * 4096 + i作键)AddInputAfter(Index := Input Count - 1),否则AddInputAfter报 1055QD Launch VI Ref= 11、Diagnostic VI Path= 10、error in (no error)= 8、changes made?= 3、error out= 0验证
changes made? = TRUE、无错误;导出目标 VI 确认源控件与 Bundle 元素一一对应、Unbundle 输出接回原指示器、上下顺序保持code = 1/Bundle Unbundle aborted、changes made? = FALSE、目标 VI 未被改动lvai_connector_pane复测,判定符合 NI 风格指南Diagnostic VI Path输入无头执行(给路径即操作该 VI 全部 wire 并保存)-Once -DryRun自检通过(能枚举并分类 LabVIEW 窗口)说明
Default Shortcut - [X]需由使用者在插件 VI 上补充