发帖
 找回密码
 立即注册
搜索
3 0 0

flexsim 通过串口RS232通讯

历史版块_9 3 3 2013-8-9 10:13:37
各位大侠,我最近做一个项目,希望能通过串口实现flexsim与另外一套数据采集系统实现通讯,不知道有没有谁弄过这个啊?

拜托各位大侠給与指导。不胜感激!
──── 0人觉得很赞 ────
2013-8-9 13:42:55
[b] [url=http://www.flexsim.asia/redirect.php?goto=findpost&pid=10415&ptid=3906]1#[/url] [i]missman[/i] [/b]


昝工,我会让工程师尽快回复您啊~
2013-8-10 16:53:58
[quote] 1# missman


昝工,我会让工程师尽快回复您啊~
[size=2][color=#999999]shadowwind 发表于 2013-8-9 13:42[/color] [url=http://www.flexsim.asia/redirect.php?goto=findpost&pid=10416&ptid=3906]http://www.flexsim.asia/images/common/back.gif[/url][/size][/quote]
不胜感激!我已经将数据采集工作完成了,就差最后的仿真动画啦。
2013-8-12 09:45:58
[b] [url=http://www.flexsim.asia/redirect.php?goto=findpost&pid=10609&ptid=3906]3#[/url] [i]missman[/i] [/b]


昝工,您好,美国那边的工程师就这个问题回复如下
:“FlexSim has built in functions that use Windows sockets for communicating with other applications.  My suggestion for using the RS 232 protocol would be to use some other application alongside FlexSim.  This third party application (either an application that is built in-house or one that is obtained elsewhere) could interact with the signals sent through the RS 232 port.  After processing the RS 232 signals, the application could send messages via Windows sockets to FlexSim and FlexSim would interact with those messages as needed.  You can find a number of socket related commands in the Command Reference section of the FlexSim User's Manual.

The other option is to use C++ to translate the RS 232 signals into flexscript.  This could be done by building a DLL or by using C++ directly in FlexSim.  Similarly, they could use C++ within FlexSim (or a DLL) to interact with both the RS 232 signals as well as with FlexSim (without necessarily using flexscript).

As far as the issues with objects acting weird in a model, it sounds like an issue with the graphics card.  The engineer can try putting FlexSim in compatibility mode to see if that is the case.  If compatibility mode fixes the issue, then I would suggest making sure the drivers for the graphics card on the computer are up to date by going through the graphics card manufacture's website.  After updating any graphics card drivers, I would make sure FlexSim is no longer using compatibility mode.

If the graphics card drivers are already up to date, then the issue might be resolved by trying a different graphics card or by keeping FlexSim in compatibility mode.  Compatibility mode can cause slow downs in bigger models because it does not use the graphics card, but if they are not big models to begin with then there should not be a noticeable difference.

Let me know if there is anything else I can do to help.
您需要登录后才可以回帖 立即登录
高级模式
返回
历史版块_9
热门问答
查看更多
1
流水作业线的仿真
流水作业线的仿真
33
83
2
Flexsim初级建模工程师水平标准
Flexsim初级建模工程师水平标准
33
234
3
厂区生产线布局优化案例!新做的!
厂区生产线布局优化案例!新做的!
29
224
4
图形用户界面(GUI)教学视频
图形用户界面(GUI)教学视频
26
75
5
flexsim中文教程,pdf文档已整理-重新整理
flexsim中文教程,pdf文档已整理-重新整理
25
114
博主榜
+ 5