ividriverlist function returns error

6 visualizaciones (últimos 30 días)
Vlad Losik
Vlad Losik el 11 de En. de 2023
Respondida: Raghav el 9 de Mzo. de 2023
>> ividriverlist
err : Comparison between double and string is not supported.
I have installed :
Instrument Control Toolbox v4.7
Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers v22.2.0
Instrument Control Toolbox Support Package for National Instruments VISA and ICP Interfaces v22.2.0

Respuesta aceptada

Raghav
Raghav el 9 de Mzo. de 2023
Hi,
Based on the question, it can be understand that you want to know about the ividriverlist function of Instrument Control Toolbox.
The "ividriverlist" function is used to list all available IVI (Interchangeable Virtual Instruments) drivers installed on your system. The error message "Comparison between double and string is not supported" suggests that there is a problem with the data types being used in the function.
One possible cause of this error is that the version of the Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers you have installed is not compatible with the version of MATLAB you are using.
To resolve this issue, you can try the following:
  • Check that the version of the support package you have installed is compatible with the version of MATLAB you are using. You can find this information in the documentation for the support package.
  • Try updating both the Instrument Control Toolbox and the support package to the latest versions. This can often resolve compatibility issues.
  • Check that you have properly installed all necessary drivers for the devices you are trying to communicate with using IVI.
  • If the issue persists, you can try using the "instrhwinfo" function instead to list available drivers. This function is part of the Instrument Control Toolbox and provides information about the available hardware and drivers on your system. You can use this information to determine which IVI drivers are installed and available for use.
If none of the above solutions work, it may be helpful to provide more information about the specific code you are using and the devices you are trying to communicate with, as this can help identify the root cause of the problem.
Regards,
Raghav Bansal

Más respuestas (0)

Categorías

Más información sobre Instrument Control Toolbox Supported Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by