Hi,
i like to control some SDM-CD8S Ports of the CR-3000 via a website solution, to switch on an off some devices. But i don't have any idea how to solve this problem.
Is there a solution to give some parameters back via ftp or serial console ?
Or are there other solutions ?
thank you for some reply....
The CR3000 has a built-in HTTP server that can serve both static web pages as well as pages generated within WebPageBegin() and WebPageEnd() instructions in the CRBasic program. In addition to this, the web server has some "canned" commands that can be used to obtain data and to set variables. Future operating systems are going to expand this innate capability greatly. In the meantime, you can find descriptions of the logger web services in the CRBasic help that comes with LoggerNet.
Hi,
thank you for this hint. I've solved the problem with:
command=SetValue&table=public&field=swtich&value=0
it works fine, but when i restart the cr3000 the logger forgets the last status of the switch. For Example bevor the restart the switches 1,2 are on and switch 3,4 are off.
after the restart switch 1,2,3,4 are all off.
Is it possible to save the switch status before reboot ?
If you place a PreserveVariables instructions at the beginning of your program, the datalogger will preserve ALL public variables through the power up process.
Thank you, that i was looking for.