当前位置:网站首页>Several rolling captions based on LabVIEW

Several rolling captions based on LabVIEW

2020-11-09 07:30:00 Oc jklrr90y

@LabVIEW

After learning a little skill, I still need to CSDN once , In case you don't find it the next time you need it ..

(1) Scrolling down subtitles based on string array and string control

The basic idea is to take each string from the array and send it to display ; Scrolling is to use the number of cycles and the number of rows in the array to get the index value of the loop .
 Front panel shot
 chart 2 Block diagram

(2) Scrolling captions based on long strings and string controls

The basic idea is to use the intercepting string function , Add... To each offset 2, The length is the same .
 chart 3 Front panel
 chart 4  Block diagram

(3) Horizontal pendulum type scrolling caption based on the whole movement of string control

This is when the length of the corresponding string is less than the width of the display area .
Ideas : String as a whole , Its left position in the display area can be written through the attribute node . Change it , The whole string is moving . The design pattern adopts the basic state machine pattern .
 chart 5 Front panel
 chart 6 Scroll the branch to the right
 chart 7 Scroll the branch to the left



(4) Horizontal scrolling subtitles based on numeric display control slider and string image

Ideas : In custom controls , Replace the slide image on the slider bar with the picture to be displayed . By changing the size of the value to be displayed in turn, you can make the slider scroll .
 chart 8 Front panel
 chart 9  Block diagram
Rolling subtitles , If the front panel screenshots can be made into execution animation , Not yet ; Among them, the size difference is relatively large , Browsing may seem disorganized . The procedure is relatively simple , No download address attached . Something like this , I wrote 1 More than an hour ? What efficiency? This is , Workers ! Which is the default title , We can't save or distribute ?


版权声明
本文为[Oc jklrr90y]所创,转载请带上原文链接,感谢