Announcement

Collapse
No announcement yet.

RS232 or IP control of Martin Logan MDA-16 Zoned Amp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stevemeck
    replied
    Thanks. I've tried that, getting a different outcome (still not working)...
    \
    Feb-23 08:03:24 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-23 08:03:24 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ${ Substring((Split(input, “;”)[7]),5)}
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 Error (Big5Connection) at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionContext.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-23 08:03:24 Big5 Error (Big5Connection) SyntaxError: unexpected character '“', on line: 1 column: 26
    Feb-23 08:03:24 Big5 [Big5 Plugin] [Raw message in]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-23 08:03:24 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-23 08:03:24 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z0POW?;
    Feb-23 08:03:24 Big5 [Big5 Plugin] message = Z0POW?;
    Feb-23 08:03:24 Big5 [Big5 Plugin] profile = 621257
    Feb-23 08:03:24 Big5 [Big5 Plugin] type = TCP
    Feb-23 08:03:24 Big5 [Big5 Plugin] Debugging dictionary with 3 keys
    Feb-23 08:03:24 Event Event Trigger "AAAA Anthem - Copy"
    Feb-23 08:03:24 Event Event AAAA Anthem - Copy triggered by the event page 'Run' button.

    Click image for larger version

Name:	Screenshot 2020-02-23 at 08.02.10.png
Views:	61
Size:	179.0 KB
ID:	1365430

    Leave a comment:


  • risquare
    replied
    Try this

    1. Use straight quotes ONLY. Never use curly quotes or left/right quotes.
    2. Put the strings in quotes for the Name Expressions. Sorry my mistake

    "Z1POW"&&"Z2POW"&&....

    Leave a comment:


  • Stevemeck
    replied
    risquare - Thanks for your persistence with this. I've tried as you advise:

    I set name expression to:

    Z1POW&&Z2POW&&Z3POW&&Z4POW&&Z5POW&&Z6POW&&Z7POW&&Z8POW


    ..and value expression to:

    Substring((Split(input, ";")[0]),5)&& Substring((Split(input, ";")[1]),5)&&Substring((Split(input, “;”)[2]),5)&& Substring((Split(input, “;”)[3]),5)&&Substring((Split(input, “;”)[4]),5)&& Substring((Split(input, “;”)[5]),5)&&Substring((Split(input, “;”)[6]),5)&& Substring((Split(input, “;”)[7]),5)


    Then had the following back:

    8 lots of this error...
    Big5 Error (Big5Connection) at Flee.ExpressionElements.Base.ExpressionElement.ThrowCompileE xception(String messageKey, CompileExceptionReason reason, Object[] arguments) at Flee.ExpressionElements.MemberElements.IdentifierElement.Res olveInternal() at Flee.ExpressionElements.Base.MemberElement.Resolve(IServiceP rovider services) at Flee.ExpressionElements.MemberElements.InvocationListElement .Resolve(IList elements, IServiceProvider services) at Flee.ExpressionElements.MemberElements.InvocationListElement ..ctor(IList elements, IServiceProvider services) at Flee.Parsing.FleeExpressionAnalyzer.ExitMemberExpression(Pro duction node) at Flee.Parsing.ExpressionAnalyzer.Exit(Node node) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.Parser.ExitNode(Node node) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseAlternative(ProductionPa tternAlternative alt) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParsePattern(ProductionPatter n pattern) at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.RecursiveDescentParser.ParseStart() at Flee.Parsing.grammatica_1._5.alpha2.PerCederberg.Grammatica. Runtime.Parser.Parse() at Flee.PublicTypes.ExpressionContext.DoParse() at Flee.PublicTypes.ExpressionConte
    xt.Parse(String expression, IServiceProvider services) at Flee.InternalTypes.Expression`1.Compile(String expression, ExpressionOptions options) at Flee.InternalTypes.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric) at Flee.PublicTypes.ExpressionContext.CompileDynamic(String expression) at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-22 22:01:20 Big5 Error (Big5Connection) IdentifierElement: Could not find a field/property/variable with the name 'Z1POW'
    Feb-22 22:01:20 Big5 [Big5 Plugin] [Raw message in]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 22:01:20 Big5 [TcpConnection] Creating outgoing TCP connection
    Feb-22 22:01:20 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z0POW?;
    Feb-22 22:01:20 Big5 [Big5 Plugin] message = Z0POW?;
    Feb-22 22:01:20 Big5 [Big5 Plugin] profile = 621257
    Feb-22 22:01:20 Big5 [Big5 Plugin] type = TCP
    Feb-22 22:01:20 Big5 [Big5 Plugin] Debugging dictionary with 3 keys
    Feb-22 22:01:20 Event Event Trigger "AAAA Anthem - Copy"
    Feb-22 22:01:20 Event Event AAAA Anthem - Copy triggered by the event page 'Run' button.
    The devices set up were:

    Click image for larger version  Name:	Screenshot 2020-02-22 at 22.14.19.png Views:	0 Size:	143.3 KB ID:	1365364

    Leave a comment:


  • Stevemeck
    replied
    Here's all the info on the amp... MDX IP RS232 there's a tab in here with all the available expressions.

    All I really want to control from HS is:
    1. zone on/off
    2. zone volume
    3. zone input selection

    Leave a comment:


  • Stevemeck
    replied
    Originally posted by John245 View Post

    May I suggest to start with the Sample command strings.

    Or just start with the basics and first get it working with RS-232.
    ---
    John
    Thanks John, I'm open to all / any advice!

    I have a 232 cable and following your note have tried to sort comms via that, but the the issues I'm running into are the same as above.

    Leave a comment:


  • John245
    replied
    Originally posted by Stevemeck View Post
    Thanks again. OK, so I've removed the value and name expressions, saved the new profile and running some commands get:
    Feb-22 18:01:58 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:58 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:58 Big5 [Big5 Plugin] [Raw message in]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:57 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-22 18:01:57 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z0POW?;
    Feb-22 18:01:57 Big5 [Big5 Plugin] message = Z0POW?;
    and that resulted in a new device being created:

    Click image for larger version

Name:	Screenshot 2020-02-22 at 18.05.54.png
Views:	57
Size:	23.4 KB
ID:	1365283

    And another example:
    Feb-22 18:07:45 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-22 18:07:45 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-22 18:07:45 Big5 [Big5 Plugin] [Raw message in]: ;
    Feb-22 18:07:44 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-22 18:07:44 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z1VOL25;
    Feb-22 18:07:44 Big5 [Big5 Plugin] message = Z1VOL25;
    Feb-22 18:07:44 Big5 [Big5 Plugin] profile = 621257
    Feb-22 18:07:44 Big5 [Big5 Plugin] type = TCP
    Feb-22 18:07:44 Big5 [Big5 Plugin] Debugging dictionary with 3 keys
    Feb-22 18:07:44 Event Event Trigger "AAAA Anthem"
    Feb-22 18:07:44 Event Event AAAA Anthem triggered by the event page 'Run' button.
    Feb-22 18:07:42 Big5 [Big5 Plugin] message__15_A0 = Z1VOL25;
    Created:
    Click image for larger version

Name:	Screenshot 2020-02-22 at 18.09.06.png
Views:	37
Size:	14.2 KB
ID:	1365284
    May I suggest to start with the Sample command strings.

    Or just start with the basics and first get it working with RS-232.
    ---
    John

    Leave a comment:


  • risquare
    replied
    If everything runs as intended than you should get 8 HS3 devices with names and values as listed below at floor=Big5 and room=TCP

    Z1POW = 0
    Z2POW = 0
    ...
    Z8POW = 0


    If the responses from your Amplifier are not uniform in format than you may need to create different TCP profiles to accommodate different response formats. If the responses are in uniform format than you may use the same TCP profile and change the Name expression to derive the names from the input as opposed to fixed names as proposed above.

    For example if response to VOL command is

    Z1VOL25;Z2VOL18;......

    Name expression could be

    Substring((Split(input, ";")[0]),0,5)&& Substring((Split(input, ";")[1]),0,5)&&... Substring((Split(input, ";")[7]),0,5)

    It will produce HS3 davices named Z1VOL, Z2VOL.... etc, if the input is VOL and Z1POW, Z2POW...etc if the input is POW.

    Big5 is made for non-programmers to use. In order to understand the logic behind the RegEx "Substring..." above please go to the Expressions tab of Big5's online documentation available at http://big5.ivanv.com . The proposed expressions are combination of the expressions for


    split along ";" - Split(input,";")
    extract end of string starting at position 5 - Substring("...above string here...",5)


    It's always good to know what you are doing. Also I always recommend that you test any expression that you use in the sandbox of Big5 available at Big5 plug-in "Documentation" tab. Do not forget to wrap it in $ {...} wrapper before testing.

    Leave a comment:


  • risquare
    replied
    Let's start with your second example. The command Z1VOL25 does go out. Not sure if the amplifier executes it, but the response is empty. Work with your Amplifier documentation and/or vendor about it.

    As far as the first example goes, the Amplifier does respond. What part of this response do you want in HS3 devices? I assume you want to know about each of the 8 zones powered status (which the request/response is about).

    Name expression. Z1POW&&Z2POW&&....Z8POW
    Value expression: Substring((Split(input, ";")[0]),5)&& Substring((Split(input, ";")[1]),5)&&... Substring((Split(input, ";")[7]),5)

    ... mean that you continue in the same fashion from 1 to 8 in Names and 0 to 7 in values

    Leave a comment:


  • Stevemeck
    replied
    Thanks again. OK, so I've removed the value and name expressions, saved the new profile and running some commands get:
    Feb-22 18:01:58 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:58 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:58 Big5 [Big5 Plugin] [Raw message in]: Z1POW0;Z2POW0;Z3POW0;Z4POW0;Z5POW0;Z6POW0;Z7POW0;Z8POW0;
    Feb-22 18:01:57 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-22 18:01:57 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z0POW?;
    Feb-22 18:01:57 Big5 [Big5 Plugin] message = Z0POW?;
    and that resulted in a new device being created:

    Click image for larger version

Name:	Screenshot 2020-02-22 at 18.05.54.png
Views:	57
Size:	23.4 KB
ID:	1365283

    And another example:
    Feb-22 18:07:45 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-22 18:07:45 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-22 18:07:45 Big5 [Big5 Plugin] [Raw message in]: ;
    Feb-22 18:07:44 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-22 18:07:44 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z1VOL25;
    Feb-22 18:07:44 Big5 [Big5 Plugin] message = Z1VOL25;
    Feb-22 18:07:44 Big5 [Big5 Plugin] profile = 621257
    Feb-22 18:07:44 Big5 [Big5 Plugin] type = TCP
    Feb-22 18:07:44 Big5 [Big5 Plugin] Debugging dictionary with 3 keys
    Feb-22 18:07:44 Event Event Trigger "AAAA Anthem"
    Feb-22 18:07:44 Event Event AAAA Anthem triggered by the event page 'Run' button.
    Feb-22 18:07:42 Big5 [Big5 Plugin] message__15_A0 = Z1VOL25;
    Created:
    Click image for larger version

Name:	Screenshot 2020-02-22 at 18.09.06.png
Views:	37
Size:	14.2 KB
ID:	1365284

    Leave a comment:


  • risquare
    replied
    O.K. The value expression and name expression were designed around the samples provided by you. Maybe the real response is different. Pls. remove everything from Name expression and Value expression boxes. Save a copy of the content of same. Save the modified Big5 TCP profile and run the tests again. Provide Big5 reports from the log.

    Leave a comment:


  • Stevemeck
    replied
    Getting the same error messages using other commands as well;
    Feb-21 23:24:34 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-21 23:24:34 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ${Substring(input, 6, 1)}
    Feb-21 23:24:34 Big5 Error (Big5Connection) at System.String.Substring(Int32 startIndex, Int32 length) at HSPI_Big5.Big5ExpressionFunctions.Substring(String str, Int32 from, Int32 length) at Flee Expression(Object , ExpressionContext , VariableCollection ) at Flee.InternalTypes.Expression`1.Evaluate() at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-21 23:24:34 Big5 Error (Big5Connection) startIndex cannot be larger than length of string. Parameter name: startIndex
    Feb-21 23:24:34 Big5 Error (Big5Connection) at System.String.Substring(Int32 startIndex, Int32 length) at HSPI_Big5.Big5ExpressionFunctions.Substring(String str, Int32 from, Int32 length) at Flee Expression(Object , ExpressionContext , VariableCollection ) at Flee.InternalTypes.Expression`1.Evaluate() at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-21 23:24:34 Big5 Error (Big5Connection) startIndex cannot be larger than length of string. Parameter name: startIndex
    Feb-21 23:24:34 Big5 [Big5 Plugin] [Raw message in]: ;
    Feb-21 23:24:34 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-21 23:24:34 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z1VOL64;

    Leave a comment:


  • Stevemeck
    replied
    Thanks for your help so far..

    OK, just did a reset of HS3 and things are starting to work. I'm getting responses back in Big5 when I make changes at the amp, and it seems I can control the amp as well. There are errors in the log though:
    Feb-21 23:02:57 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ;
    Feb-21 23:02:57 Big5 [Big5 Plugin] [TCP TCP hostname 192.168.1.67, port 14999 IN]: ${Substring(input, 6, 1)}
    Feb-21 23:02:57 Big5 Error (Big5Connection) at System.String.Substring(Int32 startIndex, Int32 length) at HSPI_Big5.Big5ExpressionFunctions.Substring(String str, Int32 from, Int32 length) at Flee Expression(Object , ExpressionContext , VariableCollection ) at Flee.InternalTypes.Expression`1.Evaluate() at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-21 23:02:57 Big5 Error (Big5Connection) startIndex cannot be larger than length of string. Parameter name: startIndex
    Feb-21 23:02:57 Big5 Error (Big5Connection) at System.String.Substring(Int32 startIndex, Int32 length) at HSPI_Big5.Big5ExpressionFunctions.Substring(String str, Int32 from, Int32 length) at Flee Expression(Object , ExpressionContext , VariableCollection ) at Flee.InternalTypes.Expression`1.Evaluate() at HSPI_Big5.Big5Connection.EncodeStringForTransmission(String message, String input)
    Feb-21 23:02:57 Big5 Error (Big5Connection) startIndex cannot be larger than length of string. Parameter name: startIndex
    Feb-21 23:02:57 Big5 [Big5 Plugin] [Raw message in]: ;
    Feb-21 23:02:57 Big5 [TcpConnection] Reusing existing outgoing TCP connection
    Feb-21 23:02:57 Big5 [TcpConnection] [TCP TCP hostname 192.168.1.67, port 14999 OUT]: Z1INP07;
    Any ideas?

    There are devices created, but not sure they are right...

    Click image for larger version

Name:	Screenshot 2020-02-21 at 23.06.21.png
Views:	65
Size:	71.2 KB
ID:	1364957

    Leave a comment:


  • Stevemeck
    replied
    Yes, sorry if it wasn't clear - that was just to show you that I was getting an error on 14998, but not on 14999 - so 14999 (which I'm using) is working.

    Leave a comment:


  • risquare
    replied
    Pls keep persistent on. Pick only one TCP profile to work with. Must be the same profile in all events. Make sure IP address port # are correct and match your Amplifier setup. Keep it simple send out one command only and provide the whole Big5 log.

    On the outgoing part - Big5 shows that the command goes out. If amplifier doesn't act upon such command than refer to Amplifier's documentation and settings.
    On the input part - Big5 will show if it gets any response from the amplifier. If not than refer to Amplifier's documentation and settings. If you see Big5 getting response (marked IN...) than I will help you putting this response into HS3 devices if the above RegEx do not work as expected.

    Leave a comment:


  • risquare
    replied
    .... also I see discrepancy at the screenshots above. One shows port 14998 and the other 14999.

    Leave a comment:

Working...
X