help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: data import via USB interface


From: John Donoghue
Subject: Re: data import via USB interface
Date: Thu, 29 Feb 2024 06:50:57 -0500

On Thu, Feb 29, 2024 at 3:18 AM <help-octave-request@gnu.org> wrote:

Message: 1
Date: Thu, 29 Feb 2024 09:16:53 +0100
From: Kathrin Kerschberger <kathrin.kerschberger@student.tugraz.at>
To: Andreas Weber <octave@josoansi.de>
Cc: help@octave.org
Subject: Re: data import via USB interface
Message-ID:
        <20240229091653.Horde.pmOlCbB7cT_H6pGCl9kLEav@webmail.tugraz.at" target="_blank">20240229091653.Horde.pmOlCbB7cT_H6pGCl9kLEav@webmail.tugraz.at>
Content-Type: text/plain; charset="utf-8"; Format="flowed";
        DelSp="Yes"

Hi Andy,

I tried these steps, but unfortunately it did not work.
I attached a screenshot of the error. Also, when I use the instrhwinfo 
function, USB is not listed. Is there anything else I can do?

Best regards,
Kathrin

Zitat von Andreas Weber <octave@josoansi.de>:

> Hi Kathrin,
>
> Am 28.02.24 um 11:58 schrieb Kathrin Kerschberger:
>> I installed and loaded the instrument-control package (version 
>> 0.9.2). My OS is windows. If I try to use the function "usbtmc" I 
>> get the following error: "error: usbtmc: Your system doesn't 
>> support the USBTMC interface"
>
> The Windows Installer from https://octave.org/download#ms-windows 
> comes with bundled instrument-control. You'll find usbtmc.oct in 
> octave-8.4.0-w64/mingw64/lib/octave/packages/instrument-control-0.9.1/x86_64-w64-mingw32-api-v58/
>
> and the only thing you have to do is "pkg load instrument-control" 
> before using it.
>
> I just can guess, that you've overwriten the build with your manual 
> installation. Can you try to remove GNU Octave, reinstall it using 
> the installer and then "pkg load instrument-control" and use usbtmc?
>
> -- Andy





 Per the wiki for instrument-control [1], the usbtmc interface is not available in windows. You can also run 'instrhwinfo' from octave to see which interfaces have been built..

It you are doing basic serial type commands, you can just use the serialport object instead.to read and write to a usb serial port.


[1] https://wiki.octave.org/Instrument_control_package#Compatibility


reply via email to

[Prev in Thread] Current Thread [Next in Thread]