diff --git a/src/client/julia/src/RedPitayaDAQServer.jl b/src/client/julia/src/RedPitayaDAQServer.jl index 4c442615..8a464a1f 100644 --- a/src/client/julia/src/RedPitayaDAQServer.jl +++ b/src/client/julia/src/RedPitayaDAQServer.jl @@ -210,7 +210,7 @@ function stringToEnum(enumType::Type{T}, value::AbstractString) where {T <: Enum end imgversion(rp::RedPitaya) = query(rp, scpiCommand(imgversion), scpiReturn(imgversion)) -scpiCommand(::typeof(imgversion)) = "RP:VER:IMG?" +scpiCommand(::typeof(imgversion)) = "RP:VERsion:IMAGe?" scpiReturn(::typeof(imgversion)) = UInt32 """ diff --git a/src/server/scpi_commands.c b/src/server/scpi_commands.c index e268a210..7629ba5b 100644 --- a/src/server/scpi_commands.c +++ b/src/server/scpi_commands.c @@ -1705,7 +1705,7 @@ const scpi_command_t scpi_commands[] = { {.pattern = "STATus:PRESet", .callback = SCPI_StatusPreset,}, /* RP-DAQ */ - {.pattern = "RP:VERsion:IMaGe?", .callback = RP_GetImageVersion,}, + {.pattern = "RP:VERsion:IMAGe?", .callback = RP_GetImageVersion,}, {.pattern = "RP:MODe?", .callback = RP_GetServerMode,}, {.pattern = "RP:MODe", .callback = RP_SetServerMode,}, // DAC