Pvbrowser Manual

Pvbrowser Manual

pvbrowser manual http://pvbrowser.org July 19, 2016 II Contents Credits VII Preface IX 1 Introduction 1 2 Installation 3 3 pvbrowser client 5 4 pvdevelop IDE 7 5 Using Qt Creator as IDE 11 6 Programming 15 6.1 Structure of a pvserver . 15 6.1.1 Project file for qmake . 15 6.1.2 main function . 16 6.1.3 masks . 20 6.1.4 slot functions . 24 6.1.5 header file . 27 6.1.6 structure PARAM . 30 6.2 Slot programming . 31 6.3 Util functions . 33 6.4 rllib . 33 6.5 Lua ................................................... 35 6.5.1 main.lua . 35 6.5.2 maskN.lua . 36 6.5.3 maskN slots.lua . 40 6.5.4 modbus.ini . 44 6.6 Python . 45 6.7 Widgets . 47 6.7.1 PushButton . 48 6.7.2 RadioButton . 48 6.7.3 CheckBox . 49 6.7.4 Label . 49 6.7.5 LineEdit . 49 6.7.6 MultiLineEdit . 50 6.7.7 ComboBox . 50 6.7.8 LCDNumber . 50 6.7.9 Slider . 51 6.7.10 Frame . 51 6.7.11 GroupBox . 51 6.7.12 ToolBox . 52 6.7.13 TabWidget . 52 6.7.14 ListBox . 53 6.7.15 Table . 53 III IV CONTENTS 6.7.16 SpinBox . 54 6.7.17 Dial . 54 6.7.18 Line . 55 6.7.19 ProgressBar . 55 6.7.20 ListView . 55 6.7.21 IconView . 56 6.7.22 TextBrowser/WebKit . 56 6.7.23 DateTimeEdit . 57 6.7.24 DateEdit . 57 6.7.25 TimeEdit . 57 6.7.26 QwtThermo . 58 6.7.27 QwtKnob . 58 6.7.28 QwtCounter . 59 6.7.29 QwtWheel . 59 6.7.30 QwtSlider . 59 6.7.31 QwtDial . 60 6.7.32 QwtAnalogClock . 60 6.7.33 QwtCompass . 61 6.7.34 Custom Widgets within pvbrowser . 61 6.8 Graphics . 66 6.8.1 Bitmap graphics . 67 6.8.2 xy graphics . 67 6.8.3 external plotting tools . 70 6.8.4 SVG graphics . 74 6.8.5 OpenGL . 85 6.8.6 VTK . 92 6.8.7 Graphics interface for the server . 96 6.9 Dialogs . 96 6.9.1 MessageBox . 96 6.9.2 InputDialog . 97 6.9.3 FileDialog . 98 6.9.4 ModalDialog . 98 6.9.5 DockWidget . 99 6.9.6 PopupMenu . 100 6.10 Language translations . 100 6.11 Converting units . 102 6.12 Layout Management . 103 6.13 Setting the TAB order . 103 6.14 Using stylesheets within pvbrowser . 103 6.15 Webcam . 106 6.16 Cookies . 107 6.17 Adding httpd functionality to your pvserver . 107 7 Data Acquisition 111 7.0.1 Copy the daemon to the standard directory . 111 7.0.2 The INI file for your daemon . 113 7.0.3 Configure the shared memory and mailbox . 113 7.0.4 Run the daemon and pvserver for testing . 113 7.1 Modbus . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    162 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us