Home AMX User Forum NetLinx Studio

retreiving program fom controller

Hi guys i'm a new AMX programer and i dont have all information to go with...i need to know if i can pull the full program from the controller ,thanks all

Comments

  • viningvining Posts: 4,368
    If the source code was transferred with the program then yes but it's probably a password protected file. Most folks do transfer the source code to the master with password protection but some never transfer the source under any circumstances so you'll just have to connect and see. If protected it might be prudent to make peace with the OP unless they haven't been paid.
  • I agree with Vining. As far as how to retrieve it, you would use Netlinx Studio.
    Here's the excerpt from the help file in Studio:
    Receiving Files from the Master Controller or System Device


    Use the Receive tab of the File Transfer dialog to receive files that reside in the Master, or System devices on the bus, for editing. The Receive tab consists of the Files To Receive table, and the File Transfer command buttons. To receive files, you will add a new (blank) file to the Files to Receive table, and apply a name. The name you specify here will be applied to the file once it is received from the device specified.

    All files must mapped to devices before they can be selected for transfer.

    Note: Source Code files can only be received from a device if the Build With Source option (Preferences dialog - Axcess and NetLinx Compiler Options tabs) was selected when the file was compiled, prior to transfer.

    To receive files from the Master or System device, you will first add the file(s) you want to receive to the Files to Receive table:

    1. Select Tools > File Transfer (or click the toolbar button) to access the File Transfer dialog, and open the Receive tab.

    2. Click the Add button to access the Select Files for File Transfer dialog (Other tab). This dialog contains a set of icons representing the various types of files that can be received from the Master or System device (IR Codes, Touch Panel Design File, NetLinx Source Code File , Axcess Source Code File and TP4 Touch Panel Design File). Select the type of file you want to receive, and click the Add button.

    Note: IR files cannot be received from Axcess devices. Even if the device is connected through a NetLinx Master, if it's an Axcess device you can't receive IR files.

    3. In the Save As dialog, enter a name for the received file, or select an existing file to replace with the received file, and click Save to return to the Select Files For File Transfer dialog (Other tab).

    4. Specify a source device for each file, via the Enter Device Information dialog. Once a D:P:S assignment has been specified for each file, the selected file(s) appear in the file list at the bottom of the Select Files for File Transfer dialog.

    5. Click OK to return to the File Transfer dialog (Receive tab) - the selected files appear in the Files To Receive table.

    The checkbox to the left of each file in the Files To Receive table indicates wether the file is selected to be included in the transfer. By default, the checkbox is selected when a file is added to the list. Deselect this checkbox to exclude the file from the transfer.

    To rearrange the files in the list, select a file and use the Up and Down command buttons as desired.

    To remove a file from the list, select a file and click the Remove command button.

    To edit the communication and/or mapping information for a file, select a file and click the Edit command button. This opens the File Transfer Edit sub-menu:

    Connection — Opens the Communication Settings dialog, where you can edit the Platform, Transport Connection type and Communication Settings for the selected file. Alternatively, you can double-click in the Connection column to access the Communication Settings dialog.

    Mapping — Opens the Enter DPS dialog, where you can edit the D:P:S assignment for the selected file. Alternatively, you can double-click in the Mapping column to access the Enter DPS dialog.

    Note: In Axcess, Master Source Code files are always mapped to the Master Controller (device = 0). Master Source Code files cannot be mapped to any other device. NetLinx Master Source Code files are mapped according to the System settings when the Project was created. The only way to modify these settings is via the System Properties dialog. Also, when sending TPD files directly to a Touch Panel (i.e. via serial cable connection), the device = 0.

    Options — This option is disabled in the Receive tab.

    Note: Right-click on any file in the list to access the File Transfer Context Menu.

    6. Click the Receive command button to receive the files, in the order that they are arranged in the queue. The progress of each file transfer is indicated in the File Transfer tab of the Output Bar. This tab also lists the file's communication port assignment, transfer status (pending, failed, in progress, complete or cancelled), filename, transfer type (send or receive), errors, date received, and other data on the transfer.

  • Once you get the src, you would still need to extract it:
    Tools->File Extraction->Extract from SRC

    --John
  • ericmedleyericmedley Posts: 4,177
    Once you get the src, you would still need to extract it:
    Tools->File Extraction->Extract from SRC

    --John

    The last step is to actually understand what the heck medicine the previous programmer was taking at the time they wrote the code. :D
  • AMX LebAMX Leb Posts: 11
    Thanks guys these informations was so useful ,and i think that there is no way to break the password of a protected program :D
  • DHawthorneDHawthorne Posts: 4,584
    AMX Leb wrote: »
    Thanks guys these informations was so useful ,and i think that there is no way to break the password of a protected program :D

    Extracted source files are just renamed ZIP files. There are any number of ZIP password crackers out there ... I would give that a whirl. Just look out for malware, people love burying nasty stuff in that kind of program.
Sign In or Register to comment.