04-21-2019 06:52 AM
Hi, it's my first message on the forum and my english is not very good, sorry.
I've created an Instrument in LabView to use in Multisim and , the idea is to adquire waveform data from my sound card in real time and then send this data to Multisim to use the osciloscope, multimeter etc so basicaly measure this signal with minimum delay, I've tried to use "adquire sound" function and other examples I found on the forum but it doesn't seems to work...it simply sends data to multisim one time slowly and after that the instrument doesn't update the new incoming waveform data so it stops , What I have on mind is to make a real time reaction instrument. do you have any example or tip to achieve that? I appreciate it very much. thanks!!! PD: Again, I'm so Sorry my English is really bad.
04-21-2019 10:59 AM
Attach your code! If it involves multiple VIs that you've created, or a LabVIEW Project, compress the folder holding your VIs and attach the resulting .ZIP file. There is a saying, "A Picture is Worth 1000 Words", and this remains true even if you don't speak English!
Have you looked at the Examples that ship with LabVIEW? On the Help tab, choose Find Examples, look under Hardware Input and Output, and look under Sound. Try them out and adapt them to your needs.
Note that you do not want to change the Examples -- rather once they are open, go to the File Menu and click "Save As", "Substitute copy for original", and save to your Desktop or in your LabVIEW Data folder in My Documents. Now you can safely open and play with your own copy (and if you mess it up, the Original Example is still there).
Bob Schor
04-21-2019 10:27 PM
Thanks for your time Bob, I send you a rar with the proyect and, inside the folder, I included the VI that I used in the proyect, it's a VI that I downloaded from this forum called "Sound Adquire Signal" and in fact it works very weel in LabView but it doesn't work on multisim, something is wrong in the update loop? As the data seems to be freezed at certain moment just few seconds and then nothing more is sended to the multisim output pins.
PD: That VI called "Sound Adquire Signal" uses internally the basic LabView sound input functions and as I said before, is included in the rar.
04-21-2019 10:38 PM - edited 04-21-2019 10:49 PM
Osciloscope Project.
04-22-2019 09:58 AM
Thank you for providing the LabVIEW code. Unfortunately, I am unable to provide much direct help as I have very little experience with MultiSim (I used it briefly several years ago, and do not have it currently installed on my computer). I did find, however, a link to Tutorials that may provide some assistance to you: How to Use Multisim Live.
Bob Schor
04-22-2019 11:32 AM
Thank you bob. I'll see the tutorials, may be I'm skipping some extra action on the loop where the data is taken and exported to multisim. By the way, If I get this proyect to work on real time, I'll post the solution on this board.