Re: data import via USB interface
John Donoghue <[email protected]> Thu, 29 Feb 2024 06:50:57 -0500
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAOJTVZDTVhbwsXXj7DLPS_wd1fARuZTzjojm1XpbTwnjye43Kg@mail.gmail.com> |
--===============7199245069549065316== Content-Type: multipart/alternative; boundary="000000000000fc7f8d061283df0d" --000000000000fc7f8d061283df0d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 3:18=E2=80=AFAM <[email protected]> wrote= : > > Message: 1 > Date: Thu, 29 Feb 2024 09:16:53 +0100 > From: Kathrin Kerschberger <[email protected]> > To: Andreas Weber <[email protected]> > Cc: [email protected] > Subject: Re: data import via USB interface > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowed"; > DelSp=3D"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 <[email protected]>: > > > 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 --000000000000fc7f8d061283df0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Thu, Feb 29, 2024 at 3:18=E2=80=AFAM <<a href=3D"mailto:help-o= [email protected]">[email protected]</a>> wrote:<br></div>= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><br> Message: 1<br> Date: Thu, 29 Feb 2024 09:16:53 +0100<br> From: Kathrin Kerschberger <<a href=3D"mailto:kathrin.kerschberger@stude= nt.tugraz.at" target=3D"_blank">[email protected]</a>&= gt;<br> To: Andreas Weber <<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>><br> Cc: <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= ><br> Subject: Re: data import via USB interface<br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <<a href=3D"mailto:20240229091653.Horde.pmOl= [email protected]" target=3D"_blank">20240229091653.Hor= [email protected]</a>><br> Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowe= d";<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 DelSp=3D"Yes"<br> <br> Hi Andy,<br> <br> I tried these steps, but unfortunately it did not work.<br> I attached a screenshot of the error. Also, when I use the instrhwinfo=C2= =A0 <br> function, USB is not listed. Is there anything else I can do?<br> <br> Best regards,<br> Kathrin<br> <br> Zitat von Andreas Weber <<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>>:<br> <br> > Hi Kathrin,<br> ><br> > Am 28.02.24 um 11:58 schrieb Kathrin Kerschberger:<br> >> I installed and loaded the instrument-control package (version=C2= =A0 <br> >> 0.9.2). My OS is windows. If I try to use the function "usbtm= c" I=C2=A0 <br> >> get the following error: "error: usbtmc: Your system doesn= 9;t=C2=A0 <br> >> support the USBTMC interface"<br> ><br> > The Windows Installer from <a href=3D"https://octave.org/download#ms-w= indows" rel=3D"noreferrer" target=3D"_blank">https://octave.org/download#ms= -windows</a>=C2=A0 <br> > comes with bundled instrument-control. You'll find usbtmc.oct in= =C2=A0 <br> > octave-8.4.0-w64/mingw64/lib/octave/packages/instrument-control-0.9.1/= x86_64-w64-mingw32-api-v58/<br> ><br> > and the only thing you have to do is "pkg load instrument-control= "=C2=A0 <br> > before using it.<br> ><br> > I just can guess, that you've overwriten the build with your manua= l=C2=A0 <br> > installation. Can you try to remove GNU Octave, reinstall it using=C2= =A0 <br> > the installer and then "pkg load instrument-control" and use= usbtmc?<br> ><br> > -- Andy<br> <br><br></blockquote><div><br></div><div><br></div><div><br></div><div>=C2= =A0Per the wiki for instrument-control [1], the usbtmc interface is not ava= ilable in windows. You can also run 'instrhwinfo' from octave to se= e which interfaces have been built..</div><div dir=3D"ltr"><div><br></div><= div>It you are doing basic serial type commands, you can just use the seria= lport object <a href=3D"http://instead.to">instead.to</a> read and write to= a usb serial port.<br><div><br></div><div><br></div><div>[1] <a href=3D"ht= tps://wiki.octave.org/Instrument_control_package#Compatibility">https://wik= i.octave.org/Instrument_control_package#Compatibility</a><br></div></div></= div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"></= div></div></div></div> --000000000000fc7f8d061283df0d-- --===============7199245069549065316== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n cm91cC9jL2hlbHAK --===============7199245069549065316==--