Sharon_ Posted March 10, 2011 Report Share Posted March 10, 2011 Hi friends, I am developing a VI to test webpages.The webpage is just like our LabVIEW front panel with LED indicators and button/slider controls. I have simulators to see the changes on the pages. But what happens is, there is no the change in html Source Code. If it is not changing then how am I going to parse the page and get the results? Or Am I looking at the wrong data? Isn't it source code? For instance: For this case, the source code is : primary.html For this : Source code: standby.html There is absolutely no difference between these two files.. And I have no idea about web page technologies.. Please help..!!! Thanks for your time..!!! Sharon Quote Link to comment
Phillip Brooks Posted March 10, 2011 Report Share Posted March 10, 2011 The top half of the files you posted contain functions that your web browser interprets to update the page based on values read from the server. I don't think you will be able to use this method to check the status of the valves. I went to the Rotork site and found a page that describes the Pakscan product listed in the AJAX code of your files. http://www.rotork.com/en/product/index/pakscanethernetdemo According to the documentation, the device supports modbus. You should be able to communicate with the Pakscan this way. If you are trying to write an application to test / validate the Pakscan UI, I don't think your current method for retrieving the device data will work. Quote Link to comment
Sharon_ Posted March 11, 2011 Author Report Share Posted March 11, 2011 (edited) The top half of the files you posted contain functions that your web browser interprets to update the page based on values read from the server. I don't think you will be able to use this method to check the status of the valves. I went to the Rotork site and found a page that describes the Pakscan product listed in the AJAX code of your files. http://www.rotork.co...canethernetdemo According to the documentation, the device supports modbus. You should be able to communicate with the Pakscan this way. If you are trying to write an application to test / validate the Pakscan UI, I don't think your current method for retrieving the device data will work. Hi Phillip, Yes you are right. But Is it possible to read AJAX strings in LabVIEW.? I am reading 'AJAX for the Absolute beginner' now aah.. .I think I need a lot of time to understand how things work..uff I found some posts related to AJAX in LabVIEW - but not very useful.. Sharon Edited March 11, 2011 by Sharon_ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.