Fixes for DC sweep directive generated by Simulator settings dialog
This commit is contained in:
parent
ab8c88f10b
commit
fe92630f16
|
@ -91,7 +91,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
||||||
m_dcStop1->IsEmpty() || m_dcIncr1->IsEmpty() )
|
m_dcStop1->IsEmpty() || m_dcIncr1->IsEmpty() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
simCmd += wxString::Format( "%s %s %s %s",
|
simCmd += wxString::Format( "v%s %s %s %s",
|
||||||
m_dcSource1->GetValue(), m_dcStart1->GetValue(),
|
m_dcSource1->GetValue(), m_dcStart1->GetValue(),
|
||||||
m_dcStop1->GetValue(), m_dcIncr1->GetValue() );
|
m_dcStop1->GetValue(), m_dcIncr1->GetValue() );
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
||||||
m_dcStop2->IsEmpty() || m_dcIncr2->IsEmpty() )
|
m_dcStop2->IsEmpty() || m_dcIncr2->IsEmpty() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
simCmd += wxString::Format( "%s %s %s %s",
|
simCmd += wxString::Format( "v%s %s %s %s",
|
||||||
m_dcSource2->GetValue(), m_dcStart2->GetValue(),
|
m_dcSource2->GetValue(), m_dcStart2->GetValue(),
|
||||||
m_dcStop2->GetValue(), m_dcIncr2->GetValue() );
|
m_dcStop2->GetValue(), m_dcIncr2->GetValue() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue