Announcement

Collapse
No announcement yet.

Send Hexa data

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

    Send Hexa data

    Hi
    I am trying to control my JVC projector over the rs232 from a global cache. I tryied the follow script, made in javascript,
    Code:
    function Main(params) {
         var pObj = hs.Plugin("Global Cache")
         pObj.SendSerialData (1,2,"chr(&H21) & chr(&H89) & chr(&H01) & chr(&H50) & chr(&H57) & chr(&H31) & chr(&H0A)")
         hs.WriteLog ("send","test")
    }
    I tried in several ways, like \x21\x89.... But dont work for me. I can control my AV7005 wit this script, sending ascii, i just dont know how to send in hexa.
    Can someone help me?
    Thanks

    #2
    Send Hexa data

    Why don't you use the ip/serial plugin. I use it for all my global cache stuff.

    Comment


      #3
      Well, i pay for this plugin just to save some time, since i have to finnesh my .gui for CommandFusion, but until now i am having to make everything in the same way. I am only be able to work with Javascript. I adapted a script to manage the jvc codes, its working well.
      I tried the ip/serial but i was not able to get feedback with it until now. I am thinking in make everthing from zero, and learn a little about .net.
      Very thanks for your help.

      Comment

      Working...
      X