SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Why the created signal is greater?

Hi,

 

A curiosity. I have noticed that when I create a signal using the step Create Analog Signal during a certain time, the signal logged (created) is greater that the time I recorded. Why does this happen? I noticed that the amount of sample is realy large, making the size data very heavy. Is it possible set the SignalExpress to record the exact time of simulation?
Thank you.

0 Kudos
Message 1 of 2
(5,460 Views)

The Create Analog Signal step, but itself, has no timing restraints, other than a throttle to keep it from consuming all the CPU time. It takes the same amount of time to generate a 2000 point sine wave with dt=1µs as it does to create one with dt=1hour.  This is what you want for efficient signal handling.  If you use that signal in a hardware generation device, the hardware device will clock it out at the correct rate.  This does create an interesting issue for simulation, however.

 

If you set a project to run for five seconds, and use the Create Analog Signal step to generate a starting signal with no hardware steps, you are almost guaranteed to get the wrong number of iterations, since the signal generation is occurring as fast as the computer can make it.  Instead, you should set the project to run a set of number of iterations, based on the total time you want, and the number of points and dt of the waveform you are generating.  This will give you the proper number of points.

 

Let us know if you need more help.

0 Kudos
Message 2 of 2
(5,443 Views)