UserObject:. Agilent Technologies VEE Pro


Add to my manuals
602 Pages

advertisement

UserObject:. Agilent Technologies VEE Pro | Manualzz

Appendix

520

Figure 292 The NoiseGen UserObject

Key Points

UserObject:

Notice that the UserObjects you build are essentially customized objects that you add to VEE.

Build Waveform:

This object creates a Waveform data type from a Real array of amplitude values and a time span (the length of time in seconds over which the y data was sampled).

VEE User’s Guide

Appendix

Agilent VEE UserFunctions

Using UserFunctions

UserFunctions, Step 1

Create a function called NoiseGen that accepts an amplitude value (0- 1) from a slider and returns a noisy waveform.

Do Not Use

Virtual Source

For Count

For Range

Do Use

Formula

Ramp

Build Waveform

Hint: Use randomize(array, -a,a) where the array must be 256 points, and a is the amplitude. Build a simple main program that calls this function to be certain the function works correctly.

Solution—UserFunctions, Step 1

Figure 293 shows a solution for step 1.

VEE User’s Guide 521

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents