.

Scope

Overview

Overview

The Scope block outputs send the value on the scope input to the user buffer. Use the scope to write data to servo sample the memory that is accessible by your program. The Scope block automatically obtains its own number that corresponds to the user buffer index. For instance, Scope 3 writes its value to User Buffer[3].

Example

The following example demonstrates how to use the Scope blocks at the Noise Input and PID Filter. By finding the system response from Scope0 to Scope1 results in the frequency response of your servo loop.

The Scope blocks are used in this example to write the Noise and PID Outputs to the user buffer. The Bode tool uses UserBuffer0 and UserBuffer1 to determine the frequency response of the servo loop.

 

Matlab/Simulink

Simulink Interface

1

The Scope block output sends the value on the input to the user buffer. The Scope’s number defined in the block name is used to determine the user buffer index to be written to. For example when the name of the Scope block is Scope 3, the scope will write its value to User Buffer[3]. The value placed in the user buffer will be data type double (64-bit).

C++ API

ScopeBlock

Declaration

Public Method

 
class SCOPEBlock: public virtual Block
{
public:
	// User accessible coefficients
};  
 

Required Header: mechaware.h

Description

The Scope block is used to redirect output to the user buffer. This block has no configurable parameters.

Methods

Block Methods

See Also

Memory
Torque Output
Noise Generator MemoryOut
Actual Position Memory Out User Buffer
Command Position Scope
Position Error Feedback
Memory User Buffer Reset Status
Command Acceleration Test In
Command Velocity Test Out

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2012 Motion Engineering