Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Open/Close CD Tray

Post any examples or modules that you want to share here

Open/Close CD Tray

Postby JB_AU » Fri Nov 14, 2014 2:28 am

**Note ; I only have a laptop to test this on :(

openclosetray.fsm
Fixed
(446 Bytes) Downloaded 1030 times
Last edited by JB_AU on Fri Nov 14, 2014 10:53 am, edited 1 time in total.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
 
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Open/Close CD Tray

Postby nix » Fri Nov 14, 2014 3:07 am

Could we print mate?
&ty, I'll try it now

edit: it sort of works-
it does actually open my lappy's cd tray.
however this error is constant->

NameError: uninitialized constant CD Tray

It doesn't matter what state the bool is in, or whether it is triggered
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Open/Close CD Tray

Postby JB_AU » Fri Nov 14, 2014 3:47 am

Could we print mate?


???
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
 
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Open/Close CD Tray

Postby nix » Fri Nov 14, 2014 4:02 am

just wondering if somehow you could print a string from FS on a printer?
I thought I'd ask because you have implemented this
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Open/Close CD Tray

Postby JB_AU » Fri Nov 14, 2014 4:48 am

I used shellexecute which is very primitive & limited.
PRINT sometext.txt /D:com2

There is however
WORDPAD /PT sometxt.rtf ThisPrinter

Which completely does formatting but opens & closes wordpad :(

I am trying to pipe to winspool.drv so there is no limitation :roll: :shock:
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
 
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Open/Close CD Tray

Postby nix » Fri Nov 14, 2014 10:41 am

Interesting,
well done.
The potential market for business machines is huge
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Open/Close CD Tray

Postby JB_AU » Fri Nov 14, 2014 10:56 am

The potential market for machine automation is astronomical 8-)
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
 
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Open/Close CD Tray

Postby nix » Fri Nov 14, 2014 11:16 am

Yep,
it's fixed as far as I can tell,
my door is manually closed.

I have a little experience with machine control-
Baldor servo and SEW PLCs

What I was getting at was accounting software-
could be a real winner if print enabled

--I will test it on a door that closes too in a minute on my desktop
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Open/Close CD Tray

Postby Walter Sommerfeld » Fri Nov 14, 2014 12:14 pm

Hmm...

It doesn't matter what state the bool is in, or whether it is triggered

On my PC it always only opens the cd tray (if closed)
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: Open/Close CD Tray

Postby JB_AU » Fri Nov 14, 2014 1:08 pm

It's supposed to eject the tray when clicked & close the tray when clicked.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
 
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Next

Return to User Examples

Who is online

Users browsing this forum: No registered users and 60 guests