Recent content by LarsK

  1. LarsK

    CAI WebControl Logger [Software]

    Just got the web data working. Seems like the old protocol is blocked so I can't read the values. But strange enough I can get the data in my web browser... Used a different one, and finally it works. Just some more coding and I'm done with the upgrade.
  2. LarsK

    CAI WebControl Logger [Software]

    Update: Ended in a update of the code. Seems there is a lot to be rewritten due to hasty/dirty coding. I also have a issue getting access to the web to retrieve data for the updates. I will release a new version with the full installer in the next 10-30 days or so...
  3. LarsK

    CAI WebControl Logger [Software]

    Hi, due to a domain change the main exefile can now be downloaded here:   http://www.weatherby.dk/downloads.php?do=cat&id=2   I will soon include the whole installer file containing all files needed to run the app.
  4. LarsK

    CAI WebControl Logger [Software]

    Hi, seems like the installer is not working as it should. Unpack the zip file, copy the file to folder C:\Windows\System32\ Type "CMD" in search box. Use dos window and Browse to C:\Windows\System32\   Commands: cd c:\ cd windows cd system32   (Since you are running Windows server 2012 I guess...
  5. LarsK

    wc8 ssr reset

    Plase check that your SSR is not a chinese fake!  
  6. LarsK

    VB.Net example for WC8 PLC Controller

    Hi, got the logger function up and running. Will play some more with this and test if I can dump the list to excel. Seems like VB Express is quite more powerful than VB6. I can get strings from the board 17-20 times a second! In VB6 it was one string a second or so. And yes, dumping to excel...
  7. LarsK

    VB.Net example for WC8 PLC Controller

    Here is the updated file. Insert your IP Adress, Username and Password and try to pull desired data. Tested and worked on my computer. (Win7) Download VB Express script file below in this post. Enjoy!   Code: Imports System.Net Imports System.IO Public Class Form1 Private Sub...
  8. LarsK

    VB.Net example for WC8 PLC Controller

    Here is the new code. Will post the script files later. Stay tuned!   Imports System.Net Imports System.IO Public Class Form1     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         Dim inStream As StreamReader         Dim...
  9. LarsK

    VB.Net example for WC8 PLC Controller

    Next code example: If your WC8 card has password protection you can add this code:   webRequest = webRequest.Create("http://192.168.0.10/getall.cgi") webRequest.Credentials = New NetworkCredential("UserName", "Password") Just remember to rem the old line with webRequest. If you want to, you...
  10. LarsK

    VB.Net example for WC8 PLC Controller

    Tried just getall.cgi. Just add "RichTextBox1" on the form, and rem the textbox2 line. Added code: RichTextBox1.Text = inStream.ReadToEnd() Gets this result:  
  11. LarsK

    VB.Net example for WC8 PLC Controller

    Hi, I have developed a demo for communicating with WC8 using VB.Net. Program is compiled in VB Express 2008. This demo asks for Temp sensor #1 value.   Code: Imports System.Net Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
  12. LarsK

    CAI WebControl Logger [Software]

    Tried tonight to use VB.Net to get some data strings. Here is an example pulling data from a URL:   Imports System.Net Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim inStream As...
  13. LarsK

    CGI pulling languages

      Hi, it should be no problem to install VB6.0 on a Win7 PC. I have installed it on several machines. How is the problem described?
  14. LarsK

    Adding On-Board Prototype Area

    +1 That would be handy, always a lot of 12v supply arround, seldom a 9v one. Often I solve the "problem" adding this one:  
  15. LarsK

    Listing of CGI commands

    Another way of sniffing the commands is using FireFox using Firebug.   Here is my list: geta1.cgi 'Analog geta3.cgi geti1.cgi 'Digital geti8.cgi getvar1.cgi '32Bit Output getvar8.cgi geth1.cgi ' Humidity gett1.cgi 'Temp gett8.cgi getts1.cgi 'Temp status getts8.cgi geto1.cgi ' TTL Output...
Back
Top