Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Extend Osc Buffer or Save output to file

I am trying to save the output of a circuit to a file. I am using hte oscilloscope's save feature. The problem is that it resets it's internal buffer after a while so I only get about 0.5 seconds of data.

 

I am trying to determine the audio output of a circuit. I use a piecewise linear input of a converted wave file(from matlab) and then use the scopes save feature then convert it back to wav in matlab. This is a very annoying sequence to go through just to get some output.

 

NI needs to add a wave in and wave out instrument(how hard could it be?) Or even an instrument that can read multiple types of files and will input them or save them(capture and save to wav, txt, or whatever).

 

 

0 Kudos
Message 1 of 9
(3,881 Views)

Hi,

 

You can export the scope data to an Excell file and to do this select View>>Grapher>>Tools>>Export to Excell.

Tien P.

National Instruments
0 Kudos
Message 2 of 9
(3,862 Views)

The problem is that the scope data resets aftera about 1/2 a second of simulation. Hence if I let the simulator run to capture all the data and try to save it I'll only get at most the last 1/2 second.

 

0 Kudos
Message 3 of 9
(3,851 Views)

Select Options>>Global Preferences>>Save, increase the memory size in the "maximum size"  field.

Tien P.

National Instruments
0 Kudos
Message 4 of 9
(3,811 Views)

This has no effect on the scope buffer. I set it to 300M and 1M and they both get "reset" at 0.6s.  The memory used was 30M and did not increase after it was reset.

 

The scope resets by restarting from the far left as if you just started up the sim. It does it always at 0.63s regardless of the time scale(so even if it's just using 1/10 of the scope's window it will reset). Saving the file after a reset doesn't retain the previous data.

 

A memory buffer option needs to be added for the scope(as it should be independent of the "save buffer"). I'm guessing it is hard coded to 30M.

 

The transient analysis simulation does not have the problem.

 

0 Kudos
Message 5 of 9
(3,796 Views)

Hi,

 

I apologize but there is one setting I forgot about, select Simulate>>Interactive Simulation Settings>>Analysis Options select the "Continue without discard previous plots".

Tien P.

National Instruments
0 Kudos
Message 6 of 9
(3,778 Views)

Nope, didn't change anything...

0 Kudos
Message 7 of 9
(3,766 Views)

Same trouble here.

 

I can playback only what's in the scope screen, regardless of the settings mentioned prior in this thread.

0 Kudos
Message 8 of 9
(3,353 Views)

My Bad.

 

If I let the scope just run, it will play whatever length I let it run for.

0 Kudos
Message 9 of 9
(3,349 Views)