Search found 11 matches
- Wed Aug 06, 2008 7:58 pm
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
Hi, Still the result is the same. I generally create just one variable and try and test my function. Could it be that the copy that i have is corrupt ? everything else works just fine.... I could understand if only my code did not work or the dll i create does not work but in this case the code and ...
- Wed Aug 06, 2008 1:36 am
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
- Wed Aug 06, 2008 1:32 am
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
Hi, I have tried to install vensim on another PC and I re-complied the dll and I ran the debugger I am posting the screenshot of the debugger. you can see that the values passed by vensim is 0.00000 for both the functions cosine() and inrange() The code and the visual project is the one which is pro...
- Mon Aug 04, 2008 7:47 pm
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
- Mon Aug 04, 2008 5:57 pm
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
- Mon Aug 04, 2008 5:45 pm
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
- Sat Aug 02, 2008 11:48 pm
- Forum: Vensim
- Topic: External Functions
- Replies: 10
- Views: 5553
External Functions
Hi, I am trying to build a dll using the venext.c however when I run the dll in vensim it does not pass double values. I write the value passed in a text file. every time a double is passed it write the value passed as 0.0000 but when I pass a literal/string it is passed properly. e.g if i pass cosi...
Thank you for your quick response. My confusion with regard to using JNI is that the call needs to be initiated by a java module. In my case it is being called from vensim external function which would be c++ ( through the DLL) then I would need to have observers which would notify the java program ...
DDE
Hi, I wanted to know if I can use DDE to exchange data from a java application. I have a small application which I built in java which implements few algorithms. I want vensim model to run the java application and get those values while the simulation is running. e.g I start the simulation, for some...
- Wed Jul 02, 2008 2:39 pm
- Forum: Vensim
- Topic: Pausing Vensim
- Replies: 3
- Views: 3046
- Wed Jul 02, 2008 7:07 am
- Forum: Vensim
- Topic: Pausing Vensim
- Replies: 3
- Views: 3046
Pausing Vensim
Hi I have a model in vensim which needs to reach out to another external model to compute a value. The External model would be built in c++ so it can be accessed using the DLL. Can we pause the simulation till the external function computes the value and sends it back to the vensim model. Flow of ev...