Äú¿ÉÒÔ¾èÖú£¬Ö§³ÖÎÒÃǵĹ«ÒæÊÂÒµ¡£

1Ôª 10Ôª 50Ôª





ÈÏÖ¤Â룺  ÑéÖ¤Âë,¿´²»Çå³þ?Çëµã»÷Ë¢ÐÂÑéÖ¤Âë ±ØÌî



  ÇóÖª ÎÄÕ ÎÄ¿â Lib ÊÓÆµ iPerson ¿Î³Ì ÈÏÖ¤ ×Éѯ ¹¤¾ß ½²×ù Model Center   Code  
»áÔ±   
   
 
     
   
 ¶©ÔÄ
  ¾èÖú
ÊÖ°ÑÊÖ½ÌÄã´´½¨Teststand User Interface
 
  18576  次浏览      28
 2019-3-26
 
±à¼­ÍƼö:

±¾ÎÄÀ´×ÔÓÚNI¹ÙÍø£¬±¾ÎÄÖ÷Òª½éÉÜÁËÈçºÎʹÓÃlabviewÀ´´´½¨teststand½çÃæ£¬Ï£Íû¶ÔÄúµÄѧϰÓÐËù°ïÖú¡£

ÎÊÌâ: TeststandÊÇNIµÄ×Ô¶¯»¯²âÊÔ¹ÜÀíÈí¼þ£¬¹ã·ºÊ¹ÓÃÔÚ×Ô¶¯»¯²úÏßÖУ¬ÔںܶೡºÏÏ£¬¿ª·¢¹¤³Ìʦ²»Ï£ÍûÏÖ³¡µÄ²Ù×÷¼¼ÊõÈËÔ±¿´µ½TeststandµÄµ×²ã´úÂ룬±ÜÃâÆäÎó²Ù×÷µ¼ÖÂÎÊÌ⣬ÕâʱºòÐèÒª±àдһ¸öÓû§½çÃæ¼´User interface£¨ÒÔϼò³ÆUI£©£¬Ê¹ÓÃUI¿ÉÒÔÖ±½Óµ÷ÓÃTeststandÀ´Íê³ÉÏà¹ØµÄ×Ô¶¯»¯²âÊÔ¡£

½â´ð:

´´½¨Teststand UiµÄ·½·¨ºÜ¶à£¬¿ÉÒÔʹÓÃLabview, Ò²¿ÉÒÔʹÓÃCVI£¬C£¬C#µÈ£¬ÔÚ¿ªÊ¼²Ëµ¥ÖпÉÒÔ·¢ÏÖ£¬NIÌṩÁ˷ḻµÄ³ÌÐòÒÔ¼°Ô´´úÂë¡£

ÕâÀï½öÒÔLabviewΪÀý½éÉÜÈçºÎ´´½¨Teststand UI¡£ÀýÈ磬ÐèÒª´´½¨ÈçÏÂͼËùʾµÄÒ»¸öUI£º

Ïà¶ÔÓ¦µÄ£¬´ó¼Ò¿ÉÒÔÔÚÉÏͼ·¢ÏÖÏàÓ¦µÄÇ°Ãæ°åÒªËØ£º

ÏÂÀ­¿ò£ºSequence files£»Sequence£»

°´Å¥£ºOpen/close Sequence files£»TestUUT/single pass/Run mainseq£»

ÏÔʾ¿ò£ºExecution display£¬Report£»

ÕâÀïÐèÒªÌáµ½µÄÊÇ£¬ÔÚTeststandµÄUI Controls ±»·ÖΪÁ½´óÀà: visible controlsºÍmanager controls¡£ÕâÁ½ÖÖcontrols¶¼»ùÓÚActiveX£¬¿ÉÒÔÍê³ÉÏÔʾ£¬Ö´ÐУ¬±à¼­£¬±£´æºÍµ÷ÊÔsequencesµÄ¹¤×÷¡£ ǰÕßvisable controlsÖ÷Òª·ÖΪËÄÖÖView Controls£¬Selector Controls£¬Text Display ControlsºÍCommand Controls£¬Í¨³£»á±»ÏÔʾ¸ø×îÖÕÓû§£¬Ò²¾ÍÊÇÄãÏÖÔÚËù¿´µ½µÄ¡£¶øÔÚÇ°Ãæ°åµÄÆäËûµØ·½»¹ÓÐһЩûÓб»ÏÔʾµÄÒþ²ØÒªËØ£¬¾ÍÊÇmanager controls¡£

Manager controls µ÷Óà TestStand API À´Íê³ÉÏàÓ¦µÄÈÎÎñ£¬ÀýÈçÔØÈëÐòÁÐÎļþ£¬Ö´ÐвâÊÔ²½ÖèµÈ¡£

Manager controls ¿É¹ÜÀí»òÌáÐÑʼþ·¢Éú, ÀýÈçÓû§µÇ¼, Ö´Ðе½¶Ïµã»òÕßÓû§ÐÞ¸ÄÁËÐòÁÐÎļþ¡£ Manager controls Ôڱ༭ʱ¿É¼û£¬ÔËÐÐʱ×Ô¶¯Òþ²Ø¡£Manager controlsÓÐÈýÖÖ£¬·Ö±ðÊÇApplication Manager£¬SequencefileView ManagerºÍExecutionView Manager¡£

Application Manager control ʹÓÃTeststand engineÌṩÈçÏÂ×î»ù±¾µÄ²Ù×÷¡£

1.Processes command-line arguments.

2.Maintains an application configuration file.

3.Initializes and shuts down the TestStand Engine.

4.Loads type palette files at initialization.

5.Logs users in and out.

6.Loads and unloads sequence files.

7.Launches executions.

8.Tracks existing sequence files and executions.

SequenceFileView Manager control¹ÜÀíTeststand UI visable ControlÈçºÎÓësequence file½»»¥¡£Ò»¸öÓ¦ÓóÌÐò¶Ôÿһ¸öSequence file¶¼±ØÐëÓÐÒ»¸ö SequenceFileView Manager control, ÕâÑù¿ÉÒÔÏÔʾ sequence file »òÈÃÓû§À´Ñ¡ÔñÒ»¸ö sequence file£¬ÌṩÈçÏÂ×î»ù±¾µÄ²Ù×÷£º

1.Designates a sequence file as the selected sequence file.

2.Tracks which sequence, step group, and steps users select in the sequence file.

3.Tracks which variables or properties users select in the sequence file.

4.Displays aspects of the sequence file in the visible TestStand UI Controls to which the SequenceFileView Manager control connects.

5.Enables visible TestStand UI Controls to which the SequenceFileView Manager control connects to change the selected file, sequence, step group, and steps.

6.Provides editing and saving commands.

7.Provides methods for executing the sequence file users select.

ExecutionView Manager control ¹ÜÀívisible TestStand UI Controls ÈçºÎÓ뱻ѡÔñµÄ TestStand execution½øÐн»»¥¡£Ò»¸öÓ¦ÓóÌÐò¶Ôÿһ¸öexecution¶¼ÐèÒªÒ»¸öExecutionView Manager control£¬ÕâÑù¿ÉÒÔÏÔʾexecution»òÈÃÓû§À´Ñ¡ÔñÒ»¸öexecution£¬ÌṩÈçÏÂ×î»ù±¾µÄ²Ù×÷¡£

1.Designates an execution as the selected execution.

2.Tracks which thread, stack frame, sequence, step group, and steps users select in the execution.

3.Tracks which variables or properties users select in the execution.

4.Displays aspects of the selected execution in the visible TestStand UI Controls to which the ExecutionView Manager control connects.

5.Enables visible TestStand UI Controls to which the ExecutionView Manager control connects to change the selected thread, stack frame, sequence, step group, and steps.

6.Sends events to notify the application of the progress and state of the execution.

7.Provides debugging commands.

8.Updates the ReportView control to show the current report for the execution.

Teststand UI controlsºÍTeststand Sequence editorÖÐÃû´ÊÊõÓïµÄ¶ÔÓ¦¹ØÏµµÄÏà¹Ø¿É²Î¿¼ÏÂͼ£º

ÉÏÎÄËùÊöµÄManager controls¿ÉÒÔÔڿؼþÑ¡°åÖÐÕÒµ½£º

³ÌÐò¿òͼ¶ÔÓ¦µÄ½ÓÏß¶ËÈçÏ£º

ͬÑù£¬Visable controlsÒ²¿ÉÒÔÔÚTeststandµÄ×ÓÑ¡°åÖÐÕÒµ½£¬ÍÏÒ·µ½Ç°Ãæ°åÈçÏÂͼ£º

ÎÞÂÛÊÇManager controls»¹ÊÇvisable controls¶¼ÓкܶàµÄÊôÐԺͷ½·¨¹©Íⲿ³ÌÐò½øÐе÷Óá£ÔÚ½øÐгÌÐò¿òͼµÄ±à³Ì֮ǰ£¬ÎÒÃÇÊ×ÏÈ´ò¿ªTeststandÖÐ×Ô´øµÄUI·¶ÀýLoad Top-Level VI.vi£¨C:\ProgramData\Microsoft\Windows\Start Menu\Programs\National Instruments\TestStand 2010 SP1\User Interfaces\LabVIEW\Source Code£©£¬À´¿´¿´ËüµÄ×é³É²¿·Ö£¬ÏÂͼÊÇUIµÄVI²ã´Î¹ØÏµÍ¼£º

¿ÉÒÔ¿´µ½£¬¼´Ê¹Ò»¸ö¼òµ¥µÄUI£¬ÆäVIµÄ²ã´Î½á¹¹Ò²ÊǷdz£¸´Ôӵ쬵«×Ðϸ¿´À´£¬Æäµ÷Óõĺܶà×ÓVI¶¼ÊÇlabviewËù×Ô´øµÄ¡£

Èçͼ£¬°×µ×µÄVIÊǵ÷ÓÃC:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\UserInterfaces\Full-Featured\LabVIEW·¾¶ÏÂTestExec.llbÖеÄFull UI¡£ÆäÓàµÄ»ù±¾ÎªC:\Program Files\National Instruments\LabVIEW 2011\vi.lib\addons\TestStandÖÐ_TSUISupport.llbºÍ_TSUIControls.llbÖеÄÏà¹ØVI¡£±à³Ìʱ£¬Ö»ÐèÒªÎÒÃÇÁ˽âÕâЩVIµÄ×÷Óò¢ºÏÀíµÄʹÓü´¿É¡£

ÏÂÃæÎÒÃÇÀ´¿´UI³ÌÐò¿òͼµÄ´¦Àí¡£

1¡¢Ê×ÏÈÊǶÔUIÇ°Ãæ°å¿Ø¼þµÄÏà¹ØÅäÖã¬ÈçÏÂͼ·ÖΪÁù²½£º

Ê×Ïȵ÷ÓÃSet Teststand Application Window VI£¬ÅäÖÃTeststand UI App Manager£¬Ö®ºóµÄÎ岽ʹÓ÷½·¨½Úµã·Ö±ð¶Ôsequence file£¬entry point£¬ sequence£¬ ExecutionView control ºÍ ReportView control½øÐÐÅäÖá£

ÐèҪעÒâµÄÓм¸µã£¬

¢Ù ·½·¨½ÚµãµÄ´´½¨ÈçÏÂͼ£º

¢Ù µÚÈý²½Entry pointµÄindexĬÈÏΪ0£¬¼´Ê¹ÓõÚÒ»ÖÖprocess model¡£

2¡¢´´½¨Óû§Ê¼þ£¬²¢½«ApplicationMgr£¬SequenceFile View MgrºÍExecution View Manager½øÐÐÀ¦°ó¡£

3¡¢Íê³ÉʼþµÄ×¢²áºÍ³ÌÐòµÄ¿ªÊ¼£º

4¡¢´´½¨Ê¼þ½á¹¹£¬¿É¸ù¾Ýʵ¼ÊÇé¿ö½øÐд´½¨£¬´ËÀý³Ì½ö½ö¼òµ¥µÄ´´½¨ÁËÁ½¸öʼþ·ÖÖ§£¬·Ö±ðÕë¶ÔÇ°Ãæ°å¹Ø±ÕºÍÉèÖÃÊó±êΪæµ״̬¡£

5¡¢×îºóÍê³ÉʼþµÄÈ¡Ïû×¢²áºÍÏú»Ù¡£

×ܽ᣺

±¾ÎĽö½ö½éÉÜÁËÈçºÎʹÓÃlabviewÀ´´´½¨teststand½çÃæ£¬Ê¹ÓÃÆäËûÓïÑÔ»·¾³Ò²Ê®·ÖÀàËÆ£¬¶¼Êǵ÷ÓÃTeststand UI controlsµÄÊôÐÔ½ÚµãºÍ·½·¨½ÚµãÀ´Íê³É¡£

 

 

 
   
18576 ´Îä¯ÀÀ       28
Ïà¹ØÎÄÕÂ

΢·þÎñ²âÊÔÖ®µ¥Ôª²âÊÔ
һƪͼÎÄ´øÄãÁ˽â°×ºÐ²âÊÔÓÃÀýÉè¼Æ·½·¨
È«ÃæµÄÖÊÁ¿±£ÕÏÌåϵ֮»Ø¹é²âÊÔ²ßÂÔ
È˹¤ÖÇÄÜ×Ô¶¯»¯²âÊÔ̽Ë÷
Ïà¹ØÎĵµ

×Ô¶¯»¯½Ó¿Ú²âÊÔʵ¼ù֮·
jenkins³ÖÐø¼¯³É²âÊÔ
ÐÔÄܲâÊÔÕï¶Ï·ÖÎöÓëÓÅ»¯
ÐÔÄܲâÊÔʵÀý
Ïà¹Ø¿Î³Ì

³ÖÐø¼¯³É²âÊÔ×î¼Ñʵ¼ù
×Ô¶¯»¯²âÊÔÌåϵ½¨ÉèÓë×î¼Ñʵ¼ù
²âÊԼܹ¹µÄ¹¹½¨ÓëÓ¦ÓÃʵ¼ù
DevOpsʱ´úµÄ²âÊÔ¼¼ÊõÓë×î¼Ñʵ¼ù