12-24-2013 02:23 AM
Hi ,
I have done lot of try and search to form communication, but not Happened...Plz guide me.
Protocol have the following Frame format:
Header---Address------Command-----Data-------CRC-----Trailer.
How to establish the communication between Slave and Master?
Is it possible by edit the Modbus based VI ?
Let me know if there is way to do that.
Regards,
Nilesh
12-24-2013 05:33 AM
You need to be a lot more specific. What bus are you using? Is this an exact standard?
At a quick glance, this is looking like a Modbus protocol. You might want to check out the NI Modbus Library for LabVIEW.
12-26-2013 01:19 AM
Actually, it is Proprietary(Company's own Protocol) based on RS485.
Is it possible to communicate Over this Protocol using LabVIEW?
Should we develop or should NI has facility to Provide it if i tell them to implement it by paying amount ?
12-26-2013 05:32 AM
@NILESH_MHALIM wrote:
Actually, it is Proprietary(Company's own Protocol) based on RS485.
Ok, you are using an RS-485 bus. That should just show up as a COM port on your computer. You will want to use VISA to communicate over this bus. What you need to do is build up the message into a string and then write the data to the port. Take a look at the Simple Serial Write Read example.