VXI VT1538A user manual SOURcePULSePERiod?, SOURcePULSeWIDTh

Page 75

Usage SOUR:PULS:PER .005,(@140)

set PWM pulse train to 200 Hz

 

on channel 40

SOURce:PULSe:PERiod?

SOURce:PULSe:PERiod? (@<channel>) returns the fixed pulse period value on the pulse width modulated pulse channel in <channel>.

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

channel

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Returned Value: numeric period. The type is float32.

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

SOURce:PULSe:WIDTh

SOURce:PULSe:WIDTh <pulse_width>,(@<ch_list>) sets the fixed pulse width value on the frequency modulated pulse channels in <ch_list>.

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

pulse_width

numeric (float32)

7.87E-6 to 7.8125E-3

seconds

 

 

 

 

(238.4E-9 resolution)

 

 

 

 

 

 

 

 

 

ch_list

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

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

*RST Condition: SOUR:FM:STATE OFF and SOUR:PULM:STATE OFF

Related Commands: SOUR:PULM:STATE, SOUR:PULS:POLarity

The variable frequency control for this channel is provided by the algorithm language. When the algorithm executes an assignment statement to this channel, the value assigned will be the frequency setting. For example:

O143 = 2000 /* set channel 43 to 2KHz */

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 71

Image 75
Contents VT1538A VXI Technology, Inc Introduction Support Resources User’s and Scpi Programming Manual Page About this Manual Agilent E1538A Enhanced Frequency/Totalize/PWM SCPIntroduction Identifying the Plug-on Important Switch Location and Example Settings Setting Configuration SwitchesConnecting To The Terminal Module InstallationE1419A Option 11 Terminal Module Connections Recommended Signal ConnectionsRecommended Connections and Voltage Limits Input and Output CharacteristicsE1538A Input/Output Characteristics VRS Mode Input Operation SCP Channels 0 & 1 onlyShows the VRS mode input characteristics Programming With Scpi CommandsSetting the Input Threshold Level Configuring I/O DirectionInppol Norm Determining the Input Threshold LevelTo set channels 40 through 43 to input digital states Reading Static Digital StateInit SENSDATACVT? @44 Totalize Positive or Negative Edge State ChangesAbout Period Frequency Measurements SENSDATACVT? @45 SENSDATACVT? @45 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Sensfuncquad 0,@148,149 Sense Quadrature PositionRPS Sense Rotational Velocity Example of Rotational Velocity SenseOutput Static Digital State Controlling Output PolarityVariable Width Pulse Per Trigger Variable Width Pulse Train PWM Variable Frequency Fixed Width Pulse Train FM Variable Frequency Square-Wave Pulse Train Rotationally Positioned Pulse Output Rotational Pulse Command Usage Algupdate Init RST Sensfuncrvel 12,MISS,@140 Example of variable position, preset widthVariable Position, Width Preset by Time Example of variable width by angle, preset position Fixed Position, Variable Width by Angle Example of variable width by time, preset positionALGSCALAR’ALG1’,’Width2’,.010 Stepping mode values Stepper Motor Control Use the commandSensfuncvolt @100 Full Step Mode, Full and Half Speed, 4-Channel Page RST and *TST important Command Syntax For newer Units only Scpi Command ReferenceCommand Syntax For newer Units only Discussed Comments INPutPOLarityINPutPOLarity? ParametersLevel can be set to a resolution INPutTHResholdLEVelINPutTHResholdLEVel? OUTPutPOLarity OUTPutPOLarity?Send with VXIplug&play Function hpe14XXcmdReal64Q SENSeFREQuencyAPERture Related Commands Sensfreqaper SENSeFREQuencyAPERture?SENSeFREQuencyLIMitLOWer Init Related Commands INPutPOLarity SENSeFREQuencyLIMitLOWer?SENSeFUNCtionCONDition SENSeFUNCtionPERiod SENSeFUNCtionFREQuencySENSeFUNCtionQUADrature SENSeFUNCtionPWIDthSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodLIMitUPPer SENSePERiodAPERture?Init SENSePERiodMODE SENSePERiodLIMitUPPer?Related Commands SENSePERiodMODE SENSePERiodMODE?SENSePERiodNPERiods SENSePERiodNPERiods? SENSePERiodRANGeUPPerSend with VXIplug&play Function hpe14XXcmdInt32Q SENSeTOTalizeRESetMODE SENSePERiodRANGeUPPer?RST Condition is Send with VXIplug&play Function hpe14XXcmd SOURceFMSTATe SENSeTOTalizeRESetMODE?Send with VXIplug&play Function hpe14XXcmdInt16Q SOURceFMSTATe?SOURceFUNCtionRPULse SOURceFUNCtionSHAPePULSe SOURceFUNCtionSHAPeCONDitionSOURceFUNCtionSHAPeSQUare SOURceFUNCtionSTEPperComments Send with VXIplug&play Function hpe14XXcmd Relationship of minvel, and maxvel Usage See Stepper Motor Control on SOURcePULMSTATeSOURcePULSePERiod SOURcePULMSTATe?SOURcePULSeWIDTh SOURcePULSePERiod?SOURcePULSeWIDTh? SOURceRPULsePOSitionANGLe33,554,430 to 33,554,430 SOURceRPULsePOSitionANGLe? SOURRPULseVARTypeUsage SOURceRPULseWIDThANGLe SOURRPULseVARType?SOURceRPULseWIDThANGLe? SOURceRPULseWIDThTIME00000787 to SOURceRPULseWIDThTIME? General Specifications SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source