in

VDCP Communication

Last post 08-05-2009 1:12 AM by wagassonkar. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-05-2009 1:12 AM

    VDCP Communication

    Hello I am new to broadcast engineering and needed to play videos from an Air Speed using VDCP commands.

    I could make to play, stop, pause, list IDs using commands but failing in CUE command. It is very much needed to make a perfect setup. I am unable to find any good example to help me out. I am using VB.net for the development. My sample effort is as following where I am trying to cue an ID 'FRED1---', please take a look as its not working out for me. Please help me with some good example as I am feeling all helpless.

     

    Private Sub PlaySelectedID()

    If SerialPort1.IsOpen = False Then

    SerialPort1.Open()

    End If

    Try

    Dim bb() As Byte = {&H2, &HA, &H20, &H24, &H46, &H52, &H45, &H44, &H31, &H20, &H20, &H20, &HF6}

    ''PLAYSELECTED ID

    Dim intByteToRead As Integer = 0

    SerialPort1.Write(bb, 0, 13)

    intByteToRead = SerialPort1.BytesToRead()

    Dim intReadReturn As Integer = 0

    Dim byteRead(intByteToRead) As Byte

    intReadReturn = SerialPort1.Read(byteRead, 0, intByteToRead)

    MessageBox.Show(
    "done") Catch ex As Exception

    '

    End Try

    End Sub

    Filed under:
Page 1 of 1 (1 items)
© 2009 Penton Business Media, Inc. Home | Contact Us | For Advertisers | For Search Partners | Privacy Statement | Terms of Use | RSS