DllTest setup in eclipse
Follow these steps to setup an Eclipse-Helios Java project for the Libraries project.
Unzip in a new directory
The directory structure should look like this:
Import an existing project
File/Import...General/Existing Projects into Workspace

Check the Java build path:
Properties/Java Build Path

Create a new "Run configuration" :
Run/Run Configurations.../Java Application

Then, run it without arguments; your output should be as follows:

Define the arguments
We will use the test case 1 that opens an HDLC connection and then sends an AssociationRequest. If your meter uses short names then select the file AssociationRequest_SN_NoPW.xml else select AssociationRequest_LN_NoPW.xml.
Please note that you may have to set the HDLC addresses and parameters. In this demo, the default values are:
ClientMACAddress = 16 (public client),
ServerAddressSize = 1 (one byte addressing) and
ServerUpperMACAddressValue = 1 (management logical device)

Here we specify to send "AssociationRequestSN_NoPW.xml" and print the response from the server.
Run it and you should have something like this:

![[icube banner]](../images/icube1.jpg)