The paper deals with the emulation of two-terminal analog electronic devices using digital signal processing inside the loop. Such devices can be used for performing circuit experiments when physical parts are not available or even discovered. A microcontroller measures terminal voltage or current and computes current or voltage response. Based on our previous work the paper analyzes the emulator with voltage-controlled current source for emulating resistive and inductive devices. A new configuration for resistive systems is proposed, which extends the region of stable operation. A digital compensation of parasitic effects of the smoothing filter and zero-order-hold DA converter is presented both for resistive and inductive systems.