The volatile - solving stubborn infinite loops in Multithreaded C Code
A practical example of compiler optimization side effects: when the volatile
keyword becomes essential
A practical example of compiler optimization side effects: when the volatile
keyword becomes essential
Annoying issue in LabVIEW NXG/Vision with Rotated ROI: When an ROI is rotated and the image is subsequently zoomed in/out by the user, the anchors remain unrotated. They only update after moving or resizing the ROI. Here’s how to fix it
Second post about LabVIEW and Rust. This time we will pass native LabVIEW array into DLL written in Rust and resize inside.
Finally wrote command line script to build open62541 library automatically (more or less).
To get DeepSeek running on your PC you will need enough RAM, and it is quite easy with llama.cpp. Below step by step guide and results.
For some reason, I need a fast method for string search. The LabVIEW Search/Split String function is relatively slow, I’ve done this using String Zilla, and achieved around a 20x boost with AVX2/AVX512.
I just encountered slow string performance in LabVIEW when a large string is passed to a DLL as a C string pointer. It is always better to pass it as ‘Adapt to Type’ instead of a pointer.
LabVIEW 2025 Q1 and Vision 2025 was release in January. I downloaded and installed both, but some problems are occurred.
Pair production is the creation of a subatomic particle and its antiparticle from a neutral boson. Examples include creating an electron and a positron, and below some my notes about this.
By default its limited, but can be manually increased in LabVIEW.ini
ParallelLoop.MaxNumLoopInstances=256
Sometimes we need to check MD5 or SHA256 checksums for downloaded files. An easiest way:
certutil -hashfile <FILE> MD5
or with PowerShell:
Get-FileHash <FILE> -Algorithm SHA256
In attempt to install winget on Windowss 11 LTSC as recommended by Microsoft I’ve got error message. Below the simple workaround
Recently upgraded CPU in my ancient laptop from i7-4800MQ to i7-4940MX, which is Extreme Edition, and need legacy Intel Extreme Tuning Utility, version XTUSetup 6.5.1.360 is compatible.
The number 2025 is indeed a fascinating one with numerous interesting mathematical properties, because 2025 can be obtained by squaring the 9th triangular number and as result, one of the most remarkable facts about 2025 is, that it’s the sum of the cubes of all single-digit numbers at the same time:
$$ 2025 = 45^2 $$$$ 2025 = (1+2+3+4+5+6+7+8+9)^2 $$$$ 2025=1^3+2^3+3^3+4^3+5^3+6^3+7^3+8^3+9^3 $$B&R PLC could be programmed with C and C++. But you can also use Assembly. Below short instruction how to do that.