03-25-2009 07:49 AM
I am using the modbus example.vi to read parameters over modbus. I want to modify this file to read multiple parameters from, for example a spreadsheet. Is there any tutorials/examples i can use to do this? or can anyone give me advice?
03-25-2009 10:57 AM
My absolute favorite method for reading parameters is to use a windows configuration (.ini) file. There are lots of examples of this as well as Excel. Go to Help-->Find Examples
-Matt
03-26-2009 08:35 AM
03-29-2009 09:21 PM
There's a bunch of vi's for configuration files -- all ready made for you. They really do make your life easier.
If you need help understanding them, look through the examples. Start by going to help and typing configuration file or ini file. If that doesn't work, let me know.
03-30-2009 09:19 AM
Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3478
Hope this helps.
03-30-2009 10:25 AM
thank you for the link. It seems to be of use however i cannot open the .vi files as I am using labview 8.0 and the files are created in labview 8.2. Is it possible to get these fgiles in my version?
03-30-2009 10:35 AM
03-30-2009 10:44 AM
also it seems i do not have the 'configuration tool pallette used in this link. Is there a download for it?
03-30-2009 10:51 AM
forget last comment posted it before reading previous one sorry
03-30-2009 12:29 PM
I got those files to work. I attached this to the modbus example vi and i can use it to read one parameter. How can i modify it to read multiple parameters? I want to be able to further down the line add additional parameters to the config file and not have to modify the labview code. any suggestions?
thanks again for the links!!!