Author Topic: Output to USB connected device  (Read 3029 times)

richmond62

  • Newbie
  • *
  • Posts: 20
Output to USB connected device
« on: March 18, 2015, 06:11:01 PM »
I want to control a "turtle" connected to my computer Mac or Windows via a USB device. Is there a way to detect the USB device and write to it from HyperNext?

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 382
  • Here to help you
Re: Output to USB connected device
« Reply #1 on: March 18, 2015, 09:42:03 PM »
I want to control a "turtle" connected to my computer Mac or Windows via a USB device. Is there a way to detect the USB device and write to it from HyperNext?


Its possible to use USB input/output on Windows platform. However, on the Mac platform it was unreliable so disabled.

Project 34 - "USB Devices" has some basic USB monitoring of a device. You need to know the Product and Vendor number of the USB device.
Project 33 - "Lightstone" is a detailed USB project for monitoring heart rate.

Chapter 29 of the Language Reference has details on USB, including procedures/functions.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

richmond62

  • Newbie
  • *
  • Posts: 20
Re: Output to USB connected device
« Reply #2 on: March 19, 2015, 07:26:01 AM »
Thanks.

richmond62

  • Newbie
  • *
  • Posts: 20
Re: Output to USB connected device
« Reply #3 on: March 19, 2015, 10:38:01 AM »
"on the Mac platform it was unreliable" in what way?

Presumably (?????) RealBASIC could/can do this?  Certainly, if so, HyperNext should also be able to.

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 382
  • Here to help you
Re: Output to USB connected device
« Reply #4 on: March 19, 2015, 11:51:17 AM »
"on the Mac platform it was unreliable" in what way?

Presumably (?????) RealBASIC could/can do this?  Certainly, if so, HyperNext should also be able to.

Unfortunately RB couldn't - so I needed some plugin code to do it - algorithm worked fine on Windows but lots of data framing errors on Mac - just need time to work on it.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

richmond62

  • Newbie
  • *
  • Posts: 20
Re: Output to USB connected device
« Reply #5 on: March 19, 2015, 07:06:17 PM »
What chance version 4?

richmond62

  • Newbie
  • *
  • Posts: 20
Re: Output to USB connected device
« Reply #6 on: March 27, 2015, 06:16:24 PM »
Waht about connecting to a USB device via a Windows API?

 

anything