Example of IOC control program for DC power supply based on EPICS stream module

This example program implements network control and access to the UDP6720 series DC power supply. First, let’s introduce the hardware used in this project: 1. UDP6721 DC power supply: controlled equipment 2. moxa serial port server 5150: converts the UDP6721 DC power supply device serial port connection into a network connection 3. Orange Pie Zero3: […]

A complete example of applying the CNN model trained on MNIST to recognize handwritten digit pictures (pictures from the Internet)

1 Think about how to apply the training model How can the MNIST model trained through CNN be applied to recognize pictures of handwritten digits (pictures come from the Internet)? This problem bothered me for 2 days. Many of the codes I found online were to train the model and call the model in a […]

You can easily develop scripts for get and post requests simply based on the interface documentation. Can you do it?

General interface document description content: Develop a script for get requests. The description of the interface document is as follows: Create an empty script in loadrunner : In the action blank space, click insert->step Enter web_custom_request and double-click to select the function , fill in the following parameter values: The generated script is as follows: […]

Node cross-domain Node.js deployment Verce Use node.js to simply build Web services Use node to simply build back-end services Use node to build services Deploy Vercel Deploy vercel express modular development

Node cross-domain Node static page Deploy vercel express modular development Use node.js to simply build web services Use node to simply build back-end services Use node to build services Deploy Vercel Deploy vercel express modular development 1. Initialize project 2. Install the Express.js web service framework 3. Create the app.js main entry file and implement […]

[Teng Xuehui’s second experimental code] Apply Matplotlib to draw icon analysis

import matplotlib.pyplot as plt import numpy as np Pictures displayed inside #Jupter Notebook %matplotlib inline #1.1.1 Line graph np.random.seed(42) #Generate random seeds y = np.random.randn(30) #Generate random numbers plt.plot(y, “r–o”)#Plot: red–dashed line–circle # 1.1.2 Line color, line type, mark shape x = np.random.randn(30) y = np.random.randn(30) plt.title(“Example”) plt.title(“Example”) y1 = np.random.randn(30)#Generate random numbers y2 = […]

Is it possible to apply CSS to half of a character?

Content from DOC https://q.houxu6.top/?s=Is it possible to apply CSS to half of a character? What I’m looking for: A way to style half of a character. (In this case half of the letters are transparent) What I have searched for and tried so far (without success): Method used to style characters/letters Styling part of a […]

“How to apply data analysis to improve the efficiency of software development process?”

Article directory A word of positive energy every day Preface What can python do? Using python tools for data analysis What are the introductory learning methods and recommended classic textbooks for Python? Data analysis thinking and methods Data analysis ideas Clarify the purpose or problem Start with a “what if” approach Locking causes problems Basic […]

Springboot integrates Klock to simply implement distributed locks

Can distributed locks be implemented with just one annotation? Doesn’t it sound exciting? Is it the springboot annotation stream again, implemented in a fool-proof way? Wait, simplicity is simplicity, we still need to see how it is implemented, and then see if it is suitable for our business. @Klock is also implemented based on Redisson. […]

UIAutomation in action: automatic reply

1. Import third-party libraries that may be needed import time from datetime import datetime import uiautomation as auto import pyperclip importpyautogui import pygetwindow importsys import subprocess import SparkApi import AskSpark 2. Initialize some software or programs that you want to control automatically def initialization_qn(): # subprocess.Popen([‘Qianniu Workbench.exe’], shell=False) # Avoid using shell=True: In some cases, […]