i.chnl[#].src - Source Status

ID Type Example Description
i.chnl[#].src.connected integer 1 Whether the source channel is currently connected. 0=no, 1=yes.
i.chnl[#].src.data.quiet integer 1037359 The number of seconds the channel has been quiet (ie. Not receiving data).
i.chnl[#].src.protocol.error.code string In the case of Lua errors, this is the Lua pcall error value. For the “Protocol” errors, this is zero.
i.chnl[#].src.protocol.error.text string The text of the error. In the case of Lua errors, this is the string that was left on the stack after the pcall (hence the Lua error message). For the “Protocol” errors this is the string that was passed to the source.error call.
i.chnl[#].src.protocol.error.which string Specifies where the error occurred. #Protocol Error String
i.chnl[#].src.type string 'com' The currently running source type. When a source type is selected through the c.chnl[#].src.type parameter there is a delay while the source closes down cleanly

Protocol Error String

Value Description
“_setup” Lua error in running the protocol.setup function.
“_connect” Lua error in running the protocol.connect function.
“active_loop” Lua error in running the loop while connected.
“_data” Lua error in running the protocol.data function.
“Protocol” The protocol registered an error with the source.error function.