Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Stop USBIURT autorepeat

If you have a question or need help, this is the place to be.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Doesn't this cam have a serial interface?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Post by CollinR »

VC-C50i and VC-C50iR are analog cameras with RS232c interfaces.

It has something like 20 preset configurations. More then enough for residential and most commercial applications.
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

I can set the preset on my camera (9), but I need to move it so I can reach the good position.

I have already an hardware system with serial communiciation but I want to try IR, so I do not need to install cabling each time I work on a event.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Have you tried the RAW-Learning I mentioned above?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

RAW leraning is this sequence:

F42R036A815680AA1640161516151516161516151516164015161640154016151516161516151516164015401640164015161615161515161615161515151615164016401540164016|076581565515

It is also takes 4 sec to be stopped.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Maybe this workaround might work:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="974">
    <Folder Name="<unnamed folder>" Expanded="True">
        <Macro Name="USB-UIRT: Transmit Start Code" Expanded="True">
            <Action>
                USB_UIRT.TransmitIR(u'0000 006E 0022 0002 0155 00AA 0016 003F 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0040 0015 0016 0016 0040 0015 0040 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 003F 0016 0040 0015 0040 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0015 0015 0015 0016 0015 0016 003F 0016 0040 0015 0040 0016 003F 0016 068D 0155 0055 0015 0E31', 1, 0)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(49), 2, False)
            </Action>
        </Macro>
        <Macro Name="USB-UIRT: Transmit Repeat Code" id="49" Expanded="True">
            <Action>
                USB_UIRT.TransmitIR(u'0000 006E 0002 0000 0155 0055 0015 0E31', 1, 0)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.0, 0.0, 0.0, 1.0)
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Trigger the "Transmit Start Code" macro with a keyboard shortcut for example (or simple by holding down the execute button). As long as the event "is active", it will call the second macro in a loop.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

1 . This is the answer from USB-UIRT support, your are right there is a bug :
Antoine,

This issue occurs because the USB buffer has queued multiple 'repeat' codes to the USB-UIRT hardware (the repeat code section of the IR code is very short) and therefore it takes some time for the queue to 'clear out'.

It may be possible to help this situation out with a firmware/driver change. I will have to look into it.

Best Regards,

Jon
2 . I have tested your code but I am not sure of what should happen. I execute manually the macro : USB-UIRT: Transmit Start Code , the two macros this one et the next excute but there is no loop running.

Sorry, but I am not yet familiar with EvenGhost ! Soon May be ?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Highlight the first macro, press the execute button and hold it down.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

The loop is now running but the second code
USB_UIRT.TransmitIR(u'0000 006E 0002 0000 0155 0055 0015 0E31', 1, 0)
does not talk to the camera
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

In both transmit actions the last code is "0E31". Try to lower these values. I would suggest, to try it out in this order:
0800
0400
0200
0100
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

I tried, the second transmit action does not seems to work as the camera green light does not blink
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Well, then we can only hope Jon Rhees is able to fix this.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
sdx
Posts: 19
Joined: Sat May 12, 2007 9:40 am

Post by sdx »

Is there another IR device than USBUIRT that works properly with autorepeat ?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

sdx wrote:Is there another IR device than USBUIRT that works properly with autorepeat ?
None that is both:
a) supported by EventGhost
b) I could otherwise recommend.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply