Home AMX User Forum NetLinx Studio

String help

I have to send a particular command to a projector for input:

send_string s7, " ' i n p u t = a - r g b 2 ' , $ 0 D , $ 0 A "

I've spaced the string out here for visibility. I suspect that the dash is the culprit in the a-rgb2.

This one works:

send_string s7, " ' i n p u t = c o m p ' , $ 0 D , $ 0 A "

Any suggestions?

Thanks

Comments

  • mpullinmpullin Posts: 949
    tkurshin wrote: »
    I have to send a particular command to a projector for input:

    send_string s7, " ' i n p u t = a - r g b 2 ' , $ 0 D , $ 0 A "

    I've spaced the string out here for visibility. I suspect that the dash is the culprit in the a-rgb2.

    This one works:

    send_string s7, " ' i n p u t = c o m p ' , $ 0 D , $ 0 A "

    Any suggestions?

    Thanks
    Without knowing what projector this is, it's a stab in the dark for any of us. There's nothing fundamentally wrong with having a dash in the string. Try using rgb2 without the 'a-'. And there's probably no need to space out your strings on here, you'll confuse somebody. Use [code] tags to increase readability if desired.
Sign In or Register to comment.