urdey

DEVICES DATA TO WEB BROWSER

Recommended Posts

That really depends on the web server.  Are you going to use DAQFactory as a webserver or send data to another webserver?  By far the easiest method is to use DAQConnect (daqconnect.com)

Share this post


Link to post
Share on other sites

My main intention is to display DAQ HMI Screen in the website or webserver and few javascript code  action from webserver to DAQFACTORY HMI Start and Stop process.

Share this post


Link to post
Share on other sites

Your best bet would be to use a service such as DAQConnect.com to do this.  With that product you'd have to create separate HMI screens for the web, but they will work more efficiently and across all devices.

Alternatively, you could program DAQFactory to take screenshots of pages, then upload them to a webserver.  Sending commands back to DAQFactory would be slightly harder, but is best implemented using a pull mechanism, meaning DAQFactory queries the server at some interval to see if there are commands to perform.  You do not want to open up the system running DAQFactory to the Internet as that is just asking for security problems.  Not because DAQFactory is more insecure than anything else, but because opening up the system to the Internet exposes the system to attacks on all levels, the most likely being on the OS and probably DoS type attacks (even if they are unintentional). 

Share this post


Link to post
Share on other sites

How and what command DAQFACTORY will take screenshots of pages then upload  command them to a webserver.What DAQFACTORY queries commands the server at some interval through xml or json from webserver.

Share this post


Link to post
Share on other sites

Screenshots are done with:

page.capture()

Uploading can be done through the FTP. commands, or possibly other solutions (shell commands?).  Depends on what you are doing.

Download data from the web is done with:

http.get()

Note that most of these functions require DAQFactory Pro.

 

Share this post


Link to post
Share on other sites

DAQFactory can it support PUT,POST ,DELETE command like GET command?. How Data will be transferred in JSON or JavaScript format from DAQFACTORY to website

Share this post


Link to post
Share on other sites

After setting Real time Web Access as localhost .and while connecting showing error  using from Daqfactory  but in local browser local host works .

Why I can not connect local host form daqfactory

WEBACCESS_ SETTING.JPG

SHOWING ERROR.JPG

ERROR2.JPG

Share this post


Link to post
Share on other sites

Not sure where you are going with this.   The Real Time Web feature only works with the DAQConnect service and their servers.  You can't point it to your own computer as you don't have a DAQConnect server.

How did you get the Object Not Found errors?  What Help file were you trying to look at?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now