API Command Reference Appendix A
A-20 NetScan Users Manual
EXAMPLE
PRINT#1, F0,0X
Set Data Format to Engineering Units, degrees C
PRINT#1, *CX
Clear current channel configuration
PRINT#1,"C1,1,-100.0, 100.0, 0.5"
Configure channel for T/C type J with low setpoint of -
100.0 °C, high setpoint of 100.0 °C and hysteresis of
0.5 °C
PRINT#1,"C33-34,11"
Configure channels 33 and 34 for Volts type (100 mV
range) and no setpoints
PRINT#1,"C65,2"
Configure channel 65 for T/C type K with no setpoints
PRINT#1,"X"
Execute the above configuration (The unit is now
scanning the above configuration)
PRINT#1,"U13X"
Get the last readings of configured channels
LINE INPUT#1,A$
Retrieve response
PRINT A$
Screen shows
+0034.40
-0103.00
+0012.30
+0004.60
C# - Select Card
TYPE
Calibration
EXECUTION
Immediate
SYNTAX
C#card
Select the card from which subsequent QC? and U12 interrogation will
retrieve information.
Without optional Relay Card
Valid options for card are: 0 - Selects the chassis; 1, 2, 3, or 4 - Selects the
card in corresponding slot of the main unit (with 1 being the bottom slot);
and 5, 6, 7, or 8 - Selects the corresponding slot on the expansion chassis
(with slot 5 being the bottom slot of the expansion chassis.
With optional Relay Card Installed (installs in slot 1)
Valid options for card are: 0 - Selects the chassis; 1 selects card in slot 2,
2 selects card in slot 3; and so on, with 7 selecting the card in slot 8; and
no card 8 available.
DESCRIPTION
Using the Select Card (C#) command, selecting a number from the range 1-8 for t he parameter card will
cause subsequent QC? commands to return the calibration factors of t he c ards by themselves. To return the
calibration factors of the cards as part of the system, selec t a number from the range 101-108.
EXAMPLE
PRINT#1, C#0X
Select chassis
PRINT#1, QC?X
Read chassis calibration factors
LINE INPUT#1, A$
PRINT A$
PRINT#1, C#5X
Select the card #5
PRINT#1, U12X
Read back the time/date that card #5 was last calibrated
LINE INPUT#1, A$
PRINT A$
PRINT#1, C#105X
Select the card #5 in order to read back the calibration factors
as part of the system
PRINT#1, QC?X
Read back the system calibration factors of card #5
LINE INPUT#1, A$
PRINT A$
Note: In the above example an expansion chassis is being used, thereby allowing an additional 4 card slots.
Note: Card #5 will typically be located in slot #5; however, if the optional relay card is used, card #5 will be located in
slot #6 and signal conditioning card use is limited to 7 cards (instead of 8).