Jump to content

petrusgunawan

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by petrusgunawan

  1. If your instrument talks modbus (you say), then you have to talk modbus to it. This has little to do with the programming language.

     

    I attach a snippet of mine which I've used in the past to check basic communication using the library referred above, hope it helps.

     

    attachicon.gifModbusTester.vi

    i am sorry that just now i am replying you, i actually did it! thank to you and now i have more problem in getting the real time data.

    you can see my vi there.

    btw, thankyou so much for your kind help!

    here is my final vi 

    #but sadly i cant get the real time data :(

    vi.vi

  2. Shaun has given you the link.

     

    What seems that is unclear to you, is what is involved. Modbus is a communication protocol. A way do do things like for example reading or writing numeric values to "registers", by sending formatted messages to the instrument across the serial line, across ethernet, or anything else. As such, you have probably to go to the manual of your instrument, and look up which register corresponds to reading V, I, or what else you need. You can't just expect to write the character "1" to the serial port and expect that the instrument responds in no time with a string, as you're doing in your VI. The modbus library referenced above has VIs for accessing registers, the rest of the information (which register, which port, when, what) you have to provide yourself.

    yes i am very new using this labview. i usually use matlab or qt for programming. i know that labview is more practical but this is the very first time i use it. i dont even have a clue for the modbus library and how to use it =(

  3. i have and inverter ae conversion, and a terminal program h term to detect the inverter and it worked but i am confuse with labview to make similiar program like the hterm. 

    i want to make a program with labview that can send command like in terminal program (like send on CR or send on LR).

    here is the screen shot of the terminal program.

    the command i got from the manufacturer it called aegis protocol.

     

    thankyou for your help or reply :))post-53647-0-14879700-1434616250.png

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.