×

Accessing the Database With Other Vsystem Utilities

You can now access this database from within Vsystem by using one of the Vsystem utilities. One such utility is db_access, which you can use to verify the existence of channels in the tutor database.
To run the db_access utility
At the system prompt, enter:
db_access
At the prompt (->), enter the database name, followed by double colons (::) and the name of the channel you want to access, in this case room_1_thermostat, as shown below.
Enter channel name ( . to quit )
<channel name> [optional value to be written]
->tutor::room_1_thermostat
The following message appears, containing all of the information available for this channel:
Channel Name: ROOM_1_THERMOSTAT
Local Channel Index: 5
Label: thermostat setting room 1
Upper Equipment Limit: DEFAULTED
Lower Equipment Limit: DEFAULTED
Upper Display Limit: 0
Lower Display Limit: 0
Slope: 0.000000
Offset: 0.000000
Units: degrees
Delta: 0
Size: 1
Element Decimal Hex
[0] 0 0
---------------------------------
Enter channel name ( . to quit )
<channel name> [optional value to be written]
->
At the prompt (->), enter a period (.) to quit, as shown below:
->.
The following message appears:
exiting...
Note Because you did not define equipment limits for the channel when it was created, Vgen inserted default maximum and minimum values for the defined channel type, as noted by the text DEFAULTED.