Loading…

方法名称: lock_unlock_device

方法ID: 0x1073

方法标签: Lock / Unlock Device

方法描述: This function allows a master to temporarily or permanently lock an instrument while the device is being configured or calibrated (preventing any changes from a local panel of another master). Once the procedure is complete the locking master device must restore normal operation. If the lock is temporary then normal (unprotected) operation is also resumed when power is removed from device or upon performing a Device Reset. A permanent lock remains active after a device restart or reset. Unlock: Unlock the device. Lock temporary: Device parameters can't be accessed by another master or the local panel. Device lock is removed on device restart / reset. Lock permanent: Device parameters can't be changed by another master or the local panel. Device lock remains active after a device restart / reset. Lock all: Device parameters can't be changed by any application. Device lock remains active after a device restart / reset. Any Master can unlock the device.


  • {
  • char status[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • long var_id[1];
  • int use_abort_method;
  • int choice;
  • int result;
  • int locked;
  • int slen1;
  • int slen2;
  • slen1 = 60;
  • slen2 = 60;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);


请登录以获得完整内容