Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2-output instrument into Multisim

Hi, buddys!

 

I'm trying to bring two waveforms into Multisim by means of project provided by Patrick Noonan here:

http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/Create-a-LabVIEW-Based-Virtual-Instrument-for-...

 

I added in Patrick's Simple Output Instrument.vit another waveform and connected it to one more terminal added. The project builds and the new instrument adds to Multisim just fine.

 

The thing is that only one waveform is "working" while the other one (another output) is always zero in multisim. Though both are non-zero in correspondance with front panel.

 

How to make one more waveform "work"?

 

LabVIEW 2012

Multisim 12.0

0 Kudos
Message 1 of 12
(6,740 Views)

Hi JungleBoy,

 

If you modified LabVIEW code from Pat's example, can you post your code?

 

Tien P.

National Instruments
0 Kudos
Message 2 of 12
(6,684 Views)

Hi, Tien.

 

Give me couple of days. I will post the code.

 

Thanks!

0 Kudos
Message 3 of 12
(6,675 Views)

Here they are (what is modified):

 

MSim instrument.jpg

 

To the forum - MultiSim info.jpg

 

To the forum - Simple Output Instrument dot vit.jpg

 

To the forum - Simple Sine Waveform dot vi.jpg

 

 

0 Kudos
Message 4 of 12
(6,671 Views)
For the waveforms you need to combine into a single (1D) array of waveforms (wfm data) sine will be at index 0 and cosine will be at index 1. If you split and display that is fine but they need to be combined into the cluster for Multisim to process.

All the other VIs appear fine. Please try and let us know the result.

Regards,
Pat N
0 Kudos
Message 5 of 12
(6,648 Views)

To the forum - Simple Output Instrument dot vit - correction.jpg

Thanks!

 

You mean here one more waveform to combine?

0 Kudos
Message 6 of 12
(6,640 Views)

Yes - see below...

 

You combine single element wfms into a 1D array (if you have 3, you'd combine 3 and so on).   This gets placed into the 'wfm data' element of the communication cluster and the cluster gets sent to Multisim via the Notifier VI.

 

      LabVIEW wfm into Multisim.JPG   

Regards,

Pat N

0 Kudos
Message 7 of 12
(6,631 Views)

Thanks! Will try it out ASAP and report the result.

0 Kudos
Message 8 of 12
(6,622 Views)

Did that.

 

Still, NO signal on the second wire.

 

What's to be changed?

0 Kudos
Message 9 of 12
(6,571 Views)

Anyone?

0 Kudos
Message 10 of 12
(6,517 Views)