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

flexsim 通过串口RS232通讯

技术交流 887 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.
”
您需要登录后才可以回帖 立即登录
高级模式
返回
技术交流
热门问答
查看更多
1
厂区生产线布局优化案例!新做的!
厂区生产线布局优化案例!新做的!
12099
227
2
Flexsim二次开发之塔吊
Flexsim二次开发之塔吊
6145
45
3
FlexSim2016 中国象棋
FlexSim2016 中国象棋
6017
44
4
快递分拨中心案例~新手可参考
快递分拨中心案例~新手可参考
5636
62
5
关于Processs Flow 使用的两个案例(AGV Elevator案例/子母穿梭
关于Processs Flow 使用的两个案例(AGV Elevator案例/子母穿梭
5485
34
博主榜
+ 10630
+ 7753
+ 6759
4
+ 6323
5
+ 6321
6
+ 5341
7
+ 4710
8
+ 3722
9
+ 3628
10
+ 3566