Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Anthem PreAmp 2 way?

  1. #1

    Default Anthem PreAmp 2 way?

    I have an Anthem Statement D1 that I can communicate to with girder one way. I know the Anthem supports 2 way communications. I was wondering if anyone here has a working .gml for an Anthem preamp that they would share? I'd love to be able to get the volume and processing mode feedback, but my programming skills aren't quite good enough yet. Thanks in advance.

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    do you have a link to the serial protocol

  3. #3

    Default

    Sure,

    It's right here:

    http://statement.anthemav.com/HTML/P...RS232v1.12.zip

    Thanks - Andrew

  4. #4
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Do you have a current .lua file you are using to communicate with it? Do you have the serial protocol settings ie baud rate etc.

  5. #5

    Default

    Here it is. I just used a similar lua script that I found on here, and changed the settings to those of my D1 and it is working for one way.



    local device = serial.Classes.Queued:New({
    Name = "Anthem D1",
    GlobalName = "AnthemD1",
    Description = "Anthem Statement D1 PreAmp",

    LogLevel = 0,-- change this to a higher number or nil when the device is working

    BaudRate = 19200,
    Parity = 0,
    DataBits = 8,
    StopBits = 0,
    FlowControl = 'N',

    CallbackType = serial.CB_TERMINATED,
    ReceiveTerminator = ')',


    SendTerminator = '\x0a',
    IncompleteResponseTimeout = 100,
    NoResponseTimeout = 1000,

    Initialize = function(self)
    if serial.Classes.Queued.Initialize(self) then
    -- add your own initializations here
    self.Status = 'Initialized'
    return true
    end
    end,

    ReceiveResponse = function(self, data, code)
    if math.band(code, serial.RXCHAR) then
    -- add code here to process the data parameter
    end
    serial.Classes.Queued.ReceiveResponse(self, data, code) -- must call the parent's ReceiveResponse
    end,

    })

    serial.AddDevice(device)

  6. #6
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    ok, in the next week or so we should have some time to assist you.

  7. #7

    Default

    Great. Any progress so far? Thanks - Andrew

  8. #8
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    hi, likely going to have to wait until next week. sorry.

  9. #9

    Default

    had any luck with this yet? Thanks - Andrew

  10. #10
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Hi,

    Sorry not yet.

    Are you using this with NetRemote?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •