/// <summary> /// Query typically returns the model name and number, but can be used for general information. /// </summary> /// <returns>Model or information found in INF2 location.</returns> public string GetModel() { _cmd = "%1INF2 ?\r"; GetResponse(_cmd); int index = ProjectorResponse.LastIndexOf("="); ProjectorResponse = ProjectorResponse.Substring(index + 1); return(ProjectorResponse); }
/// <summary> /// Check the lamp hours and lamp status /// </summary> /// <returns>1) First five digits indicate cumulative lamp hours. 2) Hours are followed by a space, then a 0 indicating the lamp is off or a 1 indicating it is on. /// </returns> public string GetLampInformation() { _cmd = "%1LAMP ?\r"; GetResponse(_cmd); int index = ProjectorResponse.LastIndexOf("="); ProjectorResponse = ProjectorResponse.Substring(index + 1); return(ProjectorResponse); }
/// <summary> /// The projector name must be set locally through the projector interface. /// </summary> /// <returns>Projector name</returns> /// public string GetProjectorName() { _cmd = "%1NAME ?\r"; GetResponse(_cmd); int index = ProjectorResponse.LastIndexOf("="); ProjectorResponse = ProjectorResponse.Substring(index + 1); return(ProjectorResponse); }
/// <summary> /// Check which input is currently selected /// </summary> /// <returns>Input number based on PJLink standard. e.g. 31 could be Digital In 1, HDMI, DVI or DisplayPort. /// Check the manufacturer information for your model of projector or display. </returns> public string GetInputSelected() { _cmd = "%1INPT ?\r"; GetResponse(_cmd); int index = ProjectorResponse.LastIndexOf("="); ProjectorResponse = ProjectorResponse.Substring(index + 1); return(ProjectorResponse); }