Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI Elvis in Multisim

Hi,
 
I am working with Multisim 9 using an Elvis Schematic and I have the NI Elvis device. I built a real circuit in Elvis protoboarding and the same virtually in multisim Elvis Schematic. And I want in the next step, make a software in LabView to adquire the simulation in Multisim once I already make a software to adquire the real simulation in Elvis device.
May someone help me? Have a manual to explain that?
 
Thanks
 
0 Kudos
Message 1 of 10
(13,061 Views)
Here is a LabVIEW 8.20 VI I use to load simulation data from Multisim and compare them to aquired data from NI ELVIS.
 
Steps to use the VI
  1. Export your simulation data from Multisim as *.lvm file (e.g. you can click the save button on the scope or use File > Save As in the Grapher)
  2. Open the VI
  3. Setup NI DAQmx task ( for details view Creating a Task in NI-DAQmx and Using it in LabVIEW )
  4. Select your LVM file that has the exported Multisim data
  5. Run the VI
  6. Explore results
    1. Blue - aquired data
    2. Green - simulation data
    3. Red - DIfference between aquired and simulated data
 
You might also like to try the evaluation version of NI Signal Express. NI Signal Express is build on NI LabVIEW and doesn't require any programing, everything is interactive and configuration based. NI SignalExpress offeres steps to load LVM data as well as SPICE data exported by Multisim as well as steps for communicating with NI ELVIS.
 
 

Message Edited by I.Knoblich on 01-10-2007 02:53 PM

Message Edited by I.Knoblich on 01-10-2007 02:58 PM

Regards
Ingo Foldvari
Area Sales Manager - US West Academic
National Instruments
Message 2 of 10
(13,050 Views)

hello Knoblich,

I have problem with your file, because I am using a older version of Labview (8.0). May you send me the same file, but for labview 8? Please

Thanks

0 Kudos
Message 3 of 10
(13,037 Views)
Here is the VI saved as NI LabVIEW 8.0
Let me know how it works.
 
 
Regards
Ingo Foldvari
Area Sales Manager - US West Academic
National Instruments
Message 4 of 10
(13,030 Views)

Hello Ingo,

Well have some problems in the file, first miss a vi (WDT Index Channel DBL.vi) and after when I run have a error:

Error -20315 occurred at NI_MABase.lvlib:ma_Check Waveform Timing.vi  (waveform index 1 of 2)

Possible reason(s):

Analysis:  The waveform dt parameter is <= 0.

Maybe because the missed vi.

But if I understood this application is for every kind of simulation in multisim. isnt? So, I am trying to use the ELVIS schematic is different, that means, is that different or not? Thats the point I was looking for read something about it, but is completly difficult to find. Can you help me in this point?

0 Kudos
Message 5 of 10
(13,022 Views)

Sorry...

The files are working perfectly... but the question about the ELVIS schematic is the same!!!

thanks

0 Kudos
Message 6 of 10
(13,018 Views)
Can you be a bit more specific on what questions you have regarding the NI ELVIS schematic in NI Multisim?
 
Please also view the following articles as they will give you more insight in using NI ELVIS and NI Multisim:
 
 
 
Regards
Ingo Foldvari
Area Sales Manager - US West Academic
National Instruments
Message 7 of 10
(13,001 Views)

Thanks, your link was great, I just want to understand the begging at the begin..haha

About your program, thats working perfect, but some times the align vi is not align the waves, and sometimes I want to compare two different waves one after other, the first one work out, but the second when I compare we have a error (dt<=0), can u help me again?

thanks a lot

0 Kudos
Message 8 of 10
(12,967 Views)
This simple VI was not meant to be more than a demonstration example.
In general a (dt<=0) Error will be generated if one of the two signals doesn't have a correct timing information.
You can improve alignment if you use the trigger options for your real measurement, e.g. the NI Multisim FunctionGenerator always starts from -1 Volt but a non-triggered dataaquisition doesn't. If you set trigger options for your DAQ-device to voltage level -1V it will work better.
 
Please use our online KnowledgeBase or your local support for version questions regarding NI LabVIEW programing.
 
 
Regards
Ingo Foldvari
Area Sales Manager - US West Academic
National Instruments
Message 9 of 10
(12,964 Views)
Ok, thanks very much!
 
But now I am having another problem. I am trying to use the Digital output of ELVIS Schematic. How can I do that?
 
thanks!!
 
0 Kudos
Message 10 of 10
(12,926 Views)