public void SetString(niRFSGProperties propertyId, string repeatedCapabilityOrChannel, string val) { PInvoke.TestForError(this._handle, PInvoke.SetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), val)); }
public void SetString(niRFSGProperties propertyId, string val) { this.SetString(propertyId, "", val); }
public void SetDouble(niRFSGProperties propertyId, System.Double val) { this.SetDouble(propertyId, "", val); }
public void SetInt32(niRFSGProperties propertyId, int val) { this.SetInt32(propertyId, "", val); }
public void SetBoolean(niRFSGProperties propertyId, bool val) { this.SetBoolean(propertyId, "", val); }
public void SetDouble(niRFSGProperties propertyId, string repeatedCapabilityOrChannel, System.Double val) { PInvoke.TestForError(this._handle, PInvoke.SetAttributeViReal64(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), val)); }
public string GetString(niRFSGProperties propertyId) { return this.GetString(propertyId, ""); }
public void SetBoolean(niRFSGProperties propertyId, string repeatedCapabilityOrChannel, bool val) { PInvoke.TestForError(this._handle, PInvoke.SetAttributeViBoolean(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), System.Convert.ToUInt16(val))); }
public int GetInt32(niRFSGProperties propertyId) { return this.GetInt32(propertyId, ""); }
public string GetString(niRFSGProperties propertyId, string repeatedCapabilityOrChannel) { System.Text.StringBuilder newVal = new System.Text.StringBuilder(512); int size = PInvoke.GetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), 512, newVal); if ((size < 0)) { PInvoke.ThrowError(this._handle, size); } else { if ((size > 0)) { newVal.Capacity = size; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), size, newVal)); } } return newVal.ToString(); }
public int GetInt32(niRFSGProperties propertyId, string repeatedCapabilityOrChannel) { int val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViInt32(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return val; }
public System.Double GetDouble(niRFSGProperties propertyId) { return this.GetDouble(propertyId, ""); }
public System.Double GetDouble(niRFSGProperties propertyId, string repeatedCapabilityOrChannel) { System.Double val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViReal64(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return val; }
public bool GetBoolean(niRFSGProperties propertyId) { return this.GetBoolean(propertyId, ""); }
public bool GetBoolean(niRFSGProperties propertyId, string repeatedCapabilityOrChannel) { System.UInt16 val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViBoolean(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return System.Convert.ToBoolean(val); }