NI Home > Community > NI Discussion Forums

Circuit Design Suite

Showing results for 
Search instead for 
Do you mean 
Reply
Member
Dimon87
Posts: 66
0 Kudos

Multisim and Labview

Hi. I have two questions.
1. Can I open and run Multisim ciruits from labview?
2. Can I transfer data from Multisim to Labview without pressing the botton "save to measurement file"?

Thank You
Member
Gan.Wish
Posts: 21
0 Kudos

回复: Multisim and Labview

[ Edited ]
1,no(multisim can invoke Labivew Instrument)
2,no


帖子被semaphore在05-15-2008 10:31 PM时编辑过了
Active Participant
nestor
Posts: 672
0 Kudos

Re: Multisim and Labview

[ Edited ]

Hi Dimon,

Yes, Multisim 10 (and higher) exposes an automation API. If you are in LV just drop the Automation Open VI and when selecting the ActiveX class search for NI Circuit Design Suite Multisim... you will see two objects MultisimApp (controls the application) and MultisimCircuit (controls circuit operation).

If you know how to control ActiveX objects from LV then you will quickly see what methods and properties are available. The Multisim Automation API is intended for controlling simulation from outside Multisim (and send and receive data) and it is not intended to control the application itself like a Excel API would do for instance. Multisim will always run hidden in the background as a process, you will never see the application.

For the following update we are increasing (a lot) the number of methods and properties that you could control from LV (and CVI, TS, VC++, VB, etc.), just wait a couple of weeks and with the new update the documentation will include a good explanation of the API, the first that we exposed (v10) is basic and functional but we were in the process of making a more useful one.

So, as far as controlling Multisim from LV there's your answer. As far as passing data from Multisim to LV without saving a LVM file you could potentially do it using the API (only for a Transient analysis) or via a LV Instrument used inside the Multisim schematic. You would use the LV Instrument to perhaps open a Shared Variable or TCP, UDP or some sort of communication protocol to pass the data to another LV app. But this is an entirely user-customized program to be made.



Message Edited by nestor on 05-16-2008 09:47 AM
Nestor
National Instruments
Member
Dimon87
Posts: 66
0 Kudos

Re: Multisim and Labview

Do You have some information about ActiveX and Multisim? I have never used ActiveX.

Thank You.
Active Participant
nestor
Posts: 672
0 Kudos

Re: Multisim and Labview

You would really need to learn how to automate applications from within LV first. There are some examples in LV if you use the Example Finder, and tutorials on the web that you can search for... just search for ActiveX in the ni.com search box. Is not a trivial subject to discuss in a forum but rather programming concepts that you will need to train yourself in before attempting to automate Multisim.

The LV help should be your first stop. In the web you can start here.

Nestor
National Instruments
Member
Dimon87
Posts: 66
0 Kudos

Re: Multisim and Labview

I cannot open, it writes 404 file not found.
Member
Dimon87
Posts: 66
0 Kudos

Re: Multisim and Labview

Dear, Nestor, and others please help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!!!

I create the vi in Labview to communicate with Multisim throw ActiveX (Word file below )

Where I should set the circuit name?
What are input and output names?
And what should I do else?

Thank You All!
Member
Dimon87
Posts: 66
0 Kudos

Re: Multisim and Labview

Here th vi in LV 8.5
Knight of NI
Ray.R
Posts: 10,584
0 Kudos

Re: Multisim and Labview

Please try to use only 1 thread...
 
Try to continue here:
______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy: