ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #201  
Old 08-03-2009
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

Hi Stephan,

Are you sure that the exit trigger is toggled as DLL node?
If the node is triggered as Flexscript then you will get the error message in the compiler window.

Make sure that the exit trigger is toggled as DLL.

Lars-Olof
The Following User Says Thank You to Lars-Olof Leven For This Useful Post:
Stephan Seidel (08-10-2009)
  #202  
Old 08-10-2009
Stephan Seidel's Avatar
Stephan Seidel Stephan Seidel is offline
Flexsim User
 
Join Date: Mar 2009
Location: Dresden, Germany
Posts: 36
Downloads: 20
Uploads: 0
Thanks: 26
Thanked 22 Times in 8 Posts
Rep Power: 150
Stephan Seidel will become famous soon enough
Default

Thanks Tom and Lars-Olof for your comments.

I've found the cause why the DLL wasn't working.
The triggers code field was set to DLL and the DLL template code was correctly inserted. But then I've used the button left of the code button (no idea what the buttons name is but it shows an icon with a paper and lines on it and is between erase button and code button, maybe template button?) to edit the DLL's name and function's name. Then I clicked OK and the error persisted. When I checked the code of the trigger again its type was reset to Flexscript instead of DLL. So i played with it a bit and found that the code fields type is reset when the template window (i call it that way) is opened in ordner to change the DLL's name and function. In case the code field is used to change the DLL's name and function without opening the template window everything works perfectly well.
In addition the code type's locked checkbox does not make eny difference if checked or not.
Maybe somebody else can confirm that behavior as I would assume the template window should be used to change the DLL's name instead of the code field after its type has been set to DLL.
I'm not sure if this behaviour is intented or if this is a bug. Anyway, my DLL is now working as long as I do not touch the template window.

Cheers,
Stephan
__________________
---
You can't have it both ways.
  #203  
Old 08-10-2009
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

Yeah, that's a bug. Thanks for pointing it out. I'll add it to the Development List.


Thread Thread Starter Forum Replies Last Post
Can coordinated task sequence and "break to requirement" be used together? qin tian Q&A 1 05-26-2008 10:44 AM
error message "Clock overflow, running stopped" Martin Kooijman Q&A 11 04-17-2008 10:29 AM
about "no select" and "show parameter window from side bar" qin tian Gripes and Goodies 3 03-21-2008 08:10 AM
Which variable stores "Properties -> General ->Flags -> Protected" information? KelvinHo Q&A 1 03-06-2008 06:18 AM
"Getting Started" and "Tutorial" models for v4.01 Cliff King Product Announcements 0 12-10-2007 07:34 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.