beautypg.com

N - number of cycles, Cles…… 74 – Measurement Computing DAC488 v.1 User Manual

Page 80

background image

74 DAC488 Commands

DAC488 User’s Manual

N - Number of Cycles

TYPE

Port Command

SYNTAX

Nval

Specifies the number of cycles that will be output when a DAC port is in the

waveform mode, where

val

is a value between 0 and 65535;

val

= 0 will

cause the DAC port to output the buffer values continuously.

N?

Returns the number of cycles specified for use in the Waveform mode.

DESCRIPTION

The Number of Cycles command specifies how many times the values in a specified buffer will be output. For
example, if it is desired to output a waveform 3 times, the number of cycles would be 3.

Note:

The default value for n is 1, or 1 cycle.

EXAMPLE

PRINT#1,"CLEAR09"

Line 1: Reset the DAC488.

PRINT#1,"OUTPUT09;C3 P1 F0,2

G1 N30 L0 I2000 X"

Line 2: Select Waveform Control mode, select port 1, define a buffer

with the first location=0 and a size=2, enable port 1 to trigger on
GET, set number of cycles=30, set location pointer to 0 (first
location), set time interval between point to 2 seconds.

PRINT#1,"TRIGGER"

Line 3: Trigger the DAC488. The DAC488 will output the waveform

30 times then halt.

This manual is related to the following products: