I think there may be a typo in the source code for the COM Automation.
When I run the "GetConductance" method from a VBScript, I get the same exact values as the "GetCapacitance" method, irrespective of the complex permittivity. However, the same LST/QUI files generate OK values when run directly in the FasterCap application. I am running Ver 6.0.0.
In the GitHub repo, file FasterCapMain.cpp, lines 1414 through 1426 read:
HRESULT STDMETHODCALLTYPE IFasterCap::GetCapacitance(VARIANT *ret)
{
VariantCopy(ret, (LPVARIANT) (((Globals::GetApp())->GetFasterCapFrame())->m_clsCapMatrix) );
return(NOERROR);
}
HRESULT STDMETHODCALLTYPE IFasterCap::GetConductance(VARIANT *ret)
{
VariantCopy(ret, (LPVARIANT) (((Globals::GetApp())->GetFasterCapFrame())->m_clsCapMatrix) );
return(NOERROR);
}
I am not sure how these are called, but they appear identical.
Thanks for any help
Brody Mahoney