Home AMX User Forum NetLinx Studio

Datavideo SE-500

Does anyone have experience controlling one of these devices? I just looked up the protocol and it's a bit convoluted and unclear. I was hoping someone would have the basics coded (e.g. "Select Input 1") so that I wouldn't have to spend a few hours decoding the control protocol and then playing trial-and-error with the code.

Thanks!

Comments

  • choonpohchoonpoh Posts: 1
    zerodev wrote: »
    Does anyone have experience controlling one of these devices? I just looked up the protocol and it's a bit convoluted and unclear. I was hoping someone would have the basics coded (e.g. "Select Input 1") so that I wouldn't have to spend a few hours decoding the control protocol and then playing trial-and-error with the code.

    Thanks!


    Hi

    Do you have the control protocol? I am having problem figuring out with the checksum
  • ericmedleyericmedley Posts: 4,177
    Post the protocol.
  • AuserAuser Posts: 506
    If it's the same as the DN-500, this should work.
    define_function char CheckSum(char _cCommand[])
    {
    	stack_var		integer		_nCharacterIndex
    	stack_var		integer		_nBitIndex
    	stack_var		char			_cCheckSum
    	
    	for(_nCharacterIndex = 1; _nCharacterIndex <= length_array(_cCommand); _nCharacterIndex++)
    	{
    		for(_nBitIndex = 0; _nBitIndex < 8; _nBitIndex++)
    		{
    			if(_cCommand[_nCharacterIndex] & (1 << _nBitIndex))
    				_cCheckSum++
    		}
    	}
    	return _cCheckSum
    }
    
Sign In or Register to comment.