Analog Expanders
Table Name: GXT_ANALOGEXPANDERS_TBL
List
Request a list of analog expanders.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_ANALOGEXPANDERS_TBL
-
Response:
Copy1=Analog Expander 1&2=Analog Expander 2
Detail
Request the details of a specific analog expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_ANALOGEXPANDERS_TBL&RecId=<RecId>
-
Response:
CopyAnalogExpanderId=1&Name=Analog Expander 1&PollTime=250&InvertDeviceTamper=false&VirtualModule=false&EnableChannel=false&ChannelUses020mAInputDisbledUses010V=false&PresetDACOutputPowerUp=false&PresetTo100PercentDisabledPresetTo0=false&SendADCValueInDiffMode=false&LogChannelData=false&EnableChannel1=false&ChannelUses020mAInputDisbledUses010V1=false&PresetDACOutputPowerUp1=false&PresetTo100PercentDisabledPresetTo1=false&SendADCValueInDiffMode1=false&LogChannelData1=false&EnableChannel2=false&ChannelUses020mAInputDisbledUses010V2=false&PresetDACOutputPowerUp2=false&PresetTo100PercentDisabledPresetTo2=false&SendADCValueInDiffMode2=false&LogChannelData2=false&EnableChannel3=false&ChannelUses020mAInputDisbledUses010V3=false&PresetDACOutputPowerUp3=false&PresetTo100PercentDisabledPresetTo3=false&SendADCValueInDiffMode3=false&LogChannelData3=false&Channel1UpdateTime=0&Channel2UpdateTime=0&Channel3UpdateTime=0&Channel4UpdateTime=0&Channel1DiffComparisonValue=0&Channel2DiffComparisonValue=0&Channel3DiffComparisonValue=0&Channel4DiffComparisonValue=0&PhysicalAddress=0&Channel1DataVariable=2147483647&Channel2DataVariable=2147483647&Channel3DataVariable=2147483647&Channel4DataVariable=2147483647&Commands=
Update
Update a specific analog expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_ANALOGEXPANDERS_TBL&AnalogExpanderId=1&Name=PSU1
-
Response:
CopyOK
Create
Create an analog expander. To create an analog expander, use the same parameters as update but leave the AnalogExpanderId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_ANALOGEXPANDERS_TBL&AnalogExpanderId=&Name=Analog Expander 1&PollTime=250&InvertDeviceTamper=false&VirtualModule=false&EnableChannel=false&ChannelUses020mAInputDisbledUses010V=false&PresetDACOutputPowerUp=false&PresetTo100PercentDisabledPresetTo0=false&SendADCValueInDiffMode=false&LogChannelData=false&EnableChannel1=false&ChannelUses020mAInputDisbledUses010V1=false&PresetDACOutputPowerUp1=false&PresetTo100PercentDisabledPresetTo1=false&SendADCValueInDiffMode1=false&LogChannelData1=false&EnableChannel2=false&ChannelUses020mAInputDisbledUses010V2=false&PresetDACOutputPowerUp2=false&PresetTo100PercentDisabledPresetTo2=false&SendADCValueInDiffMode2=false&LogChannelData2=false&EnableChannel3=false&ChannelUses020mAInputDisbledUses010V3=false&PresetDACOutputPowerUp3=false&PresetTo100PercentDisabledPresetTo3=false&SendADCValueInDiffMode3=false&LogChannelData3=false&Channel1UpdateTime=0&Channel2UpdateTime=0&Channel3UpdateTime=0&Channel4UpdateTime=0&Channel1DiffComparisonValue=0&Channel2DiffComparisonValue=0&Channel3DiffComparisonValue=0&Channel4DiffComparisonValue=0&PhysicalAddress=0&Channel1DataVariable=2147483647&Channel2DataVariable=2147483647&Channel3DataVariable=2147483647&Channel4DataVariable=2147483647&Commands=
-
Response:
CopyOK
When using the API to directly add records, please ensure the number of records added does not exceed the license limit for this record type, as this will result in undefined behavior. The license limit can be determined using the LicenseLimit request (see System).
Delete
Delete a specific analog expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_ANALOGEXPANDERS_TBL&RecId=<RecId>
-
Response:
CopyOK
Parameters
Parameter |
Display Name |
Default Value |
Notes |
||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AnalogExpanderId |
Database ID |
1 |
The Detail, Control and Delete APIs use this value as the RecId. |
||||||||||||||||||||||||||||||||||||||||||||
Name |
Name |
Analog Expander 1 |
|
||||||||||||||||||||||||||||||||||||||||||||
PollTime |
|
250 |
This is a legacy option that has no effect. |
||||||||||||||||||||||||||||||||||||||||||||
InvertDeviceTamper |
Invert Device Tamper |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
VirtualModule |
Virtual Module |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
EnableChannel |
Enable Channel (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
ChannelUses020mAInputDisbledUses010V |
Channel Uses 0-20mA Input (Disabled uses 0-10V) (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetDACOutputPowerUp |
Preset DAC Output Power Up (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetTo100PercentDisabledPresetTo0 |
Preset To 100 percent (Disabled Preset to 0) (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
SendADCValueInDiffMode |
Send ADC Value In Diff Mode (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
LogChannelData |
Log Channel Data (Channel 1) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
EnableChannel1 |
Enable Channel (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
ChannelUses020mAInputDisbledUses010V1 |
Channel Uses 0-20mA Input (Disabled uses 0-10V) (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetDACOutputPowerUp1 |
Preset DAC Output Power Up (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetTo100PercentDisabledPresetTo1 |
Preset To 100 percent (Disabled Preset to 0) (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
SendADCValueInDiffMode1 |
Send ADC Value In Diff Mode (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
LogChannelData1 |
Log Channel Data (Channel 2) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
EnableChannel2 |
Enable Channel (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
ChannelUses020mAInputDisbledUses010V2 |
Channel Uses 0-20mA Input (Disabled uses 0-10V) (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetDACOutputPowerUp2 |
Preset DAC Output Power Up (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetTo100PercentDisabledPresetTo2 |
Preset To 100 percent (Disabled Preset to 0) (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
SendADCValueInDiffMode2 |
Send ADC Value In Diff Mode (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
LogChannelData2 |
Log Channel Data (Channel 3) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
EnableChannel3 |
Enable Channel (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
ChannelUses020mAInputDisbledUses010V3 |
Channel Uses 0-20mA Input (Disabled uses 0-10V) (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetDACOutputPowerUp3 |
Preset DAC Output Power Up (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
PresetTo100PercentDisabledPresetTo3 |
Preset To 100 percent (Disabled Preset to 0) (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
SendADCValueInDiffMode3 |
Send ADC Value In Diff Mode (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
LogChannelData3 |
Log Channel Data (Channel 4) |
false |
|
||||||||||||||||||||||||||||||||||||||||||||
Channel1UpdateTime |
Channel 1 Update Time |
0 |
The settings are:
|
||||||||||||||||||||||||||||||||||||||||||||
Channel2UpdateTime |
Channel 2 Update Time |
0 |
See table above. |
||||||||||||||||||||||||||||||||||||||||||||
Channel3UpdateTime |
Channel 3 Update Time |
0 |
See table above. |
||||||||||||||||||||||||||||||||||||||||||||
Channel4UpdateTime |
Channel 4 Update Time |
0 |
See table above. |
||||||||||||||||||||||||||||||||||||||||||||
Channel1DiffComparisonValue |
Channel 1 Diff Comparison Value |
0 |
|
||||||||||||||||||||||||||||||||||||||||||||
Channel2DiffComparisonValue |
Channel 2 Diff Comparison Value |
0 |
|
||||||||||||||||||||||||||||||||||||||||||||
Channel3DiffComparisonValue |
Channel 3 Diff Comparison Value |
0 |
|
||||||||||||||||||||||||||||||||||||||||||||
Channel4DiffComparisonValue |
Channel 4 Diff Comparison Value |
0 |
|
||||||||||||||||||||||||||||||||||||||||||||
PhysicalAddress |
Physical Address |
0 |
|
||||||||||||||||||||||||||||||||||||||||||||
Channel1DataVariable |
|
2147483647 |
This option is not used. |
||||||||||||||||||||||||||||||||||||||||||||
Channel2DataVariable |
|
2147483647 |
This option is not used. |
||||||||||||||||||||||||||||||||||||||||||||
Channel3DataVariable |
|
2147483647 |
This option is not used. |
||||||||||||||||||||||||||||||||||||||||||||
Channel4DataVariable |
|
2147483647 |
This option is not used. |
||||||||||||||||||||||||||||||||||||||||||||
Commands |
Commands |
|
|