Results 1 to 5 of 5

Thread: Importing Videos Into DataLinkII

  1. #1

    Default Importing Videos Into DataLinkII

    Hello Racepak,

    Would it be possible to get an update to DataLinkII's video Runlog page so that when a video is imported, it doesn't copy the video into the same directory as the runfile? I like to keep my videos in a different location and they are large enough that I'd prefer not to have multiple copies of them on different hard drives. Maybe an input text box could be made on the page and the user copy copy-paste the path to their video file(s) in it.

    Thanks,

    dasing

  2. #2

    Default Re: Importing Videos Into DataLinkII

    Never mind. I figured out how to do it. Had to use the SRCLOOKUP command.


  3. #3

    Default Re: Importing Videos Into DataLinkII

    Code please

  4. #4

    Default Re: Importing Videos Into DataLinkII

    Sure. I changed things a little bit. You can enter a path to the video file and also enter a time offset between the video and data. Then hit the "View Video" button. If you save the file after entering in the above info, it will be saved. I added the time offset parameter because I was having trouble getting the standard runlog page to save the offset.

    I'd also like to make it so the video doesn't open in another window. I see how to do that for AVI files, but not for other file types.

    <TITLE CATEGORY = "Video">Video Analysis</TITLE>





    <CHART ASPECTRATIO
    XNAME="@_MAP_CircleTrack_Channel :Run_PosX" YNAME="@_MAP_CircleTrack_Channel :Run_PosY" WIDTH=1 COLS=80 ROWS=28
    TIMEMIN="$LapStartTime" TIMEMAX="$LapEndTime"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="WHITE()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <CHART ATTACH2PREV ASPECTRATIO
    XNAME= "@_MAP_CircleTrack_Channel :Plot_RefX" YNAME="@_MAP_CircleTrack_Channel :Plot_RefY" WIDTH=5 COLS=80 ROWS=32
    TIMEMIN="$ChannelTimeMin(@_MAP_CircleTrack_Channel :Plot_RefX)" TIMEMAX="$ChannelTimeMax(@_MAP_CircleTrack_Channel :Plot_RefX)"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="WHITE()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <CHART ATTACH2PREV ASPECTRATIO ZSTYLE=OnOff
    XNAME="@_MAP_CircleTrack_Channel :Plot_RefX" YNAME="@_MAP_CircleTrack_Channel :Plot_RefY" ZNAME="@_MAP_CircleTrack_Channel :Plot_SegT" WIDTH=5 COLS=80 ROWS=32
    TIMEMIN="$ChannelTimeMin(@_MAP_CircleTrack_Channel :Plot_RefX)" TIMEMAX="$ChannelTimeMax(@_MAP_CircleTrack_Channel :Plot_RefX)"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="BLUE()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <CHART ATTACH2PREV ASPECTRATIO ZSTYLE=Mark SYMBOL=ParBar SYMSIZE=8
    XNAME="@_MAP_CircleTrack_Channel :Plot_RefX" YNAME="@_MAP_CircleTrack_Channel :Plot_RefY" ZNAME="@_MAP_CircleTrack_Channel :Plot_SegS" WIDTH=1 COLS=80 ROWS=32
    TIMEMIN="$ChannelTimeMin(@_MAP_CircleTrack_Channel :Plot_RefX)" TIMEMAX="$ChannelTimeMax(@_MAP_CircleTrack_Channel :Plot_RefX)"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="RED()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <CHART ATTACH2PREV ASPECTRATIO ZSTYLE=Mark SYMBOL=ParBar SYMSIZE=10
    XNAME="@_MAP_CircleTrack_Channel :Plot_RefX" YNAME="@_MAP_CircleTrack_Channel :Plot_RefY" ZNAME="@_MAP_CircleTrack_Channel :Plot_SF" WIDTH=1 COLS=80 ROWS=32
    TIMEMIN="$ChannelTimeMin(@_MAP_CircleTrack_Channel :Plot_RefX)" TIMEMAX="$ChannelTimeMax(@_MAP_CircleTrack_Channel :Plot_RefX)"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="RED()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <CHART ATTACH2PREV ASPECTRATIO SYMBOL=None
    XNAME="@_MAP_CircleTrack_Channel :Plot_RefX" YNAME="@_MAP_CircleTrack_Channel :Plot_RefY" ZNAME="@_MAP_CircleTrack_Channel :Plot_SegM" WIDTH=5 COLS=80 ROWS=32
    TIMEMIN="$ChannelTimeMin(@_MAP_CircleTrack_Channel :Plot_RefX)" TIMEMAX="$ChannelTimeMax(@_MAP_CircleTrack_Channel :Plot_RefX)"
    XMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefX)" XMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefX)"
    YMIN="$IOName2Min(@_MAP_CircleTrack_Channel :Plot_RefY)" YMAX="$IOName2Max(@_MAP_CircleTrack_Channel :Plot_RefY)"
    FOREGROUND="BLUE()" BACKGROUND="GREY()"
    RESETBY=($LapStartTime) UPDATEDBY=($LapStartTime,$CarretTime)>

    <ORIGIN>





    <A CUSTOM=SetVideoParms[<DXPLAYER SRCLOOKUP SRC=FileName LOOKUP TIME="$IOName2Value(Time)" UPDATEDBY=($CarretTime)>]></A>
    <TAB DLGUNITS=400><A CUSTOM=SetVideoParms[<DXPLAYER SRCLOOKUP SRC=FileName LOOKUP TIME="$IOName2Value(Time)+VideoOffset" UPDATEDBY=($CarretTime)>]><INPUT TYPE=button SIZE=40 VALUE="View Video"></A>





    <TAB DLGUNITS=400>VIDEO FILE NAME<TAB DLGUNITS=500><INPUT TYPE = text SIZE=64 NAME=FileName>


    <TAB DLGUNITS=400>VIDEO OFFSET TIME<TAB DLGUNITS=500><INPUT TYPE = text SIZE=10 NAME=VideoOffset>



    <TAB DLGUNITS=400>TO REVIEW A VIDEO, ENTER THE PATH AND FILE NAME IN THE ENTRY BOX ABOVE.

    <TAB DLGUNITS=400>ONCE THE TIME DELTA HAS BEEN DETERMINED TO SYNC THE VIDEO WITH THE DATA,

    <TAB DLGUNITS=400>ENTER IT IN THE VIDEO OFFSET BOX ABOVE. BE SURE TO SAVE THE RUN FILE SO THE

    <TAB DLGUNITS=400>VIDEO PATH AND OFFSET VALUE ARE SAVED.

  5. #5

    Default Re: Importing Videos Into DataLinkII

    Again appreciated!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Holley has been the undisputed leader in fuel systems for over 100 years. Holley carburetors have powered every NASCAR® Sprint® Cup team and nearly every NHRA® Pro–Stock champion for four decades. Now, Holley EFI is dominating the performance world as well as our products for GM's LS engine. Holley's products also include performance fuel pumps, intake manifolds & engine dress–up products for street performance, race and marine applications. As a single solution, or partnered with products from other Holley companies - Hooker Headers, Flowtech Headers, NOS Nitrous, Weiand, Earl's Performance Plumbing, or Diablosport - Holley products can give you the edge you need over the competition.
Join us