Indeed I already have some voltmeters I did to test scripted components linked with other components to make a display.
One uses a text item and the other one uses 7segment displays.
These voltmeters are 2 level:
There is an scripted component that reads the inputs and send data to linked components.
This scripted component is then linked to displays compoentes in a circuit used to make a subcircuit.
The easiest way to use these in to add the folder "test" to your "User data folder": https://simulide.com/p/settings/
Next time you open simulide you will see a new category "Test" in the component list with the new components.
There are 4 components:
VoltD: Scripted component.
Voltmeter0: subcircuit with VoltD and 7segment inside.
VoltT: Scripted component.
Voltmeter1: subcircuit with VoltT and test component inside.
You can see all files in File explorer->User Data->test
Note that I made these scripts just for testing , there ase a few missing things, but you probably will see it.
From here you can understand how everything works and edit void voltChanged() in voltD.as or voltT.as to make an AC voltmeter.
For any problem or anything that is not clear to you just comment here.