mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 23:43:42 +00:00
Changes to standard SCPI commands: IDN/OPC
This commit is contained in:
parent
7370ed7f17
commit
0ba1493d19
3 changed files with 7 additions and 2 deletions
|
|
@ -477,7 +477,10 @@ void AppWindow::CreateToolbars()
|
|||
void AppWindow::SetupSCPI()
|
||||
{
|
||||
scpi.add(new SCPICommand("*IDN", nullptr, [=](QStringList){
|
||||
return "LibreVNA-GUI";
|
||||
return "LibreVNA,LibreVNA-GUI,dummy_serial,"+appVersion;
|
||||
}));
|
||||
scpi.add(new SCPICommand("*OPC", nullptr, [=](QStringList){
|
||||
return "1";
|
||||
}));
|
||||
auto scpi_dev = new SCPINode("DEVice");
|
||||
scpi.add(scpi_dev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue