VXI VT1538A user manual SENSeTOTalizeRESetMODE?, SOURceFMSTATe, Parameters, Comments

Page 67
[SENSe:]TOTalize:RESet:MODE?
Channel must specify a single channel.

is triggered.

If the channels specified are not on a Frequency/Totalize SCP, an error will be generated.

Related Commands: SENS:FUNC:TOT, INPUT:POLARITY

*RST Condition: SENS:TOT:RESET:MODE INIT

Send with VXIplug&play Function: hpe14XX_cmd(...)

Usage SENS:TOT:RESET:MODE TRIG,(@134)

totalizer at channel 34 resets at

 

each trigger event

[SENSe:]TOTalize:RESet:MODE?

[SENSe:]TOTalize:RESet:MODE? <channel> returns the reset mode for

the totalizer channel in <channel>.

Parameters

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

channel

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments

If the channel specified is not on a frequency/totalize SCP, an error will be generated.

Returned Value: returns INIT or TRIG. The type is string.

Send with VXIplug&play Function: hpe14XX_cmdString_Q(...)

SOURce:FM[:STATe]

SOURce:FM[:STATe] <enable>,(@<ch_list>) enables the Frequency

Modulated mode for a PULSe channel.

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

enable

boolean (uint16)

1 0 ON OFF

none

 

 

 

 

 

 

 

 

ch_list

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments This command is coupled with the SOURce:PULM:STATE command. If the FM state is ON then the PULM state is OFF. If the PULM state

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 63

Image 67
Contents VT1538A 82-0093-000 Release April 28 VXI Technology, Inc 2031 Main StreetIrvine, CA 949 ENHANCED FREQUENCY/TOTALIZE/ PWM SIGNAL CONDITIONING PLUG-ONVXI Technology, Inc Dynamic DAC Products INTRODUCTIONStatic DAC Products VXI Technology Lake Stevens Instrument Division SUPPORT RESOURCESVXI Technology World Headquarters VXI Technology Cleveland DivisionAgilent 75000 Series C User’s and SCPI Programming ManualSignal Conditioning Plug-on Agilent Technologies E1538A Enhanced Frequency/Totalize/PWMPage Agilent E1538A Enhanced Frequency/Totalize/PWM SCP About this ManualIntroduction Identifying the Plug-on IMPORTANT Configuring Input- Output direction Setting Configuration SwitchesConfiguring Channel Pull-up Resistor Connecting To The Terminal Module InstallationFigure 4. E1419A Option 11 Terminal Module Connections Recommended Signal Connections8 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Input and Output Characteristics VRS Mode Input Operation SCP channels 0 & 1 only Programming With SCPI Commands Checking the ID of the SCP Configuring the ChannelsConfiguring I/O Direction Setting the Input Threshold Levelreturns threshold value Determining the Input Threshold LevelTo set channels 40 through 43 to input digital states Reading Static Digital StateTotalize Positive or Negative Edge State Changes About Period and Frequency Measurements To measure frequency at channel 45 with aperture of 1 second For PERiod function, the E1538 spports two distinct measurement ranges To measure period at channel 45 as the average of 1000 signal periods chlist specifies the channels that will read pulse widths Sense Quadrature Position The value read by the algorithm can range from Example of Rotational Velocity Sense Controlling Output Polarity Programming Output ChannelsOutput Static Digital State Variable Width Pulse Per Trigger Figure 17. Output Pulse-Width-Modulated Signal Variable Width Pulse Train PWM26 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Variable Frequency Fixed Width Pulse Train FM Figure 19. Output Square Wave Variable Frequency FM Variable Frequency Square-Wave Pulse Train FM28 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Rotationally Positioned Pulse Output Rotational Pulse Command Usage Rotational Pulse Mode Variable Angular Position, Preset Pulse Width by angle32 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Variable Angular Position, Preset Pulse Width by timeExample of variable position, preset width Figure 21. Variable Position, Width Preset by AngleFigure 22. Variable Position, Width Preset by Time Variable Pulse Width by angle, Preset Angular Position34 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Example of variable width by angle, preset positionExample of variable width by time, preset position Variable Pulse Width by time, Preset Angular Position36 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP preset ch 46 pulse width to 10mspreset ch 47 pulse width to 15ms Figure 24. Fixed Position, Variable Width by TimeStepper Motor Control Use the command motor phase channel group can not be split across SCPs Figure 28. Half Step Mode, Full Speed, 4-Channel Figure 27. Full Step Mode, Full and Half Speed, 4-Channel40 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Figure 29. Directly Driving 4-Phase Stepper MotorsRST and *TST important Page SCPI Command ReferenceCommand Syntax For newerDiscussed Comments INPutPOLarityINPutPOLarity? ParametersINPutTHResholdLEVel level can be set to a resolution ofINPutTHResholdLEVel? generated OUTPutPOLarityOUTPutPOLarity? Send with VXIplug&play Function hpe14XXcmdReal64QRST Condition .001 sec Send with VXIplug&play Function hpe14XXcmd SENSeFREQuencyAPERtureSENSeFREQuencyAPERture? Related Commands SENSFREQAPERSENSeFREQuencyLIMitLOWer INIT Returned Value .01667 to 250, The type is float32 Related Commands INPutPOLaritySENSeFREQuencyLIMitLOWer? SENSeFUNCtionCONDitionSENSeFUNCtionPERiod SENSeFUNCtionFREQuencySENSeFUNCtionQUADrature SENSeFUNCtionPWIDthUsage See “Sense Quadrature Position” on page SENSeFUNCtionRVELocity54 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Usage See “Sense Rotational Velocity” on pageUsage See “Totalize Positive or Negative Edge State Changes” on page SENSeFUNCtionTOTalizeSENSePERiodAPERture SENSePERiodLIMitUPPer SENSePERiodAPERture?58 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP SENSePERiodMODE mode,@chlist selects the measurement SENSePERiodLIMitUPPer?SENSePERiodMODE RST Condition is “APERture”interval mode currently set for period measurement Related Commands SENSePERiodMODESENSePERiodMODE? SENSePERiodNPERiodsSENSePERiodRANGeUPPer SENSePERiodNPERiods?Send with VXIplug&play Function hpe14XXcmdInt32Q SENSePERiodRANGeUPPer? SENSeTOTalizeRESetMODERST Condition is Send with VXIplug&play Function hpe14XXcmd SOURceFMSTATe SENSeTOTalizeRESetMODE?Send with VXIplug&play Function hpe14XXcmdInt16Q SOURceFMSTATe?SOURceFUNCtionRPULse SOURceFUNCtionSHAPePULSe SOURceFUNCtionSHAPeCONDitionSOURceFUNCtionSTEPper SOURceFUNCtionSHAPeSQUareComments Send with VXIplug&play Function hpe14XXcmd Figure 31. Relationship of minvel, and maxvel Table 3. Stepping mode values68 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Usage See “Stepper Motor Control” on page SOURcePULMSTATeSOURcePULSePERiod SOURcePULMSTATe?SOURcePULSeWIDTh SOURcePULSePERiod?SOURceRPULsePOSitionANGLe SOURcePULSeWIDTh?33,554,430 to 33,554,430 SOURRPULseVARType SOURceRPULsePOSitionANGLe?Usage SOURceRPULseWIDThANGLe SOURRPULseVARType?74 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP SOURceRPULseWIDThTIME SOURceRPULseWIDThANGLe?00000787 to Usage SOURRPULSEWIDTTIME? @147 SOURceRPULseWIDThTIME?76 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Input Characteristics SpecificationsGeneral Specifications Output CharacteristicsFrequency Measurement 1 mSec to 1 Second, resolutionResolution Hz TotalizerPulse Source Rotational Velocity MeasurePulse Width Measure Frequency SourceExtra Tooth Wheel CharacteristicsRotational Pulse Source 80 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP