How do I create an MSVC 2008 C++ project to make a custom VisSim block?

Send to friendSend to friend

I want to add a custom block that I write in C/C++ into the VisSim menu that can be used in a VisSim diagram just like all the other blocks. I want VisSim to send the wired input data to my block, have my block execute my C code and pass the results back into the VisSim workspace via output wires. I see that your DLL interface allows this. How do I create an MSVC 2008 C++ project to make a custom VisSim block?

Simple, just use our MSVC project wizard

Do the following:
1) Start MSVC
2) Select File > New > Project
3) In the left-hand pane click project type: "Visual C++", in the right-hand pane click VisSim Add-on DLL Wizard
4) Give your project a nondefault name if you like then click OK
5) Answer the Wizard's questions and a project will be created at the end. Use of the wizard is documented in detail in the VisSim on-line help.

I see no VisSim addon Wizard!

Step 1, 2, worked, step 3, there is no VisSim addon dll wizard in the right hand pane, any suggestions?

Ric

You must install VisSim AFTER you install MSVC.

If you already installed VisSim before MSVC, no worries, just reinstall VisSim. It will update necessary files and install the MSVC wizard. If you have a trial, do not uninstall VisSim as that will terminate the trial.