10.29- distributed control system based on LabVIEW cluster robot

According to 10.27 work plan

  • Change the project and modify the file name
    • Note: In addition to the virtual folder name can be changed to direct, the rest of the file names are to be changed in the Project Manager. Methods: Right-click - rename
    • Convention Example name

 

计算机生成了可选文字: zsControlCenter.lvproj -  WE(O) Iä(T)  Il  FromOtherProject  TEST  Splash Screen.vi  zsControlCenter.lvlib  z sControlCenterÉ-•EiÅB  zsControlCenter.lvclass  E JoyStick Actor.lvlib  JoyStick Control Message.lvclass  JoyStick ControlMessage.ctl  Send JoyStick Control Message.vi  Write Data.vi  JoyStick.lvclass  JoyStick.ctl  Localization. vi  Actor Core. vi  Stop Core.vi  TaskForControlMessage.vi  MapDisplayer.lvlib  Map DisplayerÉ-.EiÅB  MapDisplayer Data Message.lvclass  MapDisplayer DataMessage.ctl  Send MapDisplayer Data Message.vi  MapDisplayer.lvclass  MapDisplayer.ctl  Localization.vi  Actor Core. vi  Stop Core.vi  TaskForDataMessage.vi  TEMP.vi

 

 

 

2015/10/29 10:30 - screen clipping

  • Deep understanding of the operator's core function
    • Two threads, one thread lead-out queue, the queue can be drawn own queue or the caller, and then to read and write data queue
    • Another thread calls the parent class's core function: Sub operator's core function to rewrite the core of the parent class, and then call the parent method to rewrite the core function implementation
  • Creating function
    • Accordance with the requirements of object-oriented method to create the class member functions
  • Create a control reference on the
    • You can not create IMAQ image display.ctl reference input control
    • You can only create IMAQ image.ctl input controls referenced
    • Conclusion : So only DO update function IMAQ image.ctl reference to the control, and then again with the core function of cycle update IMAQ Image display.ctl .
  • Based on a narrative, it decided not to computing resources spread DO function, because in any case be circulating in the core function, DO function or major transfer data better.
  • About error investigation
    • If an error occurs, do not look at LV own error, be sure to check in with their own ideas if there VI has not been modified.
  • After modifying think, in accordance with its own program execution logic to think again, and then debugging
  • If you find that there are sub-operator does not stop running, please stop performing manual press after VI red button exit
    • Alternatively, using similar B operator "stop signal" notifier
  • After using the notifier to modify the operator found that sub-picture can not be updated
    • The reason is that, once placed in circulation in the event structure, if the event never expires, the cycle will not continue, the program is always executed in the event structure inside
    • Since the implementation of the program has been stuck in the event structure, so the cycle will not continue, that counter I does not increase, it sends a message function to run in parallel with the event structure will not run, it will not send a message.
    • To solve this problem, as long as the timeout event structure is set to 0 to immediately let the cycle continue.

Guess you like

Origin www.cnblogs.com/lizhensheng/p/11241957.html