![]() Once installed, I found that all the front panel objects were present, and the majority of the block diagram (programming) functionality of LabVIEW was also available. I have only tested this with LabVIEW 8.2 under Ubuntu 7.10, but the original thread suggests that the procedure outlined below should work with LabVIEW 8.0, 8.2, and 8.5 under Ubuntu 7.04 and 7.10. Hopefully the following 'remastering' of the how-to will be of use to English-speakers. Specifically, there is the following link in that thread that leads to a how-to guide:Īs you can tell from the URL, however, the guide is in Italian. The information I used originally came from the National Instruments forums: The following is a short how-to that shows how I installed LabVIEW 8.2 on my Ubuntu 7.10 box. The equipment you have should have documentation describing which modbus functions should be used to communicate.I am sure there are scientists and engineers who would like to install LabVIEW on their Ubuntu box, but have been unable to do so because the binaries are supplied as. It could be that addresses 1 through can only be accessed from a read input registers command. The focus here would not be the entire protocol but just start with understanding the memory map in Modbus and some of the basic function calls. I highly suggest you read up a bit on the basics of Modbus first before you dive in and try to communicate. Although the register def file is pretty cryptic (a nice secret decoder ring would be nice ), it looks like address 1 through 35 can be accessed with a read function and 201 through 203 from a write holding registers command. ![]() ![]() You could use a known Modbus master like Modpoll to help you troubleshoot the communication. I would first try to read 1 word at the first address and see if you can get some data from the device. The examples that ship with the NI Modbus Library are probably not going to work without some modification to the reading and writing. I know that Modbus I/O Servers supports RTU but have never used it myself. ![]() If you have Labview DCS or RT, you could use the Modbus I/O Servers. The NI Modbus Library supports RTU and ASCII. Next thing to find out is if the unit your trying to communicate to is a master or slave. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |