LAPORAN PRAKTIKUM TEKNIK ANTAR MUKA RUNNING LED

Disusun Oleh:

Robiatul Adawiyah

5215107328

PENDIDIKAN TEKNIK ELEKTRONIKA TEKNIK ELEKTRO UNIVERSITAS NEGERI JAKARTA 2013

Teori Dasar Bahasa Basic pada dasarnya adalah bahasa yang mudah dimengerti sehingga pemrograman di dalam bahasa Basic dapat dengan mudah dilakukan meskipun oleh orang yang baru belajar membuat program. Alat dan Bahan  Laptop  Sofware Visual Basic 6.A. Tujuan Dapat membuat simulasi running led menggunakan Visual Basic C. dengan teknik pemrograman visual yang memungkinkan penggunanya untuk berkreasi lebih baik dalam menghasilkan suatu program. E.0 D. Hal ini lebih mudah lagi setelah hadirnya Microsoft Visual Basic. Visual Basic merupakan bahasa pemrograman yang sangat mudah dipelajari. Hasil Praktikum Tampilan setelah di Run Running Led | 1 . yang dibangun dari ide untuk membuat bahasa yang sederhana dan mudah dalam pembuatan scriptnya (simple scripting language) untuk graphic user interface yang dikembangkan dalam sistem operasi Microsoft Windows. Karena itu dalam penggunaannya Visual Basic lebih mudah digunakan. Judul Percobaan Running Led B. yang artinya kita dapat mendesain sendiri bagaimana tampilan program yang akan kita buat.

FillColor = vbWhite Shape3.FillColor = vbWhite Shape5.Enabled = True) Then Timer1.Interval Timer1.FillColor = vbWhite Shape8.FillColor = vbWhite Shape7.FillColor = vbBlue Shape4.Enabled = False Timer2.FillColor = vbWhite Shape6.FillColor = vbWhite Shape2.Enabled = False a=0 b=0 Shape1(0).FillColor = vbWhite Shape6.FillColor = vbWhite Shape3.FillColor = vbWhite Case 300 Shape1(0).FillColor = vbWhite End Sub Case 200 Shape1(0).FillColor = vbWhite Shape4.FillColor = vbWhite Shape5.Enabled = True If (Command2.Listing Program Private Sub Command1_Click() Timer1.Interval = 100 End If End Sub Private Sub Command3_Click() Timer1.FillColor = vbWhite Shape8.FillColor = vbBlue Shape3.FillColor = vbWhite Private Sub Command4_Click() End End Sub Private Sub Timer1_Timer() Dim a As Integer a = Timer1.Enabled = True Timer2.FillColor = vbWhite Shape7.Enabled = False If (Command1.Interval = 100 End If End Sub Private Sub Command2_Click() Timer1.FillColor = vbWhite Shape3.Interval = a + 100 Select Case a Case 100 Shape1(0).Enabled = True) Then Timer2.FillColor = vbBlue Shape2.FillColor = vbWhite Shape8.FillColor = vbWhite Shape4.Enabled = False Timer2.FillColor = vbWhite Shape4.FillColor = vbWhite Shape2.FillColor = vbWhite Shape2.FillColor = vbWhite Running Led | 2 .FillColor = vbWhite Shape5.FillColor = vbWhite Shape6.FillColor = vbWhite Shape7.

FillColor = vbWhite Case 700 Shape1(0).FillColor = vbWhite Shape3.FillColor = vbWhite Shape6.FillColor = vbWhite Shape5.FillColor = vbWhite Case 400 Shape1(0).FillColor = vbWhite Shape4.FillColor = vbWhite Shape6.Interval Timer2.FillColor = vbWhite Shape2.FillColor = vbWhite Shape3.FillColor = vbWhite Shape6.FillColor = vbBlue Shape8.FillColor = vbWhite Shape3.FillColor = vbWhite Shape5.Interval = 100 End Select End Sub Shape5.FillColor = vbBlue Case 200 Shape1(0).FillColor = vbWhite Shape8.FillColor = vbWhite Shape5.Interval = b + 100 Select Case b Case 100 Shape1(0).FillColor = vbWhite Shape7.FillColor = vbWhite Shape7.FillColor = vbWhite Shape4.FillColor = vbWhite Shape2.FillColor = vbWhite Shape3.FillColor = vbWhite Shape6.FillColor = vbWhite Shape8.FillColor = vbWhite Shape4.FillColor = vbWhite Shape8.FillColor = vbWhite Shape8.FillColor = vbWhite Private Sub Timer2_Timer() Dim b As Integer b = Timer2.FillColor = vbWhite Shape2.FillColor = vbWhite Shape3.FillColor = vbWhite Shape4.FillColor = vbWhite Shape2.FillColor = vbBlue Shape6.FillColor = vbWhite Shape2.FillColor = vbWhite Shape8.FillColor = vbWhite Shape5.FillColor = vbWhite Shape3.FillColor = vbWhite Shape2.FillColor = vbWhite Shape6.FillColor = vbBlue Case 900 Shape1(0).FillColor = vbWhite Shape6.FillColor = vbWhite Running Led | 3 .FillColor = vbWhite Case 500 Shape1(0).FillColor = vbWhite Shape8.FillColor = vbWhite Shape7.FillColor = vbWhite Shape6.FillColor = vbWhite Shape2.FillColor = vbWhite Shape5.Shape5.FillColor = vbWhite Case 600 Shape1(0).FillColor = vbWhite Shape4.FillColor = vbWhite Shape3.FillColor = vbWhite Shape5.FillColor = vbWhite Shape3.FillColor = vbWhite Shape4.FillColor = vbWhite Shape7.FillColor = vbBlue Shape7.FillColor = vbWhite Shape4.FillColor = vbWhite a=0 Timer1.FillColor = vbWhite Shape4.FillColor = vbWhite Shape8.FillColor = vbWhite Shape7.FillColor = vbBlue Shape5.FillColor = vbWhite Shape2.FillColor = vbWhite Shape7.FillColor = vbWhite Case 800 Shape1(0).FillColor = vbWhite Shape7.

kita dapat mengatur sendiri warna dan bentuk sesuai kebutuhan.FillColor = vbWhite Shape3.FillColor = vbWhite Case 300 Shape5.FillColor = vbWhite Case 400 Shape6.FillColor = vbWhite Shape5.FillColor = vbWhite Shape6. label.Shape6.FillColor = vbBlue Shape2. Kesimpulan dan Saran Dalam menggunakan visual basic ini.FillColor = vbWhite Case 600 Shape4.FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape4.FillColor = vbWhite Shape6.FillColor = vbWhite Shape7.FillColor = vbWhite Shape7. frame.Interval = 100 Shape4.FillColor = vbWhite Shape4.FillColor = vbWhite Shape2.FillColor = vbWhite Shape5.FillColor = vbBlue Shape3.FillColor = vbWhite Case 700 Shape7.FillColor = vbWhite End Sub Shape6.FillColor = vbWhite Case 800 Shape7. Setelah itu. Running Led | 4 .FillColor = vbWhite Shape6.FillColor = vbWhite F.FillColor = vbWhite Shape2.FillColor = vbBlue Shape7.FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape2.FillColor = vbWhite Timer2.FillColor = vbWhite End Select Shape5.FillColor = vbWhite Shape6. Untuk membuat simulasi Running Led dalam praktek kali ini bisa menggunakan shape.FillColor = vbBlue Shape8.FillColor = vbWhite Shape5.FillColor = vbWhite Shape5.FillColor = vbWhite Shape3.FillColor = vbWhite Shape4. kita dapat mendesain program sesuai dengan keinginan.FillColor = vbWhite Shape8.FillColor = vbWhite Shape4. dan command.FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape8.FillColor = vbBlue Shape8.FillColor = vbWhite b=0 Shape3.FillColor = vbWhite Shape7.FillColor = vbWhite Shape7.FillColor = vbWhite Shape3.FillColor = vbBlue Shape7.FillColor = vbWhite Case 500 Shape6.FillColor = vbWhite Shape5.FillColor = vbWhite Shape8.FillColor = vbWhite Shape8.FillColor = vbWhite Shape3.FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape4.FillColor = vbWhite Shape2.FillColor = vbWhite Shape2.FillColor = vbBlue Case 900 Shape3.FillColor = vbWhite Shape8.FillColor = vbWhite Shape1(0).FillColor = vbWhite Shape2.FillColor = vbWhite Shape8.FillColor = vbWhite Shape1(0).