Re: Re: data import via USB interface
Kathrin Kerschberger <[email protected]> Mon, 4 Mar 2024 09:56:30 +0100
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <e823792d-e127-49a9-a52b-2a9d9564eb82@iPhone-von-Kathrin-3> |
--===============5093173540183126691== Content-Type: multipart/alternative; boundary="65e58cbe_6b8b4567_2671" --65e58cbe_6b8b4567_2671 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I am sorry, but I am still a little bit confused. This means, there is no= way to use usbtmc in Windows (or any other way to read data from an USB = interface) and I should use a serial port interface instead of an USB Int= erface=3F Or did I understand something wrong=3F Thanks a lot for your help=21 Best regards, Kathrin Am 29.02.24 an 12:50, schrieb John Donoghue john.david.donoghue=40gmail.c= om On Thu, =46eb 29, 2024 at 3:18=E2=80=AFAM<help-octave-request=40gnu.org(m= ailto:help-octave-request=40gnu.org)>wrote: > =20 > Message: 1 > Date: Thu, 29 =46eb 2024 09:16:53 +0100 > =46rom: Kathrin Kerschberger<kathrin.kerschberger=40student.tugraz.at(m= ailto:kathrin.kerschberger=40student.tugraz.at)> > To: Andreas Weber<octave=40josoansi.de(mailto:octave=40josoansi.de)> > Cc:help=40octave.org(mailto:help=40octave.org) > Subject: Re: data import via USB interface > Message-ID: > <20240229091653.Horde.pmOlCbB7cT=5FH6pGCl9kLEav=40webmail.tugraz.at(mai= lto:20240229091653.Horde.pmOlCbB7cT=5FH6pGCl9kLEav=40webmail.tugraz.at)> > Content-Type: text/plain; charset=3D=22utf-8=22; =46ormat=3D=22flowed=22= ; > DelSp=3D=22Yes=22 > =20 > Hi Andy, > =20 > 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=3F > =20 > Best regards, > Kathrin > =20 > Zitat von Andreas Weber<octave=40josoansi.de(mailto:octave=40josoansi.d= e)>: > =20 > >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 =22usbtmc=22 I= > >>get the following error: =22error: usbtmc: Your system doesn't > >>support the USBTMC interface=22 > > > >The Windows Installer fromhttps://octave.org/download=23ms-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=5F64-w64-mingw32-api-v58/ > > > >and the only thing you have to do is =22pkg load instrument-control=22= > >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 =22pkg load instrument-control=22 and use usbtm= c=3F > > > >-- Andy > =20 > =20 Per the wiki for instrument-control =5B1=5D, the usbtmc interface is not = available in windows. You can also run 'instrhwinfo' from octave to see w= hich interfaces have been built.. It you are doing basic serial type commands, you can just use the serialp= ort objectinstead.to(http://instead.to)read and write to a usb serial por= t. =5B1=5Dhttps://wiki.octave.org/Instrument=5Fcontrol=5Fpackage=23Compatibi= lity --65e58cbe_6b8b4567_2671 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <html><body>Hello,<br><br>I am sorry, but I am still a little bit confuse= d. This means, there is no way to use usbtmc in Windows (or any other way= to read data from an USB interface) and I should use a serial port inter= face instead of an USB Interface=3F Or did I understand something wrong=3F= <br>Thanks a lot for your help=21<br><br>Best regards,<br>Kathrin <br><br= >Am 29.02.24 an 12:50, schrieb John Donoghue john.david.donoghue=40gmail.= com<br><br></body></html><div style=3D=22padding-bottom: 20px;=22></div><= div><html xmlns=3D=22http://www.w3.org/1999/xhtml=22> <head> <title></title> </head> <body> <div dir=3D=22ltr=22> <div class=3D=22gmail=5Fquote=22> <div dir=3D=22ltr=22 class=3D=22gmail=5Fattr=22>On Thu, =46eb 29, 2024 at= 3:18=E2=80=AFAM <<a href=3D =22mailto:help-octave-request=40gnu.org=22>help-octave-request=40gnu.org<= /a>> wrote:<br /></div> <blockquote class=3D=22gmail=5Fquote=22 style=3D =22margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex=22> <br /> Message: 1<br /> Date: Thu, 29 =46eb 2024 09:16:53 +0100<br /> =46rom: Kathrin Kerschberger <<a href=3D =22mailto:kathrin.kerschberger=40student.tugraz.at=22 target=3D =22=5Fblank=22>kathrin.kerschberger=40student.tugraz.at</a>><br /> To: Andreas Weber <<a href=3D=22mailto:octave=40josoansi.de=22 target=3D= =22=5Fblank=22>octave=40josoansi.de</a>><br /> Cc: <a href=3D=22mailto:help=40octave.org=22 target=3D =22=5Fblank=22>help=40octave.org</a><br /> Subject: Re: data import via USB interface<br /> Message-ID:<br /> <<a href=3D =22mailto:20240229091653.Horde.pmOlCbB7cT=5FH6pGCl9kLEav=40webmail.tugraz= .at=22 target=3D =22=5Fblank=22>20240229091653.Horde.pmOlCbB7cT=5FH6pGCl9kLEav=40webmail.t= ugraz.at</a>><br /> Content-Type: text/plain; charset=3D=22utf-8=22; =46ormat=3D=22flowed=22;= <br /> DelSp=3D=22Yes=22<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 <br /> function, USB is not listed. Is there anything else I can do=3F<br /> <br /> Best regards,<br /> Kathrin<br /> <br /> Zitat von Andreas Weber <<a href=3D=22mailto:octave=40josoansi.de=22 target=3D=22=5Fblank=22>octave=40josoansi.de</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 <br /> >> 0.9.2). My OS is windows. If I try to use the function =22usbtmc=22 I <br /> >> get the following error: =22error: usbtmc: Your system doesn't <br /> >> support the USBTMC interface=22<br /> ><br /> > The Windows Installer from <a href=3D =22https://octave.org/download=23ms-windows=22 rel=3D=22noreferrer=22 tar= get=3D =22=5Fblank=22>https://octave.org/download=23ms-windows</a> <br /> > comes with bundled instrument-control. You'll find usbtmc.oct in <br /> > octave-8.4.0-w64/mingw64/lib/octave/packages/instrument-control-0.9.1/x86= =5F64-w64-mingw32-api-v58/<br /> ><br /> > and the only thing you have to do is =22pkg load instrument-control=22 <br /> > before using it.<br /> ><br /> > I just can guess, that you've overwriten the build with your manual <br /> > installation. Can you try to remove GNU Octave, reinstall it using <br /> > the installer and then =22pkg load instrument-control=22 and use usbtmc=3F<br /> ><br /> > -- Andy<br /> <br /> <br /></blockquote> <div><br /></div> <div><br /></div> <div><br /></div> <div> Per the wiki for instrument-control =5B1=5D, the usbtmc interface is not available in windows. You can also run 'instrhwinfo' from octave to see which interfaces have been built..</div> <div dir=3D=22ltr=22> <div><br /></div> <div>It you are doing basic serial type commands, you can just use the serialport object <a href=3D=22http://instead.to=22>instead.to</a> read and write to a usb serial port.<br /> <div><br /></div> <div><br /></div> <div>=5B1=5D <a href=3D =22https://wiki.octave.org/Instrument=5Fcontrol=5Fpackage=23Compatibility= =22>https://wiki.octave.org/Instrument=5Fcontrol=5Fpackage=23Compatibilit= y</a><br /> </div> </div> </div> <br /> <div class=3D=22gmail=5Fquote=22> <div dir=3D=22ltr=22 class=3D=22gmail=5Fattr=22></div> </div> </div> </div> </body> </html> </div> --65e58cbe_6b8b4567_2671-- --===============5093173540183126691== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n cm91cC9jL2hlbHAK --===============5093173540183126691==--