> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/datahost/test.md).

# Test the installation

Make some records on a test logger, send them to DATAHost, and find them in the database.

Make some records on a test logger, text it to connect, and check the records arrive in the DATScan database.

{% hint style="info" %}
**Applies to:** DATAHost V1.3 with a Q48 Cellular Remote Data Logger.
{% endhint %}

## What you need

* A Q48 logger configured for your DATAHost server. See [Configure with Workbench](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/q48-cellular-remote-data-logger/configure-with-workbench.md).
* Its SIM phone number.
* A cell phone.

## 1. Make some records

1. Power up the logger.
2. Create a few log records by repeated closing and opening an input (to simulate say a door opening and closing).

## 2. Check the logger answers texts

1. Text `Request status` to the logger.
2. Whenever an SMS Text Message is received the orange RXD LED will flash briefly. The orange TXD LED will flash briefly whenever an SMS Text Message response is sent.

No reply? Check that the sim is operational by trying it in a phone. If the device is also not responding to SMS look to see if the error led on the device is flashing red. If so, repower the device (remove and reinsert the green power connector) and try sending a status request. See [It doesn't reply to texts](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/q48-cellular-remote-data-logger/troubleshooting/no-text-replies.md).

## 3. Send the records to DATAHost

1. Browse to the site (address 1) and expand the nodes to view.
2. Send `Connect now` from cellphone to Q48. A reply text message of "Connecting to Database now" will be received.
3. Watch to see if record count changes.
4. Watch the diagnostics.

Records not arriving? Running TBDiagViewer (Note TBDiagService is required for this) will provide real time diagnostics once you right click and change the display categories to show everything. SMS request debug and forward the resulting number string to QTech for analysis. See [No data arrives from the loggers](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/datahost/troubleshooting/no-data.md).

## 4. Find the records in the database

1. Launch SQL Server Management Studio (SSMS) and connect to the SQL server.
2. Browse to the Datscan database tables.
3. Right click on the table and open the top 1000 records in the table dbo.tblTransaction.
4. Some new records should be there: opening is 0 (switch open) and closing is 1 (switch closed).

Check that User has permission to access the DATScan database. See [DATAHost can't connect to SQL Server](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/datahost/troubleshooting/sql-connection.md).
