An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Submitted by pradnyak on Wed, 07/27/2011 - 16:23 Help me.. how to call VisSim module from .Net quick responses will be appreciated...
Submitted by Anders89 on Fri, 07/29/2011 - 00:02.
You can use system calls like CreateProcess and System.Diagnostics.Process to invoke the \vissim80\vissim32.exe executable. VisSim accepts command line arguments including .vsm file paths to load and run VisSim diagrams from the command line. This is described in the VisSim help file and User Guide under Customizing VisSim > Customizing VisSim Start Up.
By adding arguments to the VisSim start-up command, you can control such things as how VisSim starts up, the block diagram file opened at start-up, and whether VisSim immediately runs the opened diagram.
use CreateProcess from C/C++ or System.Diagnostics.Process constructor + System.Diagnostics.Process.Start for .net
c:>vissim32 -i -re -nb \programData\VisSim\mydiagram.vsm