1. I was wondering if the code above in your post are the "programs" that make the 100% image into the various other images and xml code? Is it xml?
No, it is VisualBasic from the Visual Studio 2019 toolset. Those were used in order to make the repetitive bitmaps and resulting xml code. Took
much less time to write that code to do it rather than using photoshop & editing the xml code directly..
2. I have Ifranview but haven't done any batch processing with it. Is it something that you do from the GUI or from the command prompt like with imagetool? If so, how?
From the GUI in Irfanview:
File | Batch Conversion / Rename
A quick visual tutorial.. Play with it using sacrificial bitmaps to learn more.
3. Is it possible to do this with the regular 8-bit indexed image with mask, or do the images have to be 1-bit? I ask since I have a particular shade of green color I'm using for the sine waves I've made so far.
Sure! I just used 1 bit to keep the 100 bitmaps sizes low. (gauge overhead) If you are using only 1 color for the green, you could if wanted, change the 1 bit (2 colors) palette to include the green. Color 0 = 0,0,0 Color 1 = "your green"
But.. That would most likely have to be done using a image program, 1 file at a time..
4. I understand the macro is available to get (at least the code) from the wiki here. How did you come about any other calculations you would need for the gauge to work? Is there a reference of some sort?
No other calculations, the voltage knob adjusts the amplitude. The macro adds poor waveform trigger noise in the X direction <Shift>, the macro also adds poor "front end" electronic noise to the amplitude (Y).
Voltage knob + Noise ( nearest integer, limit value 1-100 ) --> select amplitude bitmap.
Will need to read through your description, multiple times (with lots of coffee!

) in order to get a grasp of what you are trying to do.
The example above was just that.. A quickly made example, but working only with amplitude. (Y)
Working with time (time/division) will be much more difficult because the waveform "shape" actually changes resulting making the bitmaps quite a chore, some batching, and a lot of hand editing (fitting, repeating to canvas).
Working in both in the X/Y would square the amount of bitmaps needed! Could always reduce the resolution (currently 100 in the Y) to help.
An option if wanting both X&Y without using 10,000 bitmaps @ 100 resolution.. It would require you to relinquish a "full simulation" in the Y direction. You would use only the top half of the waveform with the scope's "zero line" being at the bottom. The result would be a clipped waveform (think diode) but still able to measured in the X using the peaks or the crossings of the "zero point" on the scope.
Example:
I can see further morning projects with the coffee! Just for fun.