&scpi_tcp_raw_dev,
&scpi_tcp_rigol_dev,
&scpi_usbtmc_dev,
-#ifdef HAVE_RPC
+#if HAVE_RPC
&scpi_vxi_dev,
#endif
#ifdef HAVE_LIBSERIALPORT
if (!response)
return SR_ERR;
- if (sr_atof(response, scpi_response) == SR_OK)
+ if (sr_atof_ascii(response, scpi_response) == SR_OK)
ret = SR_OK;
else
ret = SR_ERR;
response_array = g_array_sized_new(TRUE, FALSE, sizeof(float), 256);
while (*ptr) {
- if (sr_atof(*ptr, &tmp) == SR_OK)
+ if (sr_atof_ascii(*ptr, &tmp) == SR_OK)
response_array = g_array_append_val(response_array,
tmp);
else