:html
<<
128.150
RNet-Object|RNet
--
<!RW>The IP-Object RNet controls of the programmable resistor card of the MCD-System.

The addresses <!RW>aChannel and / or <!RW>aRNetCard are loaded from the Address file.
>>

<<
128.150.1
Functions of the RNet-Object|Functions
--
>>
<<
128.150.1.1
RNet.Get|Get
--
<!DEF>
function <!TW>RNet.Get (aChannel : address) : real;
<!TXT>
Returns the current set resistance of the programmable resistor <!PW>aChannel.
>>
<<
128.150.1.2
RNet.Max|Max
--
<!DEF>
function <!TW>RNet.Max (aChannel : address) : real;
<!TXT>
Returns the maximum reistance of the programmable resistor <!PW>aChannel which can be set.
>>
<<
128.150.1.3
RNet.Resolution|Resolution
--
<!DEF>
function <!TW>RNet.Resolution (aChannel : address) : real;
<!TXT>
Returns the resolution of the programmable resistor <!PW>aChannel. (and thus the lowest resistance value, which can be set, except for 0 Ohm)
>>
<<
128.150.1.4
RNet.Output|Output
--
<!DEF>
function <!TW>RNet.Output (aRNetCard : address) : real;
<!TXT>
Returns a bit pattern, which reflects the status of the outputs of the programmable resistor card <!PW>aRNetCard.

<!STBL>
<!+>Result<!+>channels switched on<!>
<!c>0<!>none<!>
<!c>1<!>only channel 1<!>
<!c>2<!>only channel 2<!>
<!c>3<!>both channels<!>
<!ETBL>
>>
<<
128.150.2
Procedures of the RNet-Object|Procedures
--
>>

<<
128.150.2.1
RNet.Set|Set
--
<!DEF>
procedure <!TW>RNet.Set (aChannel : address; rValue : real);
<!TXT>
Sets the programmable resistor <!PW>aChannel to <!PW>rValue Ohm.
>>

<<
128.150.2.2
RNet.Output|Output
--
<!DEF>
procedure <!TW>RNet.Output (aRNetCard : address; rOn : real [; rChannelBits : real]);
<!TXT>
Switches the output of the programmable resistor card <!PW>aRNetCard depending on the status of <!PW>rOn. 

 <!PW>rOn can be : <!RW>OFF | <!RW>ON or 0..1. 

 <!PW>rChannelBits (0..3, Default 3) is analysed as follows:
<!STBL>
<!+>rChannelBits<!+>Effect<!>
<!c>0<!>no action <!>
<!c>1<!>only channel 1 is switched<!>
<!c>2<!>only channel 2 is switched<!>
<!c>3<!>both channels are switched (default)<!>
<!ETBL>
>>
<<
128.150.2.3
RNet.Reset|Reset
--
<!DEF>
procedure <!TW>RNet.Reset (aRNetCard : address);
<!TXT>
Generates a reset impuls for the programmable resistor card <!PW>aRNetCard. 
Thus the card can be reactivated after a channel overload. 
>>
<<
128.150.2.4
RNet.Inc|Inc
--
<!DEF>
procedure <!TW>RNet.Inc (aChannel :address [; rValue : real]);
<!TXT>
Increased resistance value of the programmable resistor <!PW>aChannel with <!PW>rValue Ohm resp. with one step, if <!PW>rValue is not specified.
>>
<<
128.150.2.5
RNet.Dec|Dec
--
<!DEF>
procedure <!TW>RNet.Dec (aChannel : address [; rValue : real]);
<!TXT>
Decreased resistance value of the programmable resistor <!PW>aChannel with <!PW>rValue Ohm resp. with one step, if <!PW>rValue is not specified.
>>


