Hi, welcome to this episode.
In this tutorial, i am going to show you
how to perform BLE measurement test by using LabVIEW.
There are quite a number of steps in this test.
But don't worry, i will explain all of them step by step from the beginning to the end.
So in the previous video, i have already done step 1 and step 2.
So just a quick brief about what we have done in the last video.
In the last video, we have already connected with the driver.
All we have to do now is to initialize it to perform any other action.
And now i will begin this tutorial from step 3
which is to configure the measurement setup parameter.
There it is. So prepare yourself and let's get started.
First, we need to create these 5 blocks in sequence
to initialize the BleClass and BleSignaling
Then we are calling the method of Configure()
In this example, we are setting the Output power level,
Number of expected packet to be received, Number of permitted fail packet,
and also the Scan delay of Rx PER test.
So the Scan delay of Rx PER test is referring to the maximum time duration
allocated for the DUT to respond to a Scan Request sent by the tester.
So this is all for step 3. Let's proceed to step 4
Perform the test and get result
So there are quite a number of sub steps under step 4
so let's begin with the step 4.1, BLE Device Discovery
So we call the method of GetScanInfo().
When this method is called
the system will scan for advertising packets from the surrounding BLE devices.
And a list of Mac addresses, RSSI values and capability information
of the detected devices will be then returned as result.
And the DUT scan delay property
which is this one is referring to the device scanning duration.
And also you can make use of the rssifilter
to filter off the undesired device.
So in this example, we set the filter to -60dBm.
So any detected device under -60 will be filtered off.
And the MAC address of the DUT
to be tested will be used in subsequence methods for measurement.
And also the system has the capability to check if the device
is able to support Active Scanning or Connection mode
or neither of them.
So this done by using the CheckActiveScanSupport() method
and also the CheckConnectRequestSupport()
So by passing the MAC address of the DUT
so we can detect whether the DUT is supporting Active Scan or Connect Request.
So once we have done determine the capabilities of the DUT
the Rx PER test can be executed accordingly.
In receiver PER measurement, the tester is tracking the response message
from the DUT to the request message sent from the tester.
So any missing response message or message received with errors will be considered as a bad packet.
So the method of Acquire() will be called if the DUT supports for Active Scan.
And also the method of GetConnectedPER()
will be called if the DUT supports Connect Request.
And the result will be returned in percentage.
So let's proceed to the step 4.4, Tx Measurement test.
For Tx output power measurement, we are calling the method of MeasureAdvChPower().
So this system will capture the advertising packet transmitted
from the DUT at channel 37, 38 and 39
in one measurement acquisition, and measure it's average power level.
So after all of these, we need to close the program
by using the close() and disconnect() method.
So we have done everything.
Now let us run the program and perform the test.
We open up the front panel.
And we run the program.
So the first one is the IdnString which read from the driver.
For active scan is 0%. The same goes to Connect Request.
Below are the Tx Output Measurement Power.
So this is all for this tutorial and i hope you will learn something from this.
In the next episode, we will go through how do we perform the Wireless LAN measurement test.
Thanks for watching and i will see you again in the next episode.