ʹÓà ÂÞµÂÓëÊ©Íß´ÄR&S?Forum Ó¦ÓóÌÐòʵÏÖÒÇÆ÷Ô¶³Ì¿ØÖÆ
ÕâÊÇһƪ¹ØÓÚR&S ForumÓ¦ÓóÌÐòµÄÓ¦ÓÃÖ¸ÄÏ£¬Ö÷Òª½éÉÜÁËÈçºÎͨ¹ýPython½Å±¾»ò½»»¥Ê½¿ØÖÆÌ¨Í¨ÐÅÔ¶³Ì¿ØÖÆRohde & Schwarz²âÊԺͲâÁ¿ÒÇÆ÷¡£ÒÔÏÂÊǶÔÕâЩºËÐÄÄÚÈݵļòÒª¸ÅÊö£º
1. R&S Forum¼ò½é:
R&S ForumÊÇÒ»¸ö»ùÓÚPython½Å±¾ÓïÑÔµÄÃâ·Ñ¹¤¾ß£¬×¨ÎªÔ¶³Ì¿ØÖƲâÊԺͲâÁ¿ÒÇÆ÷Éè¼Æ¡£
ËüʹÓÃPyVISA°ü½øÐÐÒÇÆ÷ͨÐÅ£¬Ìṩ¿ØÖÆÌ¨½øÐн»»¥Ê½Í¨ÐźÍÇ¿´óµÄPython½Å±¾±àд¹¦ÄÜ¡£
Ö§³Ö½Å±¾µ÷ÊÔ¡¢Õý³£ºÍ¸ßËÙģʽִÐУ¬²¢×Ô¶¯¼Ç¼Õû¸öÔ¶³Ì¿ØÖÆÍ¨ÐŹý³Ì¡£

2. °²×°Ö¸ÄÏ:
R&S Forum×Ô´øPython½âÊÍÆ÷ºÍËùÓбØÒª°ü£¬²»»á¸ÉÈÅÒѰ²×°µÄPython½âÊÍÆ÷¡£
Ö§³ÖWindows 10ºÍ¶à¸ö°æ±¾µÄMac OS X¡£
°²×°¹ý³Ì°üÀ¨ÏÂÔØ²¢ÔËÐа²×°³ÌÐò£¬Ñ¡ÔñËùÐè×é¼þ½øÐа²×°£¬ÈçR&S ForumÓ¦Óá¢Python 2.7.10ºÍPyVISA°üµÈ¡£
3. R&S ForumÖ÷´°¿Ú:
Ö÷´°¿Ú¿É×Ô¶¨Òå²¼¾Ö£¬°üº¬½Å±¾´°¿Ú¡¢Îļþä¯ÀÀÆ÷¡¢Í¨ÐżÇ¼Æ÷¡¢¿ØÖÆÌ¨´°¿Ú¡¢Êä³ö´°¿ÚºÍSCPIÊ÷µÈ¡£
É豸ѡÔñ×éºÏ¿òÓÃÓÚÖ¸¶¨½Å±¾»òºêÒªÖ´ÐеÄÄ¿±êÒÇÆ÷¡£
4. Ìí¼ÓÐÂÒÇÆ÷:
ͨ¹ý¡°ÉèÖᱲ˵¥Öеġ°ÒÇÆ÷¡±Ñ¡ÏîÌí¼ÓÐÂÒÇÆ÷£¬ÅäÖÃ×ÊÔ´ID¡¢½Ó¿ÚÀàÐÍ¡¢IPµØÖ·ºÍ³¬Ê±Ê±¼äµÈ²ÎÊý¡£
Ìí¼Óºó¿ÉÒÔͨ¹ý²âÊÔÁ¬½Ó°´Å¥ÑéÖ¤ÓëÒÇÆ÷µÄÁ¬½Ó£¬³É¹¦ºó¼´¿Éͨ¹ýResource ID»ò±ðÃûÓëÒÇÆ÷ͨÐÅ¡£
5. ¿ØÖÆÌ¨´°¿Ú:
¿ØÖÆÌ¨´°¿ÚÓÃÓÚ¼´Ê±Ö´ÐÐÃüÁ֧³Ö¿ìËÙ²âÊÔSCPIÃüÁî¡£
¿ÉÒÔͨ¹ýRTB.query('IDN?')µÈÃüÁî²éѯÒÇÆ÷µÄ±êʶ×Ö·û´®£¬²¢Ê¹ÓüýÍ·¼üµ÷³ö֮ǰʹÓõÄÃüÁî¡£
6. ½Å±¾´°¿Ú:
½Å±¾´°¿ÚÔÊÐí´´½¨¡¢±à¼¡¢±£´æºÍ¼ÓÔØR&S Forum½Å±¾£¬ÍƼöʹÓÃ.i3eÎļþÀ©Õ¹Ãû¡£
ÌṩÁË¡°Hello World¡±Ê¾Àý½Å±¾ºÍ¸ß¼¶½Å±¾Ê¾Àý£¬°üÀ¨´íÎó¼ì²é¡¢²éѯ³¤×Ö·û´®ºÍ¶þ½øÖÆÊý¾ÝµÈÀ©Õ¹·½·¨¡£
7. ½»»¥Ê½Ô¶³Ì¿ØÖÆ:
½»»¥Ê½Ô¶³Ì¿ØÖÆ´°¿ÚÌṩÓëRsVisaTester»òNI VISA Test PanelÀàËÆµÄ¹¦ÄÜ£¬¿Éͨ¹ýÖ÷´°¿Ú¹¦ÄÜÇøÍ¼±êÆô¶¯¡£
Ö§³ÖÑ¡ÔñÉ豸¡¢Á¬½Ó¶Ï¿ª¡¢Ö´ÐжÁдSCPIÃüÁîµÈ²Ù×÷¡£
8. SCPIÊ÷:
SCPIÊ÷¹¦ÄÜÔÊÐí´ÓÒÇÆ÷¶ÁÈ¡ËùÓÐÖ§³ÖµÄSCPIÃüÁÀëÏß״̬ÏÂÒ²¿ÉʹÓá£
¿ÉÒÔͨ¹ýµ¼ÈëÃüÁÀ´¶ÁÈ¡É豸»òÎļþÖеÄSCPIÃüÁ²¢Ö§³Ö¸´ÖƵ½¼ôÌù°å¡¢Õ³Ìùµ½shell»ò±à¼Æ÷µÈ²Ù×÷¡£
9. ºê:
ºêÊÇ¿ÉÒÔͨ¹ýµ¥»÷µ÷ÓõĶ̽ű¾£¬ÓÃÓÚÖ´Ðмòµ¥µÄSCPI²éѯµÈÈÎÎñ¡£
¿ÉÒÔͨ¹ýºê±à¼Æ÷Ìí¼Ó¡¢É¾³ýºÍ±à¼ºê£¬½Å±¾ÖÐʹÓÃDEVICE¹Ø¼ü×Ö¿ÉÒÔ¿ìËÙÇл»Ä¿±êÒÇÆ÷¡£
10. ÌáʾÓë¼¼ÇÉ:
°üÀ¨½â¾öR&S Forumͼ±êÏÔʾµ«Ö÷´°¿Ú²»ÏÔʾµÄÎÊÌâ¡¢VISAºÍGPIB½Ó¿ÚµÄʹÓý¨Òé¡¢DEVICE.query()ºÍDEVICE.ask()·½·¨µÄÇø±ðµÈ¡£
ÌṩÁ˽ű¾±à¼Æ÷Ë«»÷ÐÐΪÉèÖõÈʵÓü¼ÇÉ¡£

ÕâÆªÎÄÕÂΪÓû§ÌṩÁËʹÓÃR&S ForumÔ¶³Ì¿ØÖÆRohde & Schwarz²âÊԺͲâÁ¿ÒÇÆ÷µÄÏêϸָÄÏ£¬²¢Í¨¹ýʾÀý½Å±¾ºÍ½çÃæ½éÉܰïÖúÓû§¿ìËÙÉÏÊÖ£¬Ìá¸ßÒÇÆ÷¿ØÖƵÄЧÂʺͱã½ÝÐÔ¡£






¹Ø×¢¹Ù·½Î¢ÐÅ
