Author Topic: Send data using CMD  (Read 11351 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Send data using CMD
« Reply #15 on: May 29, 2011, 12:20:37 pm »
Ndless is a calc-side program that basically enables ASM programs on TI-Nspires. What Scout was talking about is a batch script (.bat file, run in cmd) packaged with Ndless that installs it on your calculator.

But the cmd batch file doesn't actually do the linking or send any data; all it does it start up TI-Nspire Computer Link, which is TI's software that allows you to link your Nspire to a computer (for non-Nspire calculators you'd use TI Connect).

In other words, you'd need more than a cmd script to send data to your calculator. To send variables back and forth between your calculator and computer, use either TI Connect (linked above) or TiLP.




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Send data using CMD
« Reply #16 on: May 29, 2011, 04:48:39 pm »
Ah I see Deep Thought, I didn't really know how it worked, thanks :)

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #17 on: May 30, 2011, 02:32:32 am »
I have a TI 84 plus. As far as I know it has never been an Nspire. Does it work on 84 plus too??? (say yes please  O.O)
If you like my work: why not give me an internet?








Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Send data using CMD
« Reply #18 on: May 30, 2011, 08:25:49 am »
I have a TI 84 plus. As far as I know it has never been an Nspire. Does it work on 84 plus too??? (say yes please  O.O)
Ndless doesn't work on the 84+, but the 84+ can run asm programs without installing anything at all. :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Send data using CMD
« Reply #19 on: May 30, 2011, 08:28:23 am »
No, but Ndless isn't really relevant to your questions in this case. The TI 83+ series(this includes: TI-83+,TI-83+ Special edition, TI-84+, TI-84+ Special Edition) has built in support for ASM programs. =)

The Nspire is a newer calculator model.

Welcome to the forums by the way! =)

*edit2*:Ninja'd by Josjuice <_<
« Last Edit: May 30, 2011, 08:30:01 am by Art_of_camelot »

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #20 on: May 30, 2011, 09:48:02 am »
Well I know that the 84 series run asm. I thought that there might be a lib for usb connection. Anyone got one ???
If you like my work: why not give me an internet?








Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Send data using CMD
« Reply #21 on: May 30, 2011, 09:52:38 am »
For example, the libti* series, used as foundation by TILP.
TINCLS exports a public API, that's what Ndless 1.0 & 1.1 used; for your purposes, maybe TI-Connect does, too.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #22 on: May 30, 2011, 09:53:43 am »
:S translation?
If you like my work: why not give me an internet?








Ashbad

  • Guest
Re: Send data using CMD
« Reply #23 on: May 30, 2011, 10:00:23 am »
Basically, he means that it exports all the stuff you're asking for, it seems. ;)
« Last Edit: May 30, 2011, 10:10:11 am by Ashbad »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Send data using CMD
« Reply #24 on: May 30, 2011, 10:09:29 am »
Well I know that the 84 series run asm. I thought that there might be a lib for usb connection. Anyone got one ???

What are you trying to do? If you just want to send variables back and forth, use TI-Connect. If you want a lib that you can use to make your own linking program, there's libticalcs/libticables/whatever packaged with TiLP, as Lionel said.




Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #25 on: May 30, 2011, 10:23:51 am »
Well... The title of this topic might be misleading. It should be:Sending data to pc via usb-link to make pc play a certain song
If you like my work: why not give me an internet?








Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Send data using CMD
« Reply #26 on: May 30, 2011, 11:36:28 am »
Indeed, sending data to the calculator so that it does something, and sending data from the calculator so that the PC does something, are very different :)

With a 84+(SE) or a 89T, interacting with the computer is probably easier than with the other models. The host-capable USB controller of the 84+(SE) and 89T is flexible enough to make these calculators appear as an HID, an MSD, a hub, or several other standard types of devices. Even, potentially, one of the widely supported serial controllers, e.g. FTDI232, CP2102 or PL23xx. And on the computer side, libusb.
« Last Edit: May 30, 2011, 11:37:20 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #27 on: May 30, 2011, 01:06:33 pm »
Is there a script or something ;D
If you like my work: why not give me an internet?








Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Send data using CMD
« Reply #28 on: May 30, 2011, 01:17:58 pm »
Script, probably not as such.
The SWIG languages (e.g. Perl, Python) may help you here, for using or generating bindings for libusb.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Send data using CMD
« Reply #29 on: May 30, 2011, 02:25:40 pm »
I have manufactured a jack-to-usb cable. Can I use this to transfer data?
If you like my work: why not give me an internet?