Comments (6)
此栏与功能关联性差一点:
-
新建各类文件后缀问题
有以下四种情况:- 新建公共模型,必须主动添加
.smd
后缀; - 新建项目,无需添加
.sewprj
后缀; - 菜单栏新建文件不添加后缀默认为新建
.c
文件 - 工程管理器处四个分类右键新建,人机界面和控制器两个是无效的,
似乎用户无需自行新建
.h
文件,那么3也不需要自己填后缀名了,那么是否可以实现用户无需管后缀名。 - 新建公共模型,必须主动添加
-
新建
TypeB.smd
,放入机器
,输入Name以及回调函数名,生成代码dictobj.c
, 暂时不清楚在此步骤处的此文件意义。
from sewscriptdoc.
此栏以及之后与缝纫功能关联强一点:
新增一个缝纫段的操作有些步骤:
- 公共模型-Machine实例-属性:回调函数FaultHandler和SegFinishedHandler需要自行填写;
这两个函数的名称需要用户自定义吗? - 需新增一个Parameter实例,否则
sew_para* ParaObjs[0] = {}
处会报错Expected token: 'Integer'
;
入门实例是否必须需要一个Param? - 仅以编译通过的话需要在
sewprog.c
中添加以下代码:如果要让仿真界面出现的话,需要Main函数里加入:#include "TypeB.h" #include "sew.h" char input[10] = {0}; int measure_buf[10] = {0}; void FaultHandler() { } void SegFinishedHandler() { } void main() { printf("Controller Start ...") while(1) { EventHandler(); } }
VMInit();
- #7 (comment)
做了以上步骤,编译并仿真,才会正常打印出信息。
from sewscriptdoc.
Segment的4个回调函数 todo
from sewscriptdoc.
Main函数 todo
from sewscriptdoc.
MotionSim的调试 todo
- Pasue功能;
- 轨迹含义;
from sewscriptdoc.
PanelSim相关
- 首次新建工程,如果只在控制器和公共模型里添加文件,不对设计资源以及人机界面进行操作。
则编译报错Panel sim file doesn't exist!
; - 之后,添加人机界面,编译通过并仿真,此时删除人机界面下的文件,仿真仍然为删除前的状态。
用户首次添加控制箱脚本是否必须也创建人机界面侧的脚本?
控制箱侧的脚本Seg对象本身的属性就可以赋默认值,假如用户不需要调整,那么人机界面脚本以及必须的Parameter对象是否可以不创建?
延申一点,用户开箱拿到的出厂产品,开机后其控制箱和操作屏是个什么状态?
from sewscriptdoc.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sewscriptdoc.