Kingst Virtual Instruments User Guide (v3.5)
Kingst Virtual Instruments User Guide (v3.5)
Kingst Virtual Instruments User Guide (v3.5)
com
The specific effect is shown in the following figure: when there is signal change on the channel, the
green light will be on; when there is no signal change on the channel, the low level will be
displayed as “0”, and the high level will be displayed as “1”; when the device is not connected, no
information will be show.
By selecting the “Use Color for Waveform” option in the menu, the waveform line drawn in the
software waveform display window can use the color of this channel, as shown in the following
figure.
The height of all channels would be set to the same value by default, but if you want to enable or
- 23 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
highlight only some channels, you could set the height of these channels separately. As is shown in
the below figure, you could click the settings button in the right of the channel name, and it will
pop up menu, you could set the height of this channel to 1,2,4 and 8 times of standard size. In this
way, these channels will be highlighted.
Click “Channel Enable Settings” in the menu, you could enable or close the appropriate channel in
the Settings box.
Click “Reset All Channels” in this menu, you could reset the channels to default state, for example
default height, name, triggering condition etc.
If you want change the channel name, as is shown in the below figure, just left click the channel
name and input a new name.
To do so, press the main menu button on the top right corner, and select “Save Settings...” in the
menu, as is shown the below figure.
- 24 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
A file saving dialog would appear, and you should specify file path and name, and then press
“Save”. The channel settings and analyzer settings will be save into this file. If you want to use the
same settings, just press “Open…” in the main menu, locate the file in the file dialog and open it.
②. Save the data: when the device has completed one sampling process, you can save the data and
settings together for future use.
You could click the main menu button in the top right corner of the software, and then click
“Save data...” in the main menu,and it will pop up a dialog like the one shown below. In the
“Channel selection” box of the dialog box, you can select which channels need to be exported, and
the default is to select all enabled channels.Then, in the “Time Select” box, you can select the data
for which period of time to export, including “All time”, and the “Specified time interval” that can
be manually set at the start and end time, and the “Between timing markers A1 and A2”. After
setting, click “OK”, select the path and file name to be saved, then you can save the current
sampling data and settings. Use “Open...” to open the saved data again.
- 25 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
As is shown in the below figure, exporting original sample data is done by “Export data…” in the
main menu.
You could export the data as txt, csv, bin. The file types could be opened and edited with other
software, for example, open csv with Excel to find and organize data, and import bin with Matlab
for further analysis.
If a analyzer has been added, and some data has been successfully analyzed, you could export and
save the analyzed data of this analyzer.
On the right side of the analyzer, you could see a settings button, and if you press it and select
“Export Data” in the popped menu, the analyzed data could be exported as txt or csv file, which
could be opened with notepad or Excel for checking and analyzing.
The figure below shows what is the analyzed data is like for UART, I2C and SPI. And in this file,
we could find time coordinate, packet sequence number and analyzed data.
- 26 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
After you left-click the icon with the mouse, a drop-down list appears, as shown below.
Then you can select the threshold voltage you want to set, after the selection is completed, it will be
displayed below the icon, as shown in the above figure. In addition, you can also
customize the threshold voltage, select “User-defined” in the drop-down list and enter the threshold
voltage at “Vth:” .
- 27 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
PWM generator:There are two PWM waveform generators in the logic analyzer except LA1002,
and they can generate square wave whose duty cycle could be adjusted. When the device which
support PWM export is connected to the software, by default, PWM1 output 1KHz square wave
with 50% duty cycle; PWM2 output 1KHz square wave with 50% duty cycle.
Select on or off PWM1 and PWM2 in the “PWM Settings” box. If it is turned on, we could edit the
frequency and duty cycle. After the settings are complete, just press the “OK” button, and the
software will generate the PWM signal with the new configuration.
Trigger position setting: The position of the trigger signal during the total sampling period.
For example, in the above figure, the setting value in the “Trigger Position” box is 5%. If the total
sampling time is 1s, when the sampling time reaches 0.05s, it is detected whether the set trigger
condition is satisfied, and if it satisfies, it continues to sample until the total sampling time, and if it
is not satisfied, it waits for the trigger.
Set the trigger position by sliding the slider in the “Trigger Position” box.
- 28 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
In the “Sampling progress display” box, select the first option to display the sampling progress in
the waveform window; select the second option to display the sampling progress in the status bar in
the lower left of the software.
In the “View state after new sampling” box, the first option maintains the previous display scale
and the position of the timeline. The second option maintains the previous display scale and moves
the time zero point to the current window. The third option causes each sampled waveform to be
scaled to display in one screen.
When “Enable” is selected in the “Animate zooming” box, the waveform lines have animated
effects when scaled in the software waveform display window. By default, “Enable” is selected.
In the “auto repeat sampling” box, when the first option is selected, whether or not the trigger is
- 29 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
met, the waveform will be repeatedly sampled, that is, the waveform will be continuously refreshed;
when the second option is selected, only when the trigger condition is met, the waveform will be
repeatedly sampled and refreshed.
When “Enable” is selected in the “Check for updates on launch” box, the updates is automatically
checked when you open the software. If you select "Disable", it is not checked. By default,
"Enable" is selected. At the same time, you can manually check for updates, select “Check for
updates...” in the main menu to check for software updates.
- 30 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
1. UART/232/485
For standard UART, RS232 and RS485, they have the same timing definitions of the physical layer,
so they share the same analyzer, and the figure below shows the setting dialog of UART/232/485
analyzer.
2nd item, set the baud rate, and the baud rate here should match that in actual use.
3rd item, use the auto baud, and the software could identify the baud rate automatically. In case of
the baud rate is unknown, this option should be enabled. But the accuracy of automatic
identification depends on actual signal, and the result could be incorrect.
4th item, select whether or not to invert. Usually, the inversion is only applicable to the standard
RS232 level (Because RS232 specifies that the positive level is 0, the negative level is 1, so it is
necessary to invert the phase when analyzing.). If it is not inverted, so it is suitable for UART,
RS485, etc.
5th item, select the number of data bits, and it is 8 most of the time.
6th item, select the number of stop bits, and there are 3 options: 1, 1.5 and 2.
7th item, set the parity bit, and there are 3 options: no parity, even parity and odd parity..
8th item, set the bit order in data transfer, and the options could be LSB(Least Significant Bit) Sent
First and MSB(Most Significant Bit) Sent First.
- 31 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
9th item, set bit 9 as address flag in multiple machine communication or not, and by default, None.
When this mode is actually used (seldom used, note that it is different with RS485 multiple
machine communication), it could be used for address byte flag.
Please note that if the signal under test is differential signal like RS485 and RS232, there are 3
ways to connect the wire:
①. The GND channel of the logic analyzer is connected to the GND of the test system, and 2 signal
channels are connected to RXD and TXD pins of the level shift chip respectively.
②. The GND channel of the logic analyzer is connected to the GND of the test system, and 1 signal
channel is connected to the RS485-A.
③. Connect the RS485 bus to a module that transfer RS485 to TTL, and the GND and a signal
channel of the logic analyzer are connected to the GND and signal export end of the system under
test.
Most of the time, all these 3 ways could be used to sample the signal, but according to RS485
specification, the voltage which the A-B ends could identify is between 0.2~6V. In complicated
situations, such as master with many slaves or long wire, the difference of the bus end could be too
little, and the logic analyzer could not identify the signal level correctly with method 2. So method
1 and method 3 are recommended if conditions permit.
2. I2C
The setting dialog of I2C analyzer is shown below:
3rd item, the way to display the address byte. For I2C protocol, every communication is started with
addressing operation, and this byte contains 1-bit read / write flag and device address which is
7-bit wide. And there are three options to display: to display as a whole (8-bit, read / write bit
included); to display as a whole but the read / write flag is 0(8-bit, read/write bit set as 0); only
display 7-bit address (7-bit, address bits only).
- 32 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
3. SPI
The setting dialog of SPI analyzer is shown below:
1st item, the channel for MOSI signal (master out slave in)
2nd item, the channel for MISO signal (master in slave out)
5th item, transmission mode of data bits: MSB(Most Significant Bit) First or LSB(Least Significant
Bit) First, usually MSB First.
7th item, idle state of the clock. CPOL = 0: the clock wire remains low in idle state. CPOL = 1: the
clock wire remains high in idle state.
8th item, the edge in which data is latched. CPHA=0: data latched in first clock edge. CPHA=1:
data latched in second clock edge.
9th item, the active level of enable signal: active low(Enable line is Active Low) or active
high(Enable line is Active High).
4. CAN
The setting dialog of CAN analyzer is shown below:
- 33 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
3rd item, set the logic to invert, need to invert when measuring CAN-High signal line directly.
Please note that the signal from CAN bus is differential, there are 3 ways to measure CAN signal:
①. The GND channel of the logic analyzer is connected to the GND of the test system, and 2 signal
channels are connected to RXD and TXD pins of the level shift chip respectively.
②. The GND channel of the logic analyzer is connected to the L end of CAN bus, and 1 signal
channel is connected to the CAN-H, and now you should select “Inverted (CAN High)”.
③. Connect the CAN bus to a module that transfer CAN to TTL, and the GND and a signal
channel of the logic analyzer are connected to the GND and signal export end of the system under
test.
Most of the time, all these 3 ways could be used to sample the signal, but according to CAN
specification, the voltage between the H-L ends is 0V and 2V. In complicated situations, such as
master with many slaves or long wire, the difference of the bus end could be too little, and the logic
analyzer could not identify the signal level correctly with method 2. In addition, the GND channel
of method 2 need to be connected to the CAN-L end, but if other signals need to be tested at the
same time, the grounding could be confusing. So method 1 and method 3 are recommended if
conditions permit.
5. Parallel
Parallel analyzer, the sampling values of multiple channels at the same time are combined into a
16bits data. When the level of any channel changes, a data is generated. It’s setting window is as
follows:
- 34 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
17th item, select the number of sample periods for data filtering. Because in actual use, it is
impossible to achieve complete synchronization for changes of multiple channels, so when data
changes, it is possible to generate false intermediate transition values. This option is used to filter
out this intermediate status. The signal must be kept unchanged for more than n sampling periods
before it is recognized as valid data.
6. 1-Wire
The setting dialog of 1-Wire analyzer is shown below:
- 35 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
7. DMX-512
The setting dialog of DMX-512 analyzer is shown below:
8. UNI/O
The setting dialog of UNI/O analyzer is shown below:
Only the above 8 kinds of protocol parsers have been briefly introduced. Other protocols supported
by the logical analyzer can be used by you and you can contact us if you have any questions.
http://www.qdkingst.com/download/vis_sdk
- 36 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
VI. FAQs
Second, the device driver is installed automatically by installation program during installing
process. If the driver installation is blocked unintentionally during installation process, or it is not
installed correctly due to other reasons, when you connect the device for the first time, the driver
installation would fail too. In this case, you can find the unknown hardware devices in the device
manager, click the right button to install the driver program again. Please select manual installation.
The driver program is located in “installation directory \ Driver \ ”, and select the right directory
based on your operating system.
It is normal that the glitch appears on unused channels, this is because the floating channel wire is
like an antenna, and it will transmit weak and alternating signal, and this would result in glitches.
We could hide such channels, or keep them and the signal channels at a longer distance. And we
should check the grounding of the logic analyzer and the system under test.
And for the glitches which appear when measuring multiple channels with high speed, the reason
for that has been explained in the section “Multipoint grounding to increase accuracy”, and the
method to handle this is multipoint grounding
- 37 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
would be generated; otherwise, only the count for last state would be incremented and no new
sample data would be generated. And as a result of this, if the signal is discontinuous (for most
communication system) or change slowly, the sample depth would be extended greatly. However, if
the signal change rapidly the extension effect would not be so obvious. This is why the sample time
is less than expected when the sample depth is set above 100M (all the depth items with *) and the
signal changes rapidly.
- 38 - 2020-12-12
Kingst Virtual Instruments User Guide (v3.5) www.qdkingst.com
VII. Contact us
Thanks for choosing our product, if you have any questions, please contact us in the following
ways, and we will serve you wholeheartedly.
Mobile: +86-13780615696
Web: www.qdkingst.com
QQ:415942827
E-mail: service@qdkingst.com
AliExpress link: http://www.aliexpress.com/store/2791035
- 39 - 2020-12-12