You are not logged in.



#1 2010-02-24 02:16:50

lordtangent
Member
Registered: 2010-01-21
Posts: 29

"long press" of shutter through NON-Goto interface?

Does  anyone know if a "long press" of the shutter (for continuous drive) can be sent through the built-in camera control of the Merlin? My hope is to use the cameras own bracketing feature and Continuous "motor drive" shooting for simple bracketing. If the Merlin's built-in shutter release can send a simulated long press of the release, it should work on my Canon 7D (that's how I do basic three shot bracketing now on my manual "KingPano")

For more advanced bracketing I know I'm going to have to shoot tethered. (gphoto2?) However I don't think that's going to end up being a very frequent exercise.

thanks!

Last edited by lordtangent (2010-02-24 19:03:24)

Offline

 

#2 2010-02-24 11:05:23

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

It is possible to change the 'pulse high width' value, in the plugin config, but it is limited to 1000ms (1s), Is it enough?

I can increase the max value, if needed (something like 9999ms, for example).


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#3 2010-02-24 12:33:34

Photosbykev
Member
From: Gloucester, UK
Registered: 2010-02-15
Posts: 123
Website

Re: "long press" of shutter through NON-Goto interface?

fma38 wrote:

It is possible to change the 'pulse high width' value, in the plugin config, but it is limited to 1000ms (1s), Is it enough?

I can increase the max value, if needed (something like 9999ms, for example).

If you are doing long bracketed auto exposures then even 9999ms may not be enough to cover the three exposures, the max shutter speed is 30 seconds on most Canon cameras, so in the worse case it could be 30+15+8 seconds ?.

I think it's possible to take the bracketed images using a short pulse if you set the camera up correctly. I'll have a play with my 40d and 7D this afternoon and see if I can confirm this.

Last edited by Photosbykev (2010-02-24 12:34:25)

Offline

 

#4 2010-02-24 16:37:57

Photosbykev
Member
From: Gloucester, UK
Registered: 2010-02-15
Posts: 123
Website

Re: "long press" of shutter through NON-Goto interface?

Photosbykev wrote:

I think it's possible to take the bracketed images using a short pulse if you set the camera up correctly. I'll have a play with my 40d and 7D this afternoon and see if I can confirm this.

sorry I was wrong on both cameras as I thought it was possible to trigger the sequence of 3 frames with a short pulse if the camera was in single shot mode. They do need a long pulse to trigger the three bracketed exposures. So the pulse length would need to be at least the length of the first two exposures in order to trigger the third frame.

Last edited by Photosbykev (2010-02-24 16:42:53)

Offline

 

#5 2010-02-24 17:48:22

lordtangent
Member
Registered: 2010-01-21
Posts: 29

Re: "long press" of shutter through NON-Goto interface?

fma38 wrote:

It is possible to change the 'pulse high width' value, in the plugin config, but it is limited to 1000ms (1s), Is it enough?

I can increase the max value, if needed (something like 9999ms, for example).

Is the maximum 9999ms 'pulse high width' value a limitation of the Merlin hardware? My request would be that PapyWizard only limit the setting to whatever the hardware can do (if we can figure that out). A really long pulse could be useful for other things, like using Bulb mode to bracket exposures over 30 seconds.

Thanks for doing the test Photosbykev!

Last edited by lordtangent (2010-02-24 23:05:11)

Offline

 

#6 2010-02-25 14:17:09

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

The pulse width is only a Papywizard limitation (in the GUI definition, in fact). I can change it without problem.

But I think a better solution is to add a flag like:

x Keep contact closed during shooting

As you will have to set the 'Time Value' param to be as long as your bracketing sequence, the flag just tell the plugin to keep the contact closed during this time. This way, you don't have to set 2 values (Time Value and Pulse Width High).

Is that OK for you?


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#7 2010-02-25 14:24:14

Photosbykev
Member
From: Gloucester, UK
Registered: 2010-02-15
Posts: 123
Website

Re: "long press" of shutter through NON-Goto interface?

fma38 wrote:

The pulse width is only a Papywizard limitation (in the GUI definition, in fact). I can change it without problem.

But I think a better solution is to add a flag like:

x Keep contact closed during shooting

As you will have to set the 'Time Value' param to be as long as your bracketing sequence, the flag just tell the plugin to keep the contact closed during this time. This way, you don't have to set 2 values (Time Value and Pulse Width High).

Is that OK for you?

I would appreciate this change FMA, I'd be tempted to call this a HDR option to cover multiple exposures and the use of BULB mode for very long single shots?

Last edited by Photosbykev (2010-02-25 14:26:15)

Offline

 

#8 2010-02-25 14:48:05

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

HDR if maybe too specific, but I think 'Bulb Mode' is good.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#9 2010-02-25 15:42:03

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 7685
Website

Re: "long press" of shutter through NON-Goto interface?

fma38 wrote:

HDR if maybe too specific, but I think 'Bulb Mode' is good.

Would not Bulb mode require two triggers one to start and one to end the exposure?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm  lenses, Nodal Ninja 5 Lite, Agno's Mrotator TCSshort
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket
Merlin/Orion panohead + Papywizard on Nokia 770/N800 and Windows XP/2K

Offline

 

#10 2010-02-25 15:47:06

Greg Nuspel
Member
From: Calgary, Alberta, Canada
Registered: 2009-10-06
Posts: 169

Re: "long press" of shutter through NON-Goto interface?

You may look into setting on you camera and see if you can trigger an interval timer sequence from your remote. If so you should be able to program in a 3 image intervault that starts with the remote trigger. If I remember correctly you can't do this with a Nikon but maybe Canon can.


--Greg Nuspel

Offline

 

#11 2010-02-25 17:12:24

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

Andrew, as far as I remember, the default bulb mode requires the contact to stay closed during the shooting. But you are right, there is another mode (call T?), which works as you describe...

I can add another param to switch between these 2 modes. Very easy.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#12 2010-02-25 17:35:46

Photosbykev
Member
From: Gloucester, UK
Registered: 2010-02-15
Posts: 123
Website

Re: "long press" of shutter through NON-Goto interface?

mediavets wrote:

fma38 wrote:

HDR if maybe too specific, but I think 'Bulb Mode' is good.

Would not Bulb mode require two triggers one to start and one to end the exposure?

For Canon it is only one pulse, as long as the pulse remains high then the shutter stays open

Offline

 

#13 2010-02-25 17:38:01

Photosbykev
Member
From: Gloucester, UK
Registered: 2010-02-15
Posts: 123
Website

Re: "long press" of shutter through NON-Goto interface?

Greg Nuspel wrote:

You may look into setting on you camera and see if you can trigger an interval timer sequence from your remote. If so you should be able to program in a 3 image intervault that starts with the remote trigger. If I remember correctly you can't do this with a Nikon but maybe Canon can.

This isn't an option internal to the Canon cameras, it is available on the higher spec programmable Canon release. It also wouldn't address setting the delay before the head moves onto the next position

Offline

 

#14 2010-02-25 18:29:09

lordtangent
Member
Registered: 2010-01-21
Posts: 29

Re: "long press" of shutter through NON-Goto interface?

fma38 wrote:

The pulse width is only a Papywizard limitation (in the GUI definition, in fact). I can change it without problem.

But I think a better solution is to add a flag like:

x Keep contact closed during shooting

As you will have to set the 'Time Value' param to be as long as your bracketing sequence, the flag just tell the plugin to keep the contact closed during this time. This way, you don't have to set 2 values (Time Value and Pulse Width High).

Is that OK for you?

That would probably be the cleanest solution.  It certainly works fine for me... my Canon only shoots 3 shots when bracketing and motor drive are both enabled. It would never shoot too many, even if the "Time Value" param was set a little too long. I'm not sure how other cameras work. But I suppose they could always just be more diligent about setting the "Time Value" if they run into problems.

BULB mode bracket control  would be really nice also. It wasn't the use I originally imagined for the long pulse. However, now that we are talking about it I realize it could be really useful.

Offline

 

#15 2010-04-01 03:30:16

rbudnikas
Member
Registered: 2010-02-27
Posts: 22

Re: "long press" of shutter through NON-Goto interface?

Hello Guys,

Been reading the thread and wondering if this is solving the same issue I am having. I have a Sony a100 and a Sony a550. The a100 has a single step and continous bracketing feature. The a550 only has a continous function which is creating problems when I am on that setting and not sure if I am changing the right settings in papywizard. Basically it only fires off twice when it should three times. I changed the "pulse width high" to 1000ms but it almost needs that little bit extra to fire off the third shot.

I believe once this is working I have a really nice setup.

Regards,

Robert


Robert

Sony A100, A550, 18-55mm/f3.5, Samyang 8mm/f3.5 Fisheye, Merlin/Orion panohead w/Papywizard 2.1.16-1 on Nokia N800, Nodal Ninja 5L on Manfrotto Tripod and Acer 5630 Laptop.

Offline

 

#16 2010-04-01 04:07:27

lordtangent
Member
Registered: 2010-01-21
Posts: 29

Re: "long press" of shutter through NON-Goto interface?

Since I was the one that originally brought this up, I'd like to give my feedback of how this is working for me so far. 1000ms seems to work fine for daytime shots when the 20D or 7D can grab every frame in that time. For night shots with longer exposure times it isn't long enough.

Frédéric, what is the line in the code that controls the time restriction?  Maybe I can just go in there and manually patch it on the version I have installed.

Offline

 

#17 2010-04-01 15:49:38

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

You won't be able to change the code if you installed the windows package... You need to use the source.

In the file papywizard/plugins/abstractStandardShutterPlugin.py, change the _triggerShutter() method as following:

Code:

    def _triggerShutter(self):
        """ Trigger the shutter contact.
        """
        Logger().trace("AbstractStandardShutterPlugin._triggerShutter()")
        self._triggerOnShutter()
        #time.sleep(self._config['PULSE_WIDTH_HIGH'] / 1000.)
        time.sleep(self._config['TIME_VALUE'])
        self._triggerOffShutter()
        self._LastShootTime = time.time()

and the shoot() method as following:

Code:

    def shoot(self, bracketNumber):
        Logger().trace("AbstractStandardShutterPlugin.shoot()")
        self._ensurePulseWidthLowDelay()
        self._driver.acquireBus()
        try:
            self._triggerShutter()

            # Wait for the end of shutter cycle
            #delay = self._config['TIME_VALUE'] - self._config['PULSE_WIDTH_HIGH'] / 1000.
            #if delay > 0:
                #time.sleep(delay)
            return 0
        finally:
            self._driver.releaseBus()

Let me know if it works...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#18 2010-04-01 18:44:08

rbudnikas
Member
Registered: 2010-02-27
Posts: 22

Re: "long press" of shutter through NON-Goto interface?

Sorry Frédéric,

I'm clueless when it comes to code changes. I have both running windows and n800. If you point me in the right direction to install the appropriate software I can manage over Easter to make the change. I'm assuming this code will let me go higher than 1000ms.

Thanks in advance.

Robert


Robert

Sony A100, A550, 18-55mm/f3.5, Samyang 8mm/f3.5 Fisheye, Merlin/Orion panohead w/Papywizard 2.1.16-1 on Nokia N800, Nodal Ninja 5L on Manfrotto Tripod and Acer 5630 Laptop.

Offline

 

#19 2010-04-01 19:08:22

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

Yes, with this modofication, the shutter will be trigger all the Time Value duration.

On the N800, you need to become root (sudo gainroot), and edit the file. As the default file manager can't browse the filesystem, you need to do this under xterm:

$ cp /usr/lib/python2.5/site-packages/papywizard/plugins/abstractStandardShutterPlugin.py /home/user/MyDocs/

then from the file manager, tap on the file, and choose Note as application to edit it. Make your changes, then, from your xterm:

$ sudo gainroot
# cp /usr/lib/python2.5/site-packages/papywizard/plugins/abstractStandardShutterPlugin.py /usr/lib/python2.5/site-packages/papywizard/plugins/abstractStandardShutterPlugin.py.orig
# cp /home/user/MyDocs/abstractStandardShutterPlugin.py /usr/lib/python2.5/site-packages/papywizard/plugins/

and restart Papywizard.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#20 2010-04-01 21:13:20

rbudnikas
Member
Registered: 2010-02-27
Posts: 22

Re: "long press" of shutter through NON-Goto interface?

Hello Frédéric

Thanks and I will get it working on the N800 first.

Robert


Robert

Sony A100, A550, 18-55mm/f3.5, Samyang 8mm/f3.5 Fisheye, Merlin/Orion panohead w/Papywizard 2.1.16-1 on Nokia N800, Nodal Ninja 5L on Manfrotto Tripod and Acer 5630 Laptop.

Offline

 

#21 2010-04-02 04:01:20

rbudnikas
Member
Registered: 2010-02-27
Posts: 22

Re: "long press" of shutter through NON-Goto interface?

Hello Frédéric,

Just wanted to say "THIS IS SWEET!". I am up and running. It did take me a couple of tries as the file wouldn't save - kept saying it was a read only file. I've tested it and it is firing the bracketed shots.

Thank you for all your help. I absolutely appreciate it.

Robert


Robert

Sony A100, A550, 18-55mm/f3.5, Samyang 8mm/f3.5 Fisheye, Merlin/Orion panohead w/Papywizard 2.1.16-1 on Nokia N800, Nodal Ninja 5L on Manfrotto Tripod and Acer 5630 Laptop.

Offline

 

#22 2010-04-02 06:13:15

lordtangent
Member
Registered: 2010-01-21
Posts: 29

Re: "long press" of shutter through NON-Goto interface?

Hi Frédéric.

I'm running 2.0.0, which I installed on the N810 from the .deb . I can't find abstractStandardShutterPlugin.py anywhere in /usr/lib/python2.5/site-packages/papywizard/

(I used find and it's nowhere in the hierarchy)

Offline

 

#23 2010-04-02 07:56:54

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

You need to use a recent dev release (2.0.0 is not very stable, in fact, due to a threading issue).


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#24 2010-04-02 08:03:38

lordtangent
Member
Registered: 2010-01-21
Posts: 29

Re: "long press" of shutter through NON-Goto interface?

I installed a the dev version and I was able to find the plug-ins.

After the patch I can still only set the pulse width to 1000. But I gather by reading the code that now Papywizard simply replaces pulse high with "TIME_VALUE", correct? This is basically a hack to implement the feature we spoke about earlier.

Anyway, it's working great. Thanks for the help!

Offline

 

#25 2010-04-02 08:08:40

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: "long press" of shutter through NON-Goto interface?

Yes, this a hack before I add a real Bulb mode, which will be a simple flag, doing the same thing behind wink


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson