• Tidak ada hasil yang ditemukan

BAB IV ANALISA DAN PEMBAHASAN

4.6 Komentar Umum

Dilihat dari data, analisa, dan pembahasan data, dapat dibuktikan bahwa secara

keseluruhan, program simulasi ini dapat berjalan dengan baik sesuai dengan dasar

teori dan perancangan.

BAB V

KESIMPULAN DAN SARAN

5.1 Kesimpulan

Kesimpulan tentang program simulasi untuk visualisasi resource management

pada jaringan WCDMA adalah :

1. Program simulasi untuk visualisasi resource management pada jaringan

WCDMA sudah berhasil dibuat dan dapat dijalankan dengan baik sesuai

dengan perancangan dan dasar teori.

2. Program simulasi ini dapat memvisualisasikan beberapa program pilihan dari

menu utama yang sesuai dengan batasan masalah dan dasar teori, yaitu

downlink dan uplink fast power control, downlink dan uplink outer loop power

control, soft handover dan handover antar sistem antara WCDMA dan GSM,

serta admission control.

5.2 Saran

Dari program simulasi yang telah dibuat dan diselesaikan, masih terdapat

kekurangan, yaitu program simulasi untuk visualisasi fast power control, yang terdiri

dari downlink fast power control dan uplink fast power control, mempunyai

jangkauan masukan yang terbatas. Sehingga jika pengguna mengisi masukan di luar

jangkauan, maka program akan mengalami error dan tidak dapat dijalankan.

Sedangkan program simulasi untuk visualisasi outer loop power control, yang

terdiri dari downlink outer loop power control dan uplink outer loop power control,

terdapat beberapa masukan Eb/No yang mengakibatkan program menjalankan proses

perulangan (looping) yang terlalu banyak, sehingga program akan berjalan sangat

lambat untuk mencapai hasil yang diharapkan.

Untuk dapat memberi hasil program yang lebih baik, penulis menyarankan:

1. Masih banyak hal yang dapat dilakukan di luar batasan masalah pada bab

I, seperti pembahasan tentang handover antar frekuensi dalam WCDMA,

handover antar frekuensi antara WCDMA dan GSM, load control, dan

resource management lainnya.

2. Dalam membuat program simulasi untuk visualisasi resource management

pada jaringan WCDMA dapat memakai program selain Visual Basic untuk

mendapatkan hasil tampilan yang lebih menarik dan pembahasan tentang

resource management pada jaringan WCDMA yang lebih mendalam.

3. Untuk mengurangi kemungkinan terjadinya error pada program simulasi

untuk visualisasi fast power control, akan lebih baik jika dalam pembuatan

program simulasi untuk visualisasi fast power control lebih

memperhatikan beberapa faktor yang dapat mempengaruhi kinerja jaringan

WCDMA, sehingga diperoleh persamaan yang lebih kompleks.

4. Untuk mengurangi lamanya proses perulangan pada program simulasi

untuk visualisasi outer loop power control, akan lebih baik jika pengguna

DAFTAR PUSTAKA

[1] Holma, Harri dan Toskala, Antti, “WCDMA for UMTS”, John Willey & Sons

ltd, Inggris, Edisi 2.

[2] Cen, Yue, “Soft Handover Issues in Radio Resource Management for 3G

WCDMA Networks”, Master Thesis, University of London, Queen Mary,

September 2003.

http://www.elec.qmul.ac.uk/research/thesis/YueChen2003.pdf

(diakses 15 Desember 2006)

[3] http://www.google.com/WCDMA (diakses 30 Juli 2006)

[4] Pollonen, Janne, “Quality of Service Based Admission Control for WCDMA

Mobile Systems”, Master Thesis, Helsinki University of Technology, 13

November 2001.

http://www.sal.hut.fi/Publications/pdf-files/tpol01.pdf (diakses 30 Juli 2006)

[5] Karim, M.R. dan Sarraf, Mohsen, “WCDMA and cdma2000 for 3G Mobile

Network”, McGraw-Hill Telecom, New York.

[6] De Alwis, Priyan Mihira, “Call Admission Control and Resource Utilization in

WCDMA Networks”, Master Thesis, University of Canterbury, Christchurch,

New Zealand, Februari 2005.

http://www.cosc.canterbury.ac.nz/research/reports/MastTheses/2005/mast_0502.

pdf (diakses 15 Desember 2006)

[7] http://www-rst.int-evry.fr/~chahed/elayoubi_LNCS_2005.pdf (diakses 15

Desember 2006)

[8] http://www.scipub.org/fulltext/jcs/jcs210789-793.pdf (diakses 15 Desember

2006)

[9] Dahlman, Erik, Beming, Per, Knutsson, Jens, Ovesjo, Fredrik, Persson, Magnus

dan Roobol, Christiaan, “WCDMA – The Radio Interface for Future Mobile

Multimedia Communications”, IEEE Transactions on Vehicular Technology,

Vol. 47, No. 4, November 1998.

ieeexplore.ieee.org/iel4/25/15705/00728481.pdf (diakses 30 Juli 2006)

[10] Diktat Pemrograman II, “Pemrograman Orientasi Objek”.

[11] Nugroho, Bunafit, “Membuat Animasi dan Tampilan Cantik pada Interface

Form”, Gava Media, Yogyakarta.

[12] Pandia, Henry, “Visual Basic 6 Tingkat Lanjut”, ANDI, Yogyakarta.

[13] Yuswanto, “Pemrograman Grafis dan Multimedia”, Prestasi Pustaka Publisher,

Surabaya.

LAMPIRAN A

Lampiran Listing Program LA1

LISTING PROGRAM

MENU UTAMA

Private Sub AC_Click() Unload Me

TujuanSimulasiAC.Show End Sub

Private Sub AC2_Click() Unload Me

LangkahSimulasiAC.Show End Sub

Private Sub Antar_Click() Unload Me

TujuanSimulasiHCAntarSistem.Show End Sub

Private Sub Antar2_Click() Unload Me

LangkahSimulasiHCAntarSistem.Show End Sub

Private Sub CmdAdmissionControl_Click() Unload Me

AdmissionControl.Show End Sub

Private Sub CmdHandoverControl_Click() Unload Me

HandoverControl.Show End Sub

Private Sub CmdKeluar_Click() Dim konf As Integer

konf = MsgBox("Are you sure?", vbYesNo + 256 + 32, "konfirmasi")

If konf = 6 Then End

End If End Sub

Private Sub CmdPowerControl_Click() Unload Me

PowerControl.Show End Sub

Private Sub Downlink_Click() Unload Me

LangkahSimulasiDLFastPC.Show End Sub

Private Sub Downlink2_Click() Unload Me

LangkahSimulasiDLOuterLoopPC.Show End Sub

Private Sub Fast_Click() Unload Me

TujuanSimulasiFastPC.Show End Sub

Private Sub Form_Load() Timer1.Enabled = True

Timer1.Interval = 500 End Sub

Private Sub Istilah_Click() Unload Me

DaftarSingkatan.Show End Sub

Private Sub Outer_Click() Unload Me

TujuanSimulasiOuterLoopPC.Show End Sub

Private Sub Soft_Click() Unload Me

TujuanSimulasiSoftHC.Show End Sub

Private Sub Soft2_Click() Unload Me

LangkahSimulasiSoftHC.Show End Sub

Private Sub Timer1_Timer() If Label2.Visible = True Then Label2.Visible = False Else

Label2.Visible = True End If

End Sub

Private Sub Timer2_Timer() Dim waktu As Variant waktu = Now

Label3.Caption = Format(waktu, "hh:mm:ss") End Sub

Private Sub Uplink_Click() Unload Me

LangkahSimulasiULFastPC.Show End Sub

Private Sub Uplink2_Click() Unload Me

LangkahSimulasiULOuterLoopPC.Show End Sub

POWER CONTROL (PC)

Private Sub CmdKeluar_Click() Dim konf As Integer

konf = MsgBox("Are you sure?", vbYesNo + 256 + 32, "konfirmasi")

If konf = 6 Then End

End If End Sub

Private Sub CmdMenuUtama_Click() Unload Me

MenuUtama.Show End Sub

Private Sub CmdOK_Click() If OptFastPC = True Then If OptDownlink = True Then DLFastPC.Show

ElseIf OptUplink = True Then ULFastPC.Show

Else

MsgBox "Arah pengiriman belum dimasukkan", cbOKOnly + vbExclamation, "Arah Pengiriman" End If

ElseIf OptOuterLoopPC = True Then If OptDownlink = True Then DLOuterLoopPC.Show ElseIf OptUplink = True Then ULOuterLoopPC.Show Else

MsgBox "Arah pengiriman belum dimasukkan", cbOKOnly + vbExclamation, "Arah Pengiriman" End If

Else

If OptDownlink = True Then MsgBox "Jenis power control belum

dimasukkan", cbOKOnly + vbExclamation, "Jenis Power Control"

ElseIf OptUplink = True Then MsgBox "Jenis power control belum

dimasukkan", cbOKOnly + vbExclamation, "Jenis Power Control"

Else

MsgBox "Jenis power control dan arah pengiriman belum dimasukkan", cbOKOnly + vbExclamation, "Jenis Power Control dan Arah Pengiriman"

End If End If End Sub

Private Sub Form_Load() OptFastPC = False OptOuterLoopPC = False OptDownlink = False OptUplink = False End Sub

DOWNLINK FAST POWER CONTROL

Private Sub CmdKeluar_Click() Dim konf As Integer

konf = MsgBox("Are you sure?", vbYesNo + 256 + 32, "konfirmasi")

If konf = 6 Then End

End If End Sub

Private Sub CmdMenuPC_Click() Unload Me

PowerControl.Show End Sub

Private Sub CmdMenuUtama_Click() Unload Me

MenuUtama.Show End Sub

Private Sub CmdReset_Click() Image1.Visible = False Image2.Visible = False Shape4.Visible = False Label14.Visible = False Image3.Visible = False Shape5.Visible = False Label16.Visible = False Shape6.Visible = False Label15.Visible = False Label17.Visible = False MSChart1.Visible = False OptGol1 = False OptGol2 = False OptGol3 = False OptGol4 = False OptStepSize05 = False OptStepSize1 = False TxtSIR.Text = "" TxtPTx.Text = "" TxtSIRtar.Text = "" TxtPTxi.Text = "" TxtSIRi = "" End Sub

Private Sub CmdSimulasiDLFastPC_Click() On Error GoTo AdaError

Image1.Visible = True Image2.Visible = True Shape4.Visible = True Label14.Visible = True Image3.Visible = True Label17.Visible = True MSChart1.Visible = True Dim SIRtar, PTx, SIR As Single Dim a, b, c As Single

If OptGol1.Value = True Or OptGol2.Value = True Or OptGol3.Value = True Or OptGol4.Value = True Then

If OptStepSize05.Value = True Or OptStepSize1.Value = True Then If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Nilai SIR dan nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "SIR dan PTx"

Else

MsgBox "Nilai SIR belum dimasukkan", vbOKOnly + vbExclamation, "SIR"

End If Else

If TxtPTx.Text = "" Then

MsgBox "Nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "PTx"

End If End If

ElseIf OptStepSize05.Value = False And OptStepSize1.Value = False Then

If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Step size, nilai SIR, dan nilai PTx belum dimasukkan", vbOKOnly +

vbExclamation, "Step Size, SIR, dan PTx" Else

MsgBox "Step size dan nilai SIR belum dimasukkan", vbOKOnly + vbExclamation, "Step Size dan SIR"

End If Else

Lampiran Listing Program LA3

MsgBox "Step size dan nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "Step Size dan PTx"

Else

MsgBox "Step size belum dimasukkan", vbOKOnly + vbExclamation, "Step Size" End If

End If End If

ElseIf OptGol1.Value = False And OptGol2.Value = False And OptGol3.Value = False And

OptGol4.Value = False Then If OptStepSize05.Value = True Or OptStepSize1.Value = True Then If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Golongan, nilai SIR, dan nilai PTx belum dimasukkan", vbOKOnly +

vbExclamation, "Golongan, SIR, dan PTx" Else

MsgBox "Golongan dan nilai SIR belum dimasukkan", vbOKOnly + vbExclamation, "Golongan dan SIR"

End If Else

If TxtPTx.Text = "" Then

MsgBox "Golongan dan nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "Golongan dan PTx"

Else

MsgBox "Golongan belum dimasukkan", vbOKOnly + vbExclamation, "Golongan" End If

End If

ElseIf OptStepSize05.Value = False And OptStepSize1.Value = False Then

If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Golongan, step size, nilai SIR, dan nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "Golongan, Step Size, SIR, dan PTx"

Else

MsgBox "Golongan, step size, dan nilai SIR belum dimasukkan", vbOKOnly +

vbExclamation, "Golongan, Step Size, dan SIR" End If

Else

If TxtPTx.Text = "" Then

MsgBox "Golongan, step size, dan nilai PTx belum dimasukkan", vbOKOnly +

vbExclamation, "Golongan, Step Size, dan PTx" Else

MsgBox "Golongan dan step size belum dimasukkan", vbOKOnly + vbExclamation, "Golongan dan Step Size"

End If End If End If End If SIR = Val(TxtSIR.Text) PTx = Val(TxtPTx.Text) If SIR < 3 Or SIR > 10 Or PTx < 3 Or PTx > 10 Then

MsgBox "Nilai SIR dan atau PTx tidak sesuai dengan jangkauan yang diperbolehkan", vbOKOnly + vbExclamation, "Jangkauan Masukan"

Image1.Visible = False Image2.Visible = False Shape4.Visible = False Label14.Visible = False Image3.Visible = False Label17.Visible = False MSChart1.Visible = False

ElseIf SIR >= 3 And SIR <= 10 And PTx >= 3 And PTx <= 10 Then

If OptGol1.Value = True Then SIRtar = 4

TxtSIRtar.Text = SIRtar a = PTx

i = Abs(SIRtar - SIR)

If OptStepSize05.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 0.5 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 0.5 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR

ElseIf OptStepSize1.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 1 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 1 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR

ElseIf OptStepSize05.Value = False And OptStepSize1.Value = False Then

MsgBox "Step size belum dimasukkan", vbOKOnly + vbExclamation, "Step Size" End If

SIRtar = 7

TxtSIRtar.Text = SIRtar a = PTx

i = Abs(SIRtar - SIR)

If OptStepSize05.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 0.5 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 0.5 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR

ElseIf OptStepSize1.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 1 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 1 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR End If

ElseIf OptGol3.Value = True Then SIRtar = 5

TxtSIRtar.Text = SIRtar a = PTx

i = Abs(SIRtar - SIR)

If OptStepSize05.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 0.5 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 0.5 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR

ElseIf OptStepSize1.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 1 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 1 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR End If

ElseIf OptGol4.Value = True Then SIRtar = 5

TxtSIRtar.Text = SIRtar a = PTx

i = Abs(SIRtar - SIR)

If OptStepSize05.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 0.5 b = PTx

ElseIf SIR < SIRtar Then Shape6.Visible = True Label15.Visible = True PTx = PTx + 0.5 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR

ElseIf OptStepSize1.Value = True Then Do While i > 0.001

If SIR > SIRtar Then Shape5.Visible = True Label16.Visible = True PTx = PTx - 1 b = PTx

Lampiran Listing Program LA5

Shape6.Visible = True Label15.Visible = True PTx = PTx + 1 b = PTx End If c = a / b SIR = c * SIRtar TxtPTxi.Text = PTx TxtSIRi.Text = SIR i = Abs(SIRtar - SIR) a = PTx Loop TxtPTxi.Text = PTx TxtSIRi.Text = SIR End If End If End If With MSChart1 .chartType = VtChChartType2dBar .ColumnCount = 2 .RowCount = 1 .ShowLegend = True

.TitleText = "Grafik Visualisasi Perbandingan SIR dan SIRtarget"

.Row = 1

.RowLabel = "i = |SIRtar-SIR| = " & i .Column = 1 .ColumnLabel = "SIRtar" .Data = SIRtar .Column = 2 .ColumnLabel = "SIR(i)" .Data = SIR End With Exit Sub AdaError:

MsgBox "Program tidak dapat dijalankan", vbOKOnly + vbCritical, "Error"

Image1.Visible = False Image2.Visible = False Shape4.Visible = False Label14.Visible = False Image3.Visible = False Shape5.Visible = False Label16.Visible = False Shape6.Visible = False Label15.Visible = False Label17.Visible = False MSChart1.Visible = False TxtSIRtar.Text = "" TxtPTxi.Text = "" TxtSIRi = "" Exit Sub End Sub

Private Sub DasarDLFastPC_Click() Unload Me

TeoriDLFastPC.Show End Sub

Private Sub Form_Load() Image1.Visible = False Image2.Visible = False Shape4.Visible = False Label14.Visible = False Image3.Visible = False Shape5.Visible = False Label16.Visible = False Shape6.Visible = False Label15.Visible = False Label17.Visible = False MSChart1.Visible = False OptGol1 = False OptGol2 = False OptGol3 = False OptGol4 = False OptStepSize05 = False OptStepSize1 = False TxtSIR.Text = "" TxtPTx.Text = "" TxtSIRtar.Text = "" TxtPTxi.Text = "" TxtSIRi = "" End Sub

Private Sub OptGol1_Click() If OptGol1.Value = True Then If OptStepSize05.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 4,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptStepSize1.Value = True Then MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 4,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub OptGol2_Click() If OptGol2.Value = True Then If OptStepSize05.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 7,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptStepSize1.Value = True Then MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 7,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub OptGol3_Click() If OptGol3.Value = True Then If OptStepSize05.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptStepSize1.Value = True Then MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub OptGol4_Click() If OptGol4.Value = True Then If OptStepSize05.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptStepSize1.Value = True Then MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub OptStepSize05_Click() If OptStepSize05.Value = True Then If OptGol1.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 4,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol2.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 7,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol3.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol4.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,499 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub OptStepSize1_Click() If OptStepSize1.Value = True Then If OptGol1.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 4,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol2.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 7,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol3.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" ElseIf OptGol4.Value = True Then

MsgBox "Jangkauan masukan nilai SIR dan PTx adalah 3 dB s/d 5,999 dB", vbOKOnly + vbInformation, "Jangkauan SIR dan PTx" End If

End If End Sub

Private Sub Timer1_Timer()

If Image1.Visible = True And Image2.Visible = True Then

If Image3.Visible = True And Label14.Visible = True And Shape4.Visible = True Then

Image3.Visible = False Label14.Visible = False Shape4.Visible = False Else Image3.Visible = True Label14.Visible = True Shape4.Visible = True End If Else

'tidak terjadi proses visualisasi End If

End Sub

UPLINK FAST POWER CONTROL

Private Sub CmdKeluar_Click() Dim konf As Integer

konf = MsgBox("Are you sure?", vbYesNo + 256 + 32, "konfirmasi")

If konf = 6 Then End

End If End Sub

Private Sub CmdMenuPC_Click() Unload Me

PowerControl.Show End Sub

Private Sub CmdMenuUtama_Click() Unload Me

MenuUtama.Show End Sub

Private Sub CmdReset_Click() Image1.Visible = False Image2.Visible = False Shape4.Visible = False Label14.Visible = False Image3.Visible = False Shape6.Visible = False Label16.Visible = False Shape5.Visible = False Label7.Visible = False Label17.Visible = False MSChart1.Visible = False OptGol1 = False OptGol2 = False OptGol3 = False OptGol4 = False OptStepSize1 = False OptStepSize2 = False OptStepSize3 = False TxtSIR.Text = "" TxtPTx.Text = "" TxtSIRtar.Text = "" TxtPTxi.Text = "" TxtSIRi = "" End Sub

Private Sub CmdSimulasiULFastPC_Click() On Error GoTo AdaError

Image1.Visible = True Image2.Visible = True Shape4.Visible = True Label14.Visible = True Image3.Visible = True Label17.Visible = True MSChart1.Visible = True Dim SIRtar, PTx, SIR As Single Dim a, b, c As Single

Lampiran Listing Program LA7

If OptGol1.Value = True Or OptGol2.Value = True Or OptGol3.Value = True Or OptGol4.Value = True Then

If OptStepSize1.Value = True Or

OptStepSize2.Value = True Or OptStepSize3.Value = True Then

If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Nilai SIR dan nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "SIR dan PTx"

Else

MsgBox "Nilai SIR belum dimasukkan", vbOKOnly + vbExclamation, "SIR"

End If Else

If TxtPTx.Text = "" Then

MsgBox "Nilai PTx belum dimasukkan", vbOKOnly + vbExclamation, "PTx"

End If End If

ElseIf OptStepSize1.Value = False And OptStepSize2.Value = False And OptStepSize3.Value = False Then If TxtSIR.Text = "" Then If TxtPTx.Text = "" Then

MsgBox "Step size, nilai SIR, dan nilai PTx belum dimasukkan", vbOKOnly +

vbExclamation, "Step Size, SIR, dan PTx" Else

MsgBox "Step size dan nilai SIR belum dimasukkan", vbOKOnly + vbExclamation, "Step Size dan SIR"

End If Else

If TxtPTx.Text = "" Then

MsgBox "Step size dan nilai PTx belum

Dokumen terkait