TETRIX FTC Samostat

From ROBOTC API Guide
Revision as of 18:43, 11 September 2012 by Jwatson (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
TETRIX → TETRIX FTC Samostat


The Samostat Program

The sample “Samostat” program can be used to check the connection status of a Samantha Module connected to an NXT brick. The program works by constantly checking the Samantha module for connection status. When the module gets connected to a network, the NXT brick will display the network information on its LCD screen.
To use the Samostat program, you first need to configure the Samantha Module for use with your NXT and network. Samostat is a sample program under the 'Samantha Module' folder so it can be found by navigating to 'File->Open Sample Program'.
Once that’s done, you simply have to compile, download, and run the program to the NXT. It will automatically start to search for the network via the Samantha Module. During this time, the NXT will display “Acquiring”. Once it finds the network the module is set up for, the screen will display relevant information including an IP address.
The IP address displayed can then be entered into a web browser that is connected to the same network in order to display more detailed network information.