vb:run_webhmi_as_virtual_machine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
run_webhmi_as_virtual_machine [2019/01/16 10:51] – akuzmuk | vb:run_webhmi_as_virtual_machine [2022/10/25 14:15] – [Windows 10 host system] emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Run WebHMI | + | {{ : |
+ | |||
+ | ====== Run Virtual Box WebHMI | ||
It is possible to run WebHMI as virtual machine. You can download VirtualBox image at [[https:// | It is possible to run WebHMI as virtual machine. You can download VirtualBox image at [[https:// | ||
- | {{ :: | + | {{ network: |
You must have [[https:// | You must have [[https:// | ||
Line 8: | Line 11: | ||
Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | ||
- | {{ :: | + | {{ network: |
This will run VirtualBox and add WebHMI virtual machine into it. | This will run VirtualBox and add WebHMI virtual machine into it. | ||
- | {{ :: | + | {{ network: |
You might want to adjust Processors amount on **System-> | You might want to adjust Processors amount on **System-> | ||
- | {{ :: | + | {{ network: |
Also you might need to select correct network adapter on **Network-> | Also you might need to select correct network adapter on **Network-> | ||
- | {{ :: | + | {{ network: |
Close settings window and click **Start** button. | Close settings window and click **Start** button. | ||
- | {{ :: | + | {{ network: |
Virtual machine will be started now. | Virtual machine will be started now. | ||
- | {{ :: | + | {{ network: |
In about 10-20 seconds it will complete boot process. You should see " | In about 10-20 seconds it will complete boot process. You should see " | ||
- | {{ :: | + | {{ network: |
By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | ||
Line 39: | Line 42: | ||
Open [[http:// | Open [[http:// | ||
- | {{ :: | + | {{ network: |
+ | |||
+ | Default credentials are: | ||
+ | |Login| admin| | ||
+ | |Password| admin| | ||
Congratulations! You was able to run WebHMI on your computer. Have fun with it. | Congratulations! You was able to run WebHMI on your computer. Have fun with it. | ||
+ | |||
+ | |||
+ | ====== Adding serial ports to the virtual image ====== | ||
+ | |||
+ | ===== Windows 10 host system ===== | ||
+ | For Windows 10 host system, a USB filter should be set up in the image properties. | ||
+ | Please refer to the following picture: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Be sure you enabled the USB converter for the virtual machine: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Select your serial device in the connection properties, as shown in this [[connection_of_additional_rs-232_422_485_ports|article ]]. | ||
====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
Line 60: | Line 82: | ||
Go to virtual machine settings, select **Network**-> | Go to virtual machine settings, select **Network**-> | ||
- | {{ : | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ : | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' | ||
==== Create Virtual Network ==== | ==== Create Virtual Network ==== | ||
- | In some cases you might want to create absolutely independent network for your virtual machine. These might be security or any other reasons. | + | In some cases you might want to create absolutely independent network for your virtual machine. These might be security or any other reasons. Here is [[https:// |
For example, if you have only only one Ethernet adapter which is not connected anywhere. In this case your operation system will to send any traffic to such interface and you will be unable to use WebHMI' | For example, if you have only only one Ethernet adapter which is not connected anywhere. In this case your operation system will to send any traffic to such interface and you will be unable to use WebHMI' | ||
Line 75: | Line 97: | ||
To create new virtual network go to **File**-> | To create new virtual network go to **File**-> | ||
- | {{ :: | + | {{ network: |
Click " | Click " | ||
- | {{ :: | + | {{ network: |
Now go to WebHM' | Now go to WebHM' | ||
- | {{ :: | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ :: | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' |
vb/run_webhmi_as_virtual_machine.txt · Last modified: 2024/04/05 08:33 by emozolyak