06-14-2012 02:40 AM
Is it possible to add two-state contacts to Multisim and control them from LabVIEW in a boolean way?
attached example diagram.
Solved! Go to Solution.
06-14-2012 10:19 AM - edited 06-14-2012 10:20 AM
Hi,
I have attached a sample circuit with LabVIEW co-simulation. This circuit uses a voltage controlled switch. To control it from LabVIEW a connector is used that is taking in an input from the LabVIEW interface and the signal being generated is viewed using the graph utilities in LabVIEW. The input from LabVIEW controlling the switch is a toggle control.
The link provided will give you information about co-simulation requirements
http://www.ni.com/white-paper/13663/en
If you have any other questions please let me know.
06-15-2012 03:45 AM
Thanks, I knew that solution.
In the future, would be nice a more intuitive boolean way to control switches from labview to validate functional DC schemes.
Thank you very much.
08-17-2012 06:51 AM
Dear sir/madam
i m beginner for cosimulation of multisim with labview.... i started with example summer which is available in help.i can do succesfully till placing external library,while selecting multisim design through this external library to labview i m facing an error like"Configuration Error : Error-2367 occured at External Model.unavailable to load library" and sometimes it is giving "bad DLL image"..please
help me out....
Regrads
srividya
04-15-2014 01:29 AM
Mam,I have seen ur example..but it is not working.,when i processing the signal and giving feedback to multisim circuit in co-simulation design...please reply me soon..
04-15-2014 03:16 PM
Hello,
Are you getting specific errors? What is your LabVIEW and Multisim version? Do you have the Control Design and Simulation Module?
I recommend you to start with a basic example:
Introduction to Digital and Analog Co-simulation Between NI LabVIEW and NI Multisim
Best,
04-16-2014 12:06 AM
Hello,
Thanks for your reply. I have already tried it and it was working fine but when I try to process the multisim output signal and giving as input to the multisim (as a feedback) it is showing as bad wiring (errors). If I connect a control terminal it has no errors. So how could I resolve this problem. please help. I am using Multsim 13 and LabVIEW 2012.
Thanks & Regards,
Sitaramgupta
04-16-2014 09:09 AM
Hi,
I'd like to take a look of your schematic and VI (the one with the error). Please attach your files here.
Regards,
04-21-2014 07:15 AM
Hello,
Please find the attached LabVIEW and Multisim files. I have considered an example problem and modifed to understand. I want to control the output as my setpoint using controller. I took simple P controller in this case. The output of the multisim signal is connected to -ve terminal of subtractor (as a feedback) and required (setvalue) to +ve. If I dont connect the multisim signal it is perfectly fine. But when I connect the mutlsim output signal the VI connections are showing broken arrow.
04-21-2014 07:27 AM
The circuit is not correct for operation. But I am looking for error when I give as a feedback signal. If I remove the feedback and connect with some control terminal. It has no error. I am working on specific example where I need to process the output signal and give as feedback for controlling, which I couldnt able to do it.
Thanks & Regards,
V Sitaramgupta