Fluke PM6685, PM6681R Retrieve a Macro, GMC? Get Macro Contents Query, LMC? Learn Macro Query

Models: PM6685 PM6685R PM6681 PM6681R

1 276
Download 276 pages 1.51 Kb
Page 35
Image 35

Introduction to SCPI

Retrieve a Macro

￿*GMC? Get Macro Contents Query

This query gives a response containing the definition of the macro you specified when sending the query.

Example using the above defined macro:

SEND→ *GMC?￿‘LIMITMON’

READ#292:CALC:STAT ON;:CALC:LIM:STAT ON; :CALC:LIM:LOW:DATA $1;STAT￿ON; :CALC:LIM:UPP:DATA $2;STAT￿ON’

￿*LMC? Learn Macro Query

This query gives a response containing the labels of all the macros stored in the Timer/Counter.

Example:

SEND→ *LMC?

READ“MYINPSETTING”,"LIMITMON

"

Now there are two macros in memory, and they have the following labels: “MYINPSETTING” and “LIMITMON”.

Macros 3-15

Page 35
Image 35
Fluke PM6681R, PM6685R manual Retrieve a Macro, GMC? Get Macro Contents Query, LMC? Learn Macro Query