Industrial IT and Automation
Industrial IT and Automation
  • 250
  • 1 671 245
OPC UA in Python
This Tutorial will use the OPC UA protocol to send data between different devices or different programs. OPC UA is a communication protocol. OPC UA is mainly used for industrial purposes (industrial automation), and it is one of the most used protocols in the industry today.
There exists lots of different OPC packages and libraries for Python. This Tutorial will demonstrate OPC UA in Python with some basic Code Examples using the “opcua” Python package. This Tutorial will use the Thonny Python Editor and the Spyder Python Editor, but other Python Editors can of course also be used. This Tutorial will use the OPC UA Server Simulator from Integration Objects (free OPC UA server for Test and Demonstration purposes), but other OPC UA Servers can of course also be used.
We will create both OPC UA Clients and an OPC UA Server using Python and the “opcua” Python package.
PowerPoint used in the video: www.halvorsen.blog/documents/programming/python/resources/powerpoints/OPC%20UA%20in%20Python.pdf
Blog:
www.halvorsen.blog
CZcams Channel @Industrial IT and Automation ​
czcams.com/users/IndustrialITandAutomation
Python Resources:
www.halvorsen.blog/documents/programming/python/
zhlédnutí: 702

Video

Introduction to Visual Studio and Csharp
zhlédnutí 284Před 2 měsíci
Introduction to Visual Studio, C# and .NET. How to create a basic Windows Desktop Application. Step-by-step Code Examples using the “Windows Forms App” template will be provided. You will learn to use the Solution Explorer, use the Toolbox, use the Designer to create User Interface, set Properties, create and use Event Handlers, create and use Variables, use built-in Methods in your code, creat...
Analog Out Example with NI DAQmx using Visual Studio
zhlédnutí 151Před 2 měsíci
The purpose is to write data (Analog Out) using a DAQ device where we use Visual Studio and C#. We will exemplify by using a DAQ device from NI (previously National Instruments). We will use a DAQ device called USB-6008 (which is part of the USB-600x low-cost series). DAQ devices from NI use the NI-DAQmx driver. Tutorial: www.halvorsen.blog/documents/programming/csharp/tutorials/DAQmx.php Blog:...
LED Example with NI DAQmx using Visual Studio
zhlédnutí 137Před 2 měsíci
The purpose is to write data (Digital Out) using a DAQ device where we use Visual Studio and C#. We will use a basic LED as an example. We will exemplify by using a DAQ device from NI (previously National Instruments). We will use a DAQ device called USB-6008 (which is part of the USB-600x low-cost series). DAQ devices from NI use the NI-DAQmx driver. Tutorial: www.halvorsen.blog/documents/prog...
Analog In Battery Example with NI DAQmx using Visual Studio
zhlédnutí 155Před 2 měsíci
The purpose is to read data using a DAQ device where we use Visual Studio and C#. We will make a simple example where we read the voltage value from a 1.5V Battery. We will exemplify by using a DAQ device from NI (previously National Instruments). We will use a DAQ device called USB-6008 (which is part of the USB-600x low-cost series). DAQ devices from NI use the NI-DAQmx driver. Tutorial: www....
TMP36 Temperature Sensor Example with NI DAQmx using Visual Studio
zhlédnutí 89Před 2 měsíci
The purpose is to read data from a TMP36 Temperature Sensor using a DAQ device where we use Visual Studio and C#. We will exemplify by using a DAQ device from NI (previously National Instruments). We will use a DAQ device called USB-6008 (which is part of the USB-600x low-cost series). DAQ devices from NI use the NI-DAQmx driver. Tutorial: www.halvorsen.blog/documents/programming/csharp/tutoria...
LabVIEW SQL Toolkit
zhlédnutí 607Před 3 měsíci
This video gives an overview of Database Communication in LabVIEW using the "LabVIEW SQL Toolkit". Although LabVIEW has built-in functionality (LabVIEW Database Connectivity Toolkit) for communicating with SQL databases, the "LabVIEW SQL Toolkit" may be a simpler alternative. PowerPoint used in the video: www.halvorsen.blog/documents/technology/database/resources/LabVIEW SQL Toolkit.pdf Downloa...
Database Systems
zhlédnutí 138Před 3 měsíci
This video introduces database systems with focus on modelling with erwin Data Modeler, using SQL Server and the Structured Query Language (SQL). Video contents: - Introduction to Database Systems - Database Management Systems - Database Design with Practical Examples using erwin Data Modeler - SQL Server - Popular Database System from Microsoft - Structured Query Language (SQL) with Practical ...
UaExpert OPC UA Client
zhlédnutí 2,7KPřed 5 měsíci
UaExpert is an OPC UA Client from Unified Automation. UaExpert OPC UA Client will be demonstrated and tested with different OPC UA Servers: 1. LabVIEW OPC UA Server made from scratch with LabVIEW and LabVIEW OPC UA Toolkit 2. OPC UA Server Simulator from Integration Objects 3. Python OPC UA Server made from scratch using Python and “opcua” Python package/library PowerPoint used in the video: ww...
DAQ and I/O Modules in LabVIEW - Digital Input
zhlédnutí 763Před 5 měsíci
In this video series we will go through how you can communicate and use a DAQ device or I/O module in LabVIEW. Practical step by step examples will be shown in the videos. Different alternatives will be shown. DAQ and I/O Modules in LabVIEW Playlist: czcams.com/play/PLdb-TcK6Aqj2jNnYvRKk1BPDFaiLOMLVM.html PowerPoint (PDF) used in the videos: www.halvorsen.blog/documents/programming/labview/reso...
DAQ and I/O Modules in LabVIEW - Digital Output
zhlédnutí 858Před 5 měsíci
In this video series we will go through how you can communicate and use a DAQ device or I/O module in LabVIEW. Practical step by step examples will be shown in the videos. Different alternatives will be shown. DAQ and I/O Modules in LabVIEW Playlist: czcams.com/play/PLdb-TcK6Aqj2jNnYvRKk1BPDFaiLOMLVM.html PowerPoint (PDF) used in the videos: www.halvorsen.blog/documents/programming/labview/reso...
DAQ and I/O Modules in LabVIEW - Analog Input
zhlédnutí 938Před 5 měsíci
In this video series we will go through how you can communicate and use a DAQ device or I/O module in LabVIEW. Practical step by step examples will be shown in the videos. Different alternatives will be shown. DAQ and I/O Modules in LabVIEW Playlist: czcams.com/play/PLdb-TcK6Aqj2jNnYvRKk1BPDFaiLOMLVM.html PowerPoint (PDF) used in the videos: www.halvorsen.blog/documents/programming/labview/reso...
DAQ and I/O Modules in LabVIEW - Analog Output
zhlédnutí 1,1KPřed 5 měsíci
In this video series we will go through how you can communicate and use a DAQ device or I/O module in LabVIEW. Practical step by step examples will be shown in the videos. Different alternatives will be shown. DAQ and I/O Modules in LabVIEW Playlist: czcams.com/play/PLdb-TcK6Aqj2jNnYvRKk1BPDFaiLOMLVM.html PowerPoint (PDF) used in the videos: www.halvorsen.blog/documents/programming/labview/reso...
DAQ and I/O Modules in LabVIEW - Introduction
zhlédnutí 743Před 5 měsíci
In this video series we will go through how you can communicate and use a DAQ device or I/O module in LabVIEW. Practical step by step examples will be shown in the videos. Different alternatives will be shown. PowerPoint (PDF) used in the videos: www.halvorsen.blog/documents/programming/labview/resources/daq/DAQ and IO Modules in LabVIEW.pdf LabVIEW DAQ and I/O Modules: www.halvorsen.blog/docum...
TC-01 Thermocouple Temperature Device in LabVIEW
zhlédnutí 583Před 5 měsíci
In this Tutorial we will go through how you can communicate and get data from a NI TC-01 Thermocouple Temperature device in LabVIEW. Practical step by step examples will be shown in the video. Different alternatives will be shown. PowerPoint (PDF) used in the video: www.halvorsen.blog/documents/programming/labview/resources/daq/TC-01 Thermocouple in LabVIEW.pdf LabVIEW DAQ and I/O Modules: www....
LabVIEW DAQmx - Communicate with NI DAQ Devices in LabVIEW
zhlédnutí 2,7KPřed 5 měsíci
LabVIEW DAQmx - Communicate with NI DAQ Devices in LabVIEW
Case Structures in LabVIEW
zhlédnutí 633Před 5 měsíci
Case Structures in LabVIEW
Clusters in LabVIEW
zhlédnutí 709Před 5 měsíci
Clusters in LabVIEW
Property Nodes in LabVIEW
zhlédnutí 880Před 5 měsíci
Property Nodes in LabVIEW
Project Explorer in LabVIEW
zhlédnutí 284Před 5 měsíci
Project Explorer in LabVIEW
Debugging in LabVIEW
zhlédnutí 298Před 5 měsíci
Debugging in LabVIEW
Arrays in LabVIEW
zhlédnutí 608Před 5 měsíci
Arrays in LabVIEW
Formula Node in LabVIEW
zhlédnutí 627Před 5 měsíci
Formula Node in LabVIEW
SubVIs in LabVIEW
zhlédnutí 290Před 5 měsíci
SubVIs in LabVIEW
Plotting in LabVIEW
zhlédnutí 481Před 5 měsíci
Plotting in LabVIEW
For Loops in LabVIEW
zhlédnutí 436Před 5 měsíci
For Loops in LabVIEW
While Loops in LabVIEW
zhlédnutí 655Před 5 měsíci
While Loops in LabVIEW
Write and Read Measurement Data Files in LabVIEW
zhlédnutí 1,7KPřed 5 měsíci
Write and Read Measurement Data Files in LabVIEW
State Machine in LabVIEW
zhlédnutí 2,1KPřed 6 měsíci
State Machine in LabVIEW
LabVIEW
zhlédnutí 1,3KPřed 7 měsíci
LabVIEW

Komentáře

  • @nagapavansai
    @nagapavansai Před 21 hodinou

    Hello Sir, My Raspberry pi 3 is connecting to Labview and working I2C also connected and tested with ADS1115 module but when i am trying to MCP2515 SPI to CAN SPI communication not happening and also UART showing error like UART(0) not available & for SPI raspberrypi discinnecting but tested with raspberry pi board manually it os working fine. Raspberry pi:2019 raspbian buster OS LabView: 2020 Community edition If you help me it will support to my technical growth and also I able to do a lot of project with this. Thank you. Naga pavansai Kancharla.

  • @viethapham6583
    @viethapham6583 Před 3 dny

    Hi sir, Im begening learn labview. Can you teach me how to creat 1 combobox, the value load from 1 column on the SQL data base ?

  • @kin_1997
    @kin_1997 Před 5 dny

    great videa ty very much, however you should included the filler script for filling up the database with some samples

  • @malgailany
    @malgailany Před 8 dny

    Under what circumstances should we opt for a discrete model and controller instead of a continuous one? Nice video, thanks.

  • @lisasvedberg-f4t
    @lisasvedberg-f4t Před 11 dny

    Thanks for a great video! I have a question: is it possible to, in the same program, use the I2C communication and use the "normal" digital write/read with serial? I'm trying to control a DAC with I2C and at the same time control the other I/O pins with serial digital write/read.

  • @lalahorvath8452
    @lalahorvath8452 Před 11 dny

    Hello ! Books_Tables_Script.sql file ? Where to find ?

  • @deepti705
    @deepti705 Před 12 dny

    Do you have any video on creating ScottPlot chart using Excel Data Sets

  • @equinshadox
    @equinshadox Před 16 dny

    Expertly paced for beginners and professionally presented. Awesome little guide to talking to Arduino via LabVIEW!

  • @user-bu1ru5em7y
    @user-bu1ru5em7y Před 20 dny

    تحية طيبة شرح ممتاز. ارجو تفعيل ميزة الترجمة لو سمحت

  • @victoronzere66
    @victoronzere66 Před 22 dny

    Thgank you Sir!

  • @byronwieneke
    @byronwieneke Před měsícem

    At 11:49 you are hiding the main form then at 14:22 you are creating a new instance of the main form. Is that why closing the main app at 16:44 it stays running? wouldn't it make more sense to pass the main form to form 4, then on form 4 create a new instance and set it to the original instance for the main form? That way you only have one instance of the main form in memory, also then when you close the main form it stops it in visual studio. - nevermind that also creates a memory leak... so would the best way to handle that be to use events to trigger the show / hide of the main form?

  • @ukerodriguezmartin3835
    @ukerodriguezmartin3835 Před měsícem

    Thanks for your excelents explanations it is quiet rare to find someone so methodic and clear!!

  • @user-xi2kf4sn5s
    @user-xi2kf4sn5s Před měsícem

    thank you for your sharing

  • @jimlang5864
    @jimlang5864 Před měsícem

    Why didn't you talk about the Firewall warning. Seems important.

  • @michaelleblanc8229
    @michaelleblanc8229 Před měsícem

    You have proven that an old dog like me can be taught new tricks, Thank You Sir,

  • @michaelleblanc8229
    @michaelleblanc8229 Před měsícem

    Thank you Sir, this helped alot.

  • @nanbolkeza8296
    @nanbolkeza8296 Před měsícem

    great explanation and very useful for my work. thank you sir

  • @ayomideojo5202
    @ayomideojo5202 Před měsícem

    Can you please do a video on how to parse the data from thingspeak please

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před měsícem

      Hi, It is shown in this video and in the resources you find in the Description field below the video. LabVIEW examples are shown in the video but code details can be found in the Description field below the video.

  • @AdityaSingh-hm8ky
    @AdityaSingh-hm8ky Před měsícem

    can u explain why is start address 1 in code but in the software it is 0?

  • @yasheshratnakar9750
    @yasheshratnakar9750 Před měsícem

    Thank You for all your DAQ videos.

  • @yasheshratnakar9750
    @yasheshratnakar9750 Před měsícem

    What if I go beyond 5 Volt and below 0 V?? Will it harm the DAQ device?

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před měsícem

      Yes it can probably harm your device, so it is important to check using a multimeter or something

  • @samriddhsarbalhi4439
    @samriddhsarbalhi4439 Před měsícem

    Hello Sir, I am trying to interface Raspberry Pi 4 with LV 2020 Community edition, but not able to do so. Always at LV side error as not able to connect to target. Can you share the Raspberry Pi OS which you used and successfully interface as described here. Please share link to download Raspberry Pi OS

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před měsícem

      There is only one place you can download the Raspberry Pi OS image, see the Description field for the video and the information there.

  • @ericbrenner690
    @ericbrenner690 Před měsícem

    Thank you for this. However, in the future, I would ask that you go through each step from start to finish. I have never used a DAQ device and it would have been beneficial to see each step through the process.

  • @YasheshRatnakar
    @YasheshRatnakar Před 2 měsíci

    Thank You very much for such wonderful and educative videos

  • @alexliroyd3684
    @alexliroyd3684 Před 2 měsíci

    Hello, I have few questions: 1. My thermistor shows 6 degrees more in the room. Is it Ok to just deduct 6 from final value? Or with increaing temparute , it will be not correct? I'm planning to use it up to 100' с. 2. Have hard time with 100k thermistor. I use also 100k resistor and put in code Ro= 100 000. But final result is 65. It's 42'c more than expected. Any advice here? Thanks in advance!

    • @alexliroyd3684
      @alexliroyd3684 Před 2 měsíci

      Tried to play with Ro(increasing it) and tried to use static parameter to deduct value. Both options doesnt work. With increasing temperature real gap in value of temperature is also increasing( I use separate thermometer as reference, which shows accurate value).

    • @alexliroyd3684
      @alexliroyd3684 Před 2 měsíci

      Thermistor itself should work fine ( I took it from working thermometer, which I use as reference - I have more thn one). So might be some issue with formula or my schema itself. Would appreciate any advice.

    • @alexliroyd3684
      @alexliroyd3684 Před 2 měsíci

      Ok even with 10k thermistor - value is not consistent. Not sure how ppl can rely on it. Will try DS18B20 - maybe will be more lucky with it

  • @MVahediQB
    @MVahediQB Před 2 měsíci

    First of all, thank you for your video, second I have a question. Is that possible to read a file from cloud and show the data remotly (on the web or something like that)?

  • @Geppolele
    @Geppolele Před 2 měsíci

    Im connecting without problem with UAExpert, but with labview Toolkit I get an -356698 error (Unable to locate the host), but the address is the same... Any suggestions?

  • @daeseogback8206
    @daeseogback8206 Před 2 měsíci

    Thanks for your effort. I had learn many tip and design flow from this tutorial.

  • @kuo_0325
    @kuo_0325 Před 2 měsíci

    Thx so much

  • @setrepdergroe195
    @setrepdergroe195 Před 2 měsíci

    Many thanks for your videos😀😁

  • @charlesmaddrey7119
    @charlesmaddrey7119 Před 2 měsíci

    Thank you for this excellent and professional content.

  • @user-kb3or8jq7m
    @user-kb3or8jq7m Před 2 měsíci

    Thank you a lot. The best Tutorial series. I do not need to attend any course. Just following you, doing the same what you do.

  • @YasheshRatnakar
    @YasheshRatnakar Před 2 měsíci

    Thank You so much for all such LABView Videos

  • @pgbff
    @pgbff Před 2 měsíci

    you should make a course on udemy or somewhere

  • @pgbff
    @pgbff Před 2 měsíci

    love this channel... thanks!

  • @sambathnarayananparthasara9403

    Very well explained. Thank you !

  • @user-ee3ck4iu8w
    @user-ee3ck4iu8w Před 2 měsíci

    Thanks for your wonderful effort

  • @user-ee3ck4iu8w
    @user-ee3ck4iu8w Před 2 měsíci

    Greetings. Please, can you activate the translation?

  • @MHegazi
    @MHegazi Před 2 měsíci

    Hi Mr. Halvorsen, Thank you for such an informative video. Could you also create a tutorial showing how to transmit the logged data to a cloud server? Perhaps over Wifi or cellular? This would be ideal for mobile (in motion) systems.

  • @Maayan_1
    @Maayan_1 Před 2 měsíci

    Hi Halvorsen, can I use WinForm to create a search bar connecting to database and find each item by typing is name or id and view it in the form window?

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před 2 měsíci

      Hi, Yes that should be possible. I guess it is only your imagination and your skills that that sets the limit of what's possible to make.

  • @user-ip1gk9dj8y
    @user-ip1gk9dj8y Před 3 měsíci

    Good day i want to understand how can i implent methamatical model in python field multi objective optimization of integrated energy system

  • @laryssalima6435
    @laryssalima6435 Před 3 měsíci

    Amaaaazing ! it helped me a lot, thank you !

  • @airplanenut6242
    @airplanenut6242 Před 3 měsíci

    Thanks! This was a great refresher as I need to debug some Labview code and it's been at least 5-6 years since I touched Labview in University.

  • @sanjaybatra6593
    @sanjaybatra6593 Před 3 měsíci

    v good explanation to understand class. sir was able to place c2f() and f2c() function in class , since its small functions. what if the function is big enough??

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před 3 měsíci

      Large functions should be no problem. The limit is the built-in memory on the different Arduino devices.

  • @petersamios5409
    @petersamios5409 Před 3 měsíci

    Thanks - very clear in your explanations.

  • @LifeGeneralist
    @LifeGeneralist Před 3 měsíci

    What about SSL/TLS?

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před 3 měsíci

      Then HTTPS should be used

    • @LifeGeneralist
      @LifeGeneralist Před 3 měsíci

      @@IndustrialITandAutomation where to install Certificate on our code?

    • @IndustrialITandAutomation
      @IndustrialITandAutomation Před 3 měsíci

      The TLS certificate is normally on the server-side, in this case the ThingSpeak service. So basically use HTTPS instead of HTTP in your ThingSpeak API URL. Then the rest is taken care of by the server and the Python libraries used.

    • @LifeGeneralist
      @LifeGeneralist Před 3 měsíci

      @@IndustrialITandAutomation Ok thanks

  • @attilalenart865
    @attilalenart865 Před 3 měsíci

    Thanks to sharing this tutorial. It was useful. If Raspberry pi has a display can we see labview front panel to control the application?

  • @acartonofmilk89
    @acartonofmilk89 Před 3 měsíci

    absolute GIGACHAD

  • @IndustrialITandAutomation
    @IndustrialITandAutomation Před 3 měsíci

    Note! This Tutorial uses ScottPlot 4.x and not the newly released ScottPlot 5!

  • @IndustrialITandAutomation
    @IndustrialITandAutomation Před 3 měsíci

    Note! This Tutorial uses ScottPlot 4.x and not the newly released ScottPlot 5!