Help document about external DLL and API source code
Answers
-
Submitted by Anders89 on Thu, 01/06/2011 - 10:06.
Both the help file that installs with VisSim and the VisSim user guide - VisSim_UGv70.pdf describe how to create your own custom block DLLs using MSVC. Look in the chapter titled 'Extending the block set'. This section covers the following information:
- Writing and building DLLs
- Using the DLL Wizard
- Calling conventions
- Event Codes
- Simulation functions
- Block functions
- Exported functions
- Debugging DLLs
- Accessing custom blocks
0 -
Submitted by Vindyashree.S B on Tue, 04/03/2012 - 10:28.
Hi, I am Vindyashree working for HCL Technologies Limited.I want to run the vissim model from eclipse.can we have supporting dlls which i can make use in java eclipse to extract the inputs,run the vissim model and update the outputs.Any reply in this regard would be useful.
Thanks & Regards, Vindyashree. S B
0 -
Submitted by Anders89 on Tue, 04/03/2012 - 10:40.
Vindy, The easiest way to get data into VisSim is to just use a data file. Use an import block to read the data file and an export block to write the resulting data file. What is your application?
0 -
Submitted by Vindyashree.S B on Tue, 04/03/2012 - 10:44.
We have EJS commands to matlab model from java. Similar way i wanted for Vissim.
0 -
Submitted by Vindyashree.S B on Tue, 04/03/2012 - 11:04.
I would like to tell you in brief that what we are doing now and what we need to do in our application.
• We are controlling the execution of Matlab/Simulink model from java in Eclipse using Ejs commands. • We wanted to replace that Matlab/simulink execution by vissim execution. • Do we have any supporting commands similar to ejs commands in order to interface vissim from java side.
0 -
Submitted by aref karimi on Thu, 04/14/2016 - 02:09.
Hello i am aref karimi. i need a sample code c++ for external driver model and how implementation dll in vissim. kind regards
0