Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Keoni29 on March 19, 2011, 01:47:49 pm
-
Is it possible to send data to my ti using cmd (.bat file) on my pc?
-
hello keoni, and welcome!
On a side related note, does your IRL name happen to to be Dong Bin Shin? ;D If not, then whoops wrong guy :P
anyways, I don't believe so, and if you can then it would be so tricky it wouldn't be worth it.
-
Not that I know of. TI uses its own link system, which means you'll have to use TI-Connect or TiLP. Maybe one of the two supports command-line sending (if one of them does, it'd be TiLP). Not sure, though.
And is this an issue with Axe in particular? If not I'll move this topic to General Calculator Help.
And welcome to Omnimaga, Keoni29 :)
-
I'm making my first real game using axe now. (I made a mario game (sort of) but then disaster stroke. RAM-cleared because it repeated forever :()
Is there an external editor for axe programmes? That would be a lot faster.[/offtopic]
Is there a way to send a value to it so that a programme on my ti can use it.
-
Yep, try Tokens (http://ourl.ca/6647). The newest version supports Axe commands.
\Is there a way to send a value to it so that a programme on my ti can use it.
What do you mean? You can use TI-Connect or TiLP to send variables.
-
I think he want to know if he can send raw data back and forth -- and the answer to that would be: you would have to write your own program to do so ;)
-
I think he want to know if he can send raw data back and forth -- and the answer to that would be: you would have to write your own program to do so ;)
Hmm, when would you need to send raw data? Your calculator stores data as variables, remember.
-
I actually have no idea why he would want to do that :P let's ask him ^-^
And yes, DT is right, the best way might be just to save your data in the form of a large variable such as a program or appvar.
-
If you want to avoid losing source from RAM clears, you could try using DoorsCS, it allows you to edit axe source from the archive, so it's never risked.
-
Now I have backup mode on sow nuthing can go wrong ;D
I need to send raw data back and forth because its faster. (multiplay pc vs ti ;D)
-
I need to send raw data back and forth because its faster. (multiplay pc vs ti ;D)
Wow, sounds complicated... I don't think anyone's ever done that with the exception of link software and KermMartian's gCn. You could try asking him. Do you know how to use INIR (on the calculator side)? You'll definitely need to know ASM for this stuff.
And if you've ever archived that prgm you lost in a RAM clear, you could try using DrDnar's Archive Undelete (http://www.ticalc.org/archives/files/fileinfo/411/41128.html).
-
I have another idea: The calculator gives my pc a command to play a certain song. Wouldn't game-music be great?
-
I actually remember than NDless 1.1 could be installed with a bat file, so why not?
-
I actually remember than NDless 1.1 could be installed with a bat file, so why not?
That batch file simply started up TI's link software and sent Ndless through it. Then it executes a Java app to actually install Ndless.
-
Newb here ;D what is NDless 1.1? Os? Connection software?
-
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 (http://education.ti.com/educationportal/sites/US/productDetail/us_nspire_computerlink.html), which is TI's software that allows you to link your Nspire to a computer (for non-Nspire calculators you'd use TI Connect (http://education.ti.com/educationportal/sites/US/productDetail/us_ti_connect.html)).
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 (http://lpg.ticalc.org/prj_tilp/).
-
Ah I see Deep Thought, I didn't really know how it worked, thanks :)
-
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)
-
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. :)
-
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 <_<
-
Well I know that the 84 series run asm. I thought that there might be a lib for usb connection. Anyone got one ???
-
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.
-
:S translation?
-
Basically, he means that it exports all the stuff you're asking for, it seems. ;)
-
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 (http://education.ti.com/educationportal/sites/US/productDetail/us_ti_connect.html). If you want a lib that you can use to make your own linking program, there's libticalcs/libticables/whatever packaged with TiLP (http://lpg.ticalc.org/prj_tilp/), as Lionel said.
-
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
-
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.
-
Is there a script or something ;D
-
Script, probably not as such.
The SWIG languages (e.g. Perl, Python) may help you here, for using or generating bindings for libusb.
-
I have manufactured a jack-to-usb cable. Can I use this to transfer data?
-
If you have a driver for it, or it's one of the standard drivers, probably.
-
Using Freq( you can send a sinewave to your pc. Can my pc analyze this signal via my mic-in?
-
Yes, this can also be done. I've done it recently, for debugging the beginnings of a TI-68k implementation of CALCnet.
-
So... What kinda programma/script did you use on the pc-side?
-
It works! I have a mic signal :D Strong enough for my pc. I can write the software myself.
-
Also, besides using square waves from Freq, you can send your own custom signal with the Port command which also allows you to take advantage of both sound channels.
-
I need a frequency thats easy to decode.