This project is an example VSM ACTIVE model for the Proteus simulation tool. The example builds from the SDK VSM MODELING TUTORIAL. Instead of the numeric voltmeter, this example lights 4 distinct simulated LED bars. The test circuit directly drives a 5V sine wave into the analog input pin.
The RTVPROBE primitive directs its data into the ANIMATE function. In this usage model, where RTVPROBE is the device primitive, the ACTIVEDATA structure receives real data. The real data is decoded and the appropriate pre-defined active component is drawn using drawsymbol(). The animated effect is the 4-LED bars ramping on and off.
This example also shows how to create a pop-up window. In this case, debug output is sent to the window.