VXI VT1538A user manual Scpi Command Reference, Command Syntax For newer Units only

Page 46

SCPI Command Reference

Most of the E1538’s commands were available since its introduction. A small number of commands are only available with E1538’s built after February 1998. The following table indicates these new commands with an X in the "for newer units only" column. See "Identifying the Plug-on" on page 5

Table 2.

 

 

 

 

 

 

Command Syntax

For newer

Page

 

 

 

units only

Discussed

 

 

 

 

 

 

 

INPut:POLarity NORM INV,(@<ch_list>)

 

44

 

 

INPut:POLarity? (@<ch_list>)

 

44

 

 

INPut:THReshold[:LEVel] <level>,(@<ch_list>)

 

45

 

 

INPut:THReshold[:LEVel]? (@<channel>)

 

45

 

 

[SENSe:]FUNCtion:CONDition (@<ch_list>)

 

50

 

 

[SENSe:]FUNCtion:FREQuency (@<ch_list>)

 

51

 

 

SENSe:FREQuency:APERture <time>,(@<ch_list>)

 

47

 

 

SENSe:FREQuency:APERture? (@<channel>)

 

48

 

 

SENSe:FREQuency:LIMit:LOWer <freq_limit>,(@<ch_list>)

X

48

 

 

SENSe:FREQuency:LIMit:LOWer? (@<channel>)

X

50

 

 

[SENSe:]FUNCtion:PERiod (@<ch_list>)

X

51

 

 

SENSe:PERiod:APERture <time>,(@<ch_list>)

X

56

 

 

SENSe:PERiod:APERture? (@<channel>)

X

57

 

 

SENSe:PERiod:LIMit:UPPer <per_limit>,(@<ch_list>)

X

57

 

 

SENSe:PERiod:LIMit:UPPer? (@<channel>)

X

59

 

 

SENSe:PERiod:MODE APERture NPERiods,(@<ch_list>)

X

59

 

 

SENSe:PERiod:MODE? (@<channel>)

X

60

 

 

SENSe:PERiod:NPERiods <count>,(@<ch_list>)

X

60

 

 

SENSe:PERiod:NPERiods? (@<channel>)

X

61

 

 

SENSe:PERiod:RANGe[:UPPer] <count>,(@<ch_list>)

X

61

 

 

SENSe:PERiod:RANGe[:UPPer]? (@<channel>)

X

62

 

 

[SENSe:]FUNCtion:PWIDth <avg_count>,(@<ch_list>)

 

52

 

 

[SENSe:]FUNCtion:QUADrature [<preset_count>,](@<ch_list>)

 

52

 

 

[SENSe:]FUNCtion:RVELocity <n_teeth>,<index_type>,(@<ch_list>)

 

53

 

 

[SENSe:]FUNCtion:TOTalize (@<ch_list>)

 

55

 

 

[SENSe:]TOTalize:RESet:MODE INIT TRIG,(@<ch_list>)

 

62

 

 

 

 

 

 

 

 

 

 

 

42 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP

Image 46
Contents VT1538A VXI Technology, Inc Introduction Support Resources User’s and Scpi Programming Manual Page Agilent E1538A Enhanced Frequency/Totalize/PWM SCP About this ManualIntroduction Identifying the Plug-on Important Setting Configuration Switches Switch Location and Example SettingsInstallation Connecting To The Terminal ModuleRecommended Signal Connections E1419A Option 11 Terminal Module ConnectionsInput and Output Characteristics Recommended Connections and Voltage LimitsVRS Mode Input Operation SCP Channels 0 & 1 only E1538A Input/Output CharacteristicsProgramming With Scpi Commands Shows the VRS mode input characteristicsConfiguring I/O Direction Setting the Input Threshold LevelDetermining the Input Threshold Level Inppol NormReading Static Digital State To set channels 40 through 43 to input digital statesTotalize Positive or Negative Edge State Changes Init SENSDATACVT? @44About Period Frequency Measurements SENSDATACVT? @45 SENSDATACVT? @45 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Sense Quadrature Position Sensfuncquad 0,@148,149RPS Example of Rotational Velocity Sense Sense Rotational VelocityControlling Output Polarity Output Static Digital StateVariable 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 Example of variable position, preset width RST Sensfuncrvel 12,MISS,@140Variable Position, Width Preset by Time Example of variable width by angle, preset position Example of variable width by time, preset position Fixed Position, Variable Width by AngleALGSCALAR’ALG1’,’Width2’,.010 Stepper Motor Control Use the command Stepping mode valuesSensfuncvolt @100 Full Step Mode, Full and Half Speed, 4-Channel Page RST and *TST important Scpi Command Reference Command Syntax For newer Units onlyCommand Syntax For newer Units only Discussed Parameters INPutPOLarityINPutPOLarity? CommentsINPutTHResholdLEVel Level can be set to a resolutionINPutTHResholdLEVel? OUTPutPOLarity? OUTPutPOLaritySend with VXIplug&play Function hpe14XXcmdReal64Q SENSeFREQuencyAPERture SENSeFREQuencyAPERture? Related Commands SensfreqaperSENSeFREQuencyLIMitLOWer Init SENSeFREQuencyLIMitLOWer? Related Commands INPutPOLaritySENSeFUNCtionCONDition SENSeFUNCtionFREQuency SENSeFUNCtionPERiodSENSeFUNCtionPWIDth SENSeFUNCtionQUADratureSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodAPERture? SENSePERiodLIMitUPPerInit SENSePERiodLIMitUPPer? SENSePERiodMODESENSePERiodMODE? Related Commands SENSePERiodMODESENSePERiodNPERiods SENSePERiodRANGeUPPer SENSePERiodNPERiods?Send with VXIplug&play Function hpe14XXcmdInt32Q SENSePERiodRANGeUPPer? SENSeTOTalizeRESetMODERST Condition is Send with VXIplug&play Function hpe14XXcmd SENSeTOTalizeRESetMODE? SOURceFMSTATeSOURceFMSTATe? Send with VXIplug&play Function hpe14XXcmdInt16QSOURceFUNCtionRPULse SOURceFUNCtionSHAPeCONDition SOURceFUNCtionSHAPePULSeSOURceFUNCtionSTEPper SOURceFUNCtionSHAPeSQUareComments Send with VXIplug&play Function hpe14XXcmd Relationship of minvel, and maxvel SOURcePULMSTATe Usage See Stepper Motor Control onSOURcePULMSTATe? SOURcePULSePERiodSOURcePULSePERiod? SOURcePULSeWIDThSOURceRPULsePOSitionANGLe SOURcePULSeWIDTh?33,554,430 to 33,554,430 SOURRPULseVARType SOURceRPULsePOSitionANGLe?Usage SOURRPULseVARType? SOURceRPULseWIDThANGLeSOURceRPULseWIDThTIME SOURceRPULseWIDThANGLe?00000787 to SOURceRPULseWIDThTIME? Specifications General SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source