Remapping: Was: Stand Alone Interpe r ter

More
30 May 2019 11:57 #135378 by bevins

andypugh wrote:

bevins wrote: I used those commands because it was the only way I could get it to work in python. The problem was when I got into a few functions deep, it wouldn't respond to commands.


Did you try the canonical commands?


I used those commands because it was the only way I could get it to work in python. The problem was when I got into a few functions deep, I couldn't get it to respond to canon commands.

Granted, I may not have done it correctly.... whether that was causing it to ignore commands or not, I am not sure.

Please Log in or Create an account to join the conversation.

More
30 May 2019 12:01 #135379 by bevins
I tried mdi commands, that was the worst, had to check which mode it was in and make sure it was in the correct mode and I ran into issues with that as well.

IT was really difficult trying to interact with it because its not really documented that well, so I had to try and figure out how everything works. It was interesting but I learned alot...lol

Please Log in or Create an account to join the conversation.

More
30 May 2019 13:09 #135386 by andypugh

bevins wrote: I used those commands because it was the only way I could get it to work in python. The problem was when I got into a few functions deep, I couldn't get it to respond to canon commands.


The function nesting depth in Python really shouldn't matter. Unless maybe the references to the the command channel were not being passed (ie the emccanon object was going out of scope)

Please Log in or Create an account to join the conversation.

More
30 May 2019 14:02 #135390 by bevins

andypugh wrote:

bevins wrote: I used those commands because it was the only way I could get it to work in python. The problem was when I got into a few functions deep, I couldn't get it to respond to canon commands.


The function nesting depth in Python really shouldn't matter. Unless maybe the references to the the command channel were not being passed (ie the emccanon object was going out of scope)


That's a definite possibility. I was trying all sorts of things to get it to work, scrambling a bit.

On another note, the queue in linux stat in axis, is that the readahead queue? Commands in the readahead buffer?

Please Log in or Create an account to join the conversation.

More
31 May 2019 12:26 #135459 by andypugh

bevins wrote: On another note, the queue in linux stat in axis, is that the readahead queue? Commands in the readahead buffer?


I don't know for sure, but I would imagine it is the number of line segments in the queue.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum