Here is the sample code to extract data from DataGridView to CSV file.
1. make a simple VB project.
2. add a DataGridView control and a Command button to the Form.
3. write this code to Extract button event click :
4. write...
Home » Archives for 2016
Monday, 1 August 2016
Saturday, 23 July 2016
OPC to SQL
OPC2SQL is a simple tool/application for polling data from OPC Server to SQL Database periodically.
The block diagram:
OPC Server : WinCC, RSLinx, etc.
SQL Database : MySQL, MS SQL Server, etc
Follow...
Tuesday, 7 June 2016
SerialComm : Serial Communication (Chat)
This simple VB.net project is for testing connection/communication between 2 serial port.
We will use VSPE (Virtual Serial Port Emulator) to create 2 virtual COM ports.
The steps for testing:
1. copy the EXE, so we have...
Monday, 6 June 2016
Modbus RTU Client
ModRTUClient is a VB.net application to Read and Write data register (Coil Output, Digital Input, Analog Input, Holding Register) from Modbus RTU (Master) device.
The different with Modbus RTU VB6 is, this project created using Visual...
Sunday, 5 June 2016
AutoBatch : Auto Run Batch File

Hi..
I create a simple sample (demo) VB.net project (application) named AutoBatch.
This application is for Auto Run BAT file, when the file is added to specified directory (folder).
Please download the project...
Friday, 27 May 2016
My Simple OPC Web
Hello..
Today, I want to share: MySimpleOPCWeb project.
this is the web version of MySimpleOPCClient (please read the article here).
I use Visual Studio Community 2015 (its free). I am not sure, is it OK with other version of Visual...
Thursday, 26 May 2016
Modbus RTU Simulation
Welcome..
Today, we will simulate and emulate, Modbus RTU Server (Master).
Imagine, we have a Modbus RTU device (PLC, Remote I/O, etc) connected to our PC through Serial (COM) Port.
then, let we change the device (hardware) with...
Wednesday, 30 March 2016
My Simple OPC Client
As request from our friends, here we create a simple VB application/project to communicate with OPC Server.
Previously, we create My OPC Client project, the latest is version 5, with some advanced feature. But some friends need more...
Thursday, 17 March 2016
VB - PLC via SimaticNet
Yang akan kita lakukan adalah membuat komunikasi antara VB dan PLC Siemens melalui SimaticNet. Kali ini kita tidak akan memakai PLC sungguhan tapi memakai aplikasi PLC-SIM.
Tujuan kita pada percobaan kali ini hanya sekedar untuk membaca...
Saturday, 5 March 2016
Taskbar Show Hide
Pernahkah Anda mendapatkan Taskbar Windows menghilang?
Taskbar adalah bar yang defaultnya terdapat di bagian bawah layar, dimana semua aplikasi yang sedang berjalan akan ditampilkan icon-nya. Melalui Taskbar ini kita bisa menampilkan...
Thursday, 11 February 2016
Error While Publishing WinCC WebNavigator
Hello friends !
This time I want to share a problem while using WinCC WebNavigator with CEMAT v8.1.
So, maybe this article is suitable for people with experience of WinCC and Web Navigator, because I will not describe some basic steps.
Problem
I have a problem when I do WinCC Web View Publisher Wizard. At the end of the process (Web Publishing Wizard) I get some error, some Picture cannot be published because there are "undefined...
Subscribe to:
Posts (Atom)