ÆÕÔ´Ðźŷ¢ÉúÆ÷Ô¶³Ì¿ØÖÆSCPI×Ô¶¯»¯
ÔÚÏÖ´úµç×Ó²âÊÔÁìÓò£¬×Ô¶¯»¯¼¼ÊõÕý³ÉΪÌáÉýЧÂʺ;«¶ÈµÄºËÐÄÇý¶¯Á¦¡£ÆÕÔ´Ðźŷ¢ÉúÆ÷ͨ¹ýSCPI£¨Standard Commands for Programmable Instruments£©ÐÒéʵÏÖµÄÔ¶³Ì¿ØÖƹ¦ÄÜ£¬Îª¸´ÔÓ²âÊÔ³¡¾°ÌṩÁËÁé»î¡¢¸ßЧµÄ½â¾ö·½°¸£¬Ê¹¹¤³ÌʦÄܹ»°ÚÍÑ·±ËöµÄÊÖ¶¯²Ù×÷£¬¹¹½¨È«×Ô¶¯»¯²âÊÔϵͳ£¬`FREQuency 1GHz`Ôò¾«È·ÉèÖÃÊä³öƵÂÊ£¬±ê×¼»¯Óï·¨¼«´ó½µµÍÁË¿çÆ½Ì¨¿ª·¢ÄѶȡ£

Ô¶³Ì¿ØÖÆÊµÏÖ£º´ÓÁ¬½Óµ½×Ô¶¯»¯
1. ÎïÀíÁ¬½ÓÓëÅäÖãºÍ¨¹ýLAN½Ó¿ÚÁ¬½ÓÐźŷ¢ÉúÆ÷£¬Ê¹ÓÃVISA£¨Virtual Instrument Software Architecture£©½¨Á¢Í¨ÐÅͨµÀ£¬²¢ÅäÖÃIPµØÖ·Óë¶Ë¿ÚºÅ¡£
2. SCPIÖ¸Áî±à³Ì£º»ùÓÚPython/C++µÈÓïÑÔ£¬µ÷ÓÃSCPIÖ¸ÁîʵÏÖ²ÎÊý¿ØÖÆ¡£ÀýÈ磬ÒÔÏ´úÂëÆ¬¶ÎÑÝʾÁËʹÓÃPythonʵÏÖÆµÂÊɨÃ裺
3. ×Ô¶¯»¯Á÷³Ì¹¹½¨£º½áºÏÑ»·¡¢Ìõ¼þÓï¾äµÈ±à³ÌÂß¼£¬¿ÉʵÏÖ¶à²ÎÊýÁª¶¯¿ØÖÆÓëÅúÁ¿²âÊÔ¡£ÀýÈ磬ͨ¹ý½Å±¾×Ô¶¯±éÀú²»Í¬ÆµÂʵ㲢¼Ç¼ÏìÓ¦Êý¾Ý£¬ÐγɲâÊÔ±¨¸æ¡£
Ó¦ÓÃʵ¼ù£º½âËøÖÇÄܲâÊÔ³¡¾°
1. ×Ô¶¯»¯²âÊÔϵͳ£ºÔÚÉ䯵×é¼þÉú²úÖУ¬Í¨¹ýSCPI¿ØÖÆÐźŷ¢ÉúÆ÷Éú³É¶àµ÷ÖÆÐźţ¬ÅäºÏ×Ô¶¯»¯Æ½Ì¨ÊµÏÖ24СʱÎÞÈ˲âÊÔ¡£
2. Ô¶³Ìµ÷ÊÔÓë¼à¿Ø£º½èÖúÔÆÆ½Ì¨ÓëSCPIÖ¸Á¹¤³Ìʦ¿Éʵʱµ÷ÕûÒìµØÊµÑéÊÒµÄÐźÅÔ´²ÎÊý£¬Í»ÆÆ¿Õ¼äÏÞÖÆ¡£
3. Êý¾Ý±Õ»··ÖÎö£º½áºÏSCPIµÄ²éѯָÁÈç`MEAS:VOLT?`»ñÈ¡µçѹֵ£©£¬¿É¹¹½¨"¿ØÖÆ-²âÁ¿-·´À¡"±Õ»·£¬ÊµÏÖ¶¯Ì¬²ÎÊýÓÅ»¯¡£
×î¼Ñʵ¼ùÓë×¢ÒâÊÂÏî
´íÎó´¦Àí»úÖÆ£ºÍ¨¹ý`*ESR?`Ö¸Áî¼à²âÒÇÆ÷״̬£¬¼°Ê±´¦ÀíͨÐÅÒì³£»ò²ÎÊý³¬ÏÞÎÊÌâ¡£
ÐÔÄÜÓÅ»¯£º²ÉÓöþ½øÖÆÊý¾Ý´«ÊäģʽÌáÉý´óÊý¾ÝÁ¿£¨È粨ÐÎÊý¾Ý£©´«ÊäЧÂÊ¡£
¼æÈÝÐÔÉè¼Æ£º×ñÑSCPI²ã´Î»¯ÃüÁî½á¹¹£¬È·±£´úÂëÔÚ²»Í¬ÐͺÅÒÇÆ÷¼äµÄ¿ÉÒÆÖ²ÐÔ¡£

Ëæ×ÅÎïÁªÍøÓëÖÇÄÜÖÆÔìµÄÉîÈë·¢Õ¹£¬»ùÓÚSCPIµÄÔ¶³Ì¿ØÖƼ¼Êõ½«¼ÓËÙ²âÊÔϵͳµÄÖÇÄÜ»¯Ñݽø¡£ÆÕÔ´Ðźŷ¢ÉúÆ÷ÓëSCPIÐÒéµÄÉî¶ÈÈںϣ¬²»½ö¼ò»¯Á˲âÊÔÁ÷³Ì£¬¸ü¿ª±ÙÁËÒÇÆ÷¿ØÖƵÄз¶Ê½£¬Îªµç×Ó¹¤³ÌÁìÓò´øÀ´¸ü¸ßά¶ÈµÄ´´Ð¿ÉÄÜ¡£






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