- 1 ̾Á°¡§ Aki Åê¹ÆÆü¡§2004/09/13(·î) 18:21 ID:M6TGw9MQ
¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
INES¼Ò¤ÎGPIB¤ÎGPIB¤òVB¤ÇÀ©¸æ¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¥Ç¥ê¥ß¥¿¤ÎÀßÄê¤ÏÎɤ¯Ê¬¤«¤ê¤Þ¤»¤ó¡£ OnlineManual¤ò¸«¤Æ¤ß¤ë¤È°Ê²¼¤Î´Ø¿ô¤ÇÀßÄꤹ¤ë¤è¤¦¤Ç¤¹¡£
Function IeSet(ByVal pad%, ByVal tmo%, ByVal termin%, ByVal termout%) As Integer
'--------------------------------------------------------- Selection of the termination value (termin/termout)
<0>¡¡¡¡The data blocks will not be terminated. During a listener transfer (see Enter), ¡¡¡¡this may result in the error message unexpected end of transfer buffer. ¡¡¡¡If using an ines board with the ines IGPIB controller chip, the internal FIFO ¡¡¡¡can be activated by adding a 1 to this value.
<900>¡¡¡¡Data blocks will be terminated with EOI. During a talker transfer, ¡¡¡¡the EOI line will be set to true with the last byte of data, and signals ¡¡¡¡the end of the block. During a listener transfer, the input of data is ¡¡¡¡stopped at the first byte with EOI set to TRUE. If using an ines board ¡¡¡¡with the ines IGPIB controller chip, the internal FIFO can be activated by ¡¡¡¡adding a 1 to this value.
<1XXX>¡¡¡¡Data blocks will be delimited by the byte specified by decimal XXX. ¡¡¡¡The listener transfer ends with the reception of this byte. ¡¡¡¡During a talker transfer, the byte specified by XXX is appended to the data. ¡¡¡¡The values allowed are between 1000 (EOS byte 00) and 1255 (EOS byte 0FFH). ¡¡¡¡The EOI line is ignored.If using an ines board with the ines IGPIB controller chip, ¡¡¡¡the internal FIFO can be activated by adding a 256 to this value.
<9XXX>¡¡¡¡Data blocks will be delimited by the byte specified by decimal XXX ¡¡¡¡and/or EOI TRUE. The listener transfer ends with the reception of the EOS byte or ¡¡¡¡recognition of EOI TRUE. During a talker transfer, the byte specified by XXX will ¡¡¡¡be appended to the data and the EOI line will be set to TRUE at the same time. ¡¡¡¡The values allowed are between 9000 (EOS byte 00) and 9255 (EOS byte 0FFH). ¡¡¡¡If using an ines board with the ines IGPIB controller chip, the internal FIFO ¡¡¡¡can be activated by adding a 256 to this value.
1<XXXX> ATN mode The ines-ieee488 interface system will normally set the ¡¡¡¡ATN line to TRUE following the end of a data transfer event. This can be modified, ¡¡¡¡however, since this can sometimes prompt a malfunction of certain devices. ¡¡¡¡By adding 10.000 (decimal) to the termin/termout value it is possible to cause ¡¡¡¡the ATN line to remain in the FALSE state following completion of a data transfer event.
Initial Settings (Default Setting)
After the initialization of the ines-ieee488, the following values are used as default settings: ¡¡¡¡<timeout>¡¡¡¡= 1000 ¡¡¡¡ms
(¾Êά¤µ¤ì¤Þ¤·¤¿¡¦¡¦Á´¤Æ¤òÆɤà¤Ë¤Ï¤³¤³¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤)
- 2 ̾Á°¡§ ¥Þ¥Ë¥¯¢¡Jy2pR/5Y Åê¹ÆÆü¡§2004/09/14(²Ð) 11:24 ID:???
- ¼õ¿®Ê¸»úÎó¤ÎºÇ¸å¤¬0x0A¤Ê¤éÀµ¤·¤¯¥¿¡¼¥ß¥Í¡¼¥È¤Ç¤¤Æ¤ë
¤è¤¦¤Ë»×¤¤¤Þ¤¹¤¬¡£¤½¤ì¤È¤âtermin=0 (EOI¤Ç¤âLF¤Ç¤â¥¿¡¼¥ß ¥Í¡¼¥È¤·¤Ê¤¤)¤Ê¤Î¤ËEOIËô¤Ï0x0A¤ËÁø¶ø¤·¤¿»þÅÀ¤Ç¥¿¡¼¥ß¥Í ¡¼¥È¤·¤Á¤ã¤¦¤ó¤Ç¤·¤ç¤¦¤«¡©
¤½¤â¤½¤âinesÀ½¤ÎGPIB¥Ü¡¼¥É¤Ã¤ÆAgilent SICL/VISA¥é¥¤¥Ö ¥é¥ê¤Ç¥É¥é¥¤¥Ö¤·¤¿¤Û¤¦¤¬Îɤ¤¤Î¤Ç¤Ï¡© ÊѤÊAPI»È¤¦¤è¤ê¡£ ¤½¤ì¤È¤â¤½¤Îµ¡¼ï¤ÏAgilent¸ß´¹¤ÇÆ°¤«¤»¤Ê¤¤¤È¤«¡£
- 3 ̾Á°¡§ tam Åê¹ÆÆü¡§2004/09/14(²Ð) 11:52 ID:bDilOZgg
- ¡¡»ä¤â¡¢¼õ¿®Ê¸»úÎó¤ÎºÇ¸å¤Î<10h>¤Ï10(10¿Ê)¡§LF¤Î´Ö°ã¤¤¤Ç¤Ï̵¤¤¤«¤È»×¤¤¤Þ¤·¤¿¡£
¤Þ¤º¡¢¤½¤ì¤ò³Îǧ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤ÈÀßÄê¥Ñ¥é¥á¡¼¥¿¤Ç¤¹¤¬¡¢ pad¡§Â¿Ê¬À©¸æ¤µ¤ì¤ëµ¡´ï¤ÎGP-IB¥¢¥É¥ì¥¹ tmo¡§¥¿¥¤¥à¥¢¥¦¥È»þ´Ö termin¡§¼õ¿®»þ(IeInpt)¤Î¥Ç¥ê¥ß¥¿ÀßÄê termout¡§Á÷¿®»þ(IeOutputÅù¡©)¤Î¥Ç¥ê¥ß¥¿ÀßÄê ¤Î¤è¤¦¤Ç¤¹¤¬¡¢¤³¤ì¤é¤Ï¤¢¤Ã¤Æ¤¤¤Þ¤¹¤«¡© pad¤¬°ã¤Ã¤Æ¤¤¤ë¤ÈÊ̤ε¡´ï¤Ø¤ÎÀßÄê¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È»×¤¤¤Þ¤¹¡£ ¤Þ¤¿¼õ¿®»þ¤Î¥Ç¥ê¥ß¥¿¤Ç¤¹¤«¤é¡¢termin¤ÎÀßÄ꤬ÌäÂê¤È»×¤¤¤Þ¤¹¤¬ termout¤ËÀßÄꤷ¤Æ¤ë¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¤«¡© ¥³¥Þ¥ó¥É¤ÎÌá¤êÃͤÏ0(Success)¤Ç¤¹¤«¡© µ¡´ï¦¤Î»ÅÍͤǡ¢¥á¥Ã¥»¡¼¥¸¤Î½ªÃ¼¤Ï10h¤Ê¤ó¤Æ¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¤«¡©
¥Ü¡¼¥É¡¢¥³¥ó¥Ô¥å¡¼¥¿Â¦¤Î¾ðÊó¤À¤±¤Ç¤Ê¤¯¤Æ¡¢µ¡´ï¦¤ä¥×¥í¥°¥é¥à¤Î ÃæÌ£¤Ê¤É¤â¤¦¾¯¤·¾ðÊó¤¬Íߤ·¤¤¤Ç¤¹¡£
- 4 ̾Á°¡§ ¥Þ¥Ë¥¯¢¡Jy2pR/5Y Åê¹ÆÆü¡§2004/09/14(²Ð) 13:05 ID:???
- >>3
0x10¤Ç½ªÃ¼¤Ã¤ÆÉáÄ̤Ï̵¤¤¤Ç¤·¤ç¡£ÀÞ¤ì¤â10¿Ê¡¢16¿Ê¡¢Æɤ߰㤨¤Æ¤ë¤«¤â¡£
¡Ö9010¡×¤òtermin¤Ë»ØÄꤹ¤ë¤Ã¤Æ¤¤¤¦¤Î¤Ï¡¢16¿Êɽµ¤À¤È»×¤¦¤Î¤Ç¡¢ ¤½¤ì¤À¤È½ªÃ¼»ØÄê0x10¤Ã¤Æ°ÕÌ£¤Ë¤Ê¤ë¤«¤â¡£Àµ¤·¤¯¤Ï0x900A ¤¸¤ã¤Ê¤¤¤«¤Ê¡£0x9000¤Ë¤Ï¡¢EOI½ªÃ¼µö²Ä¤ÈEOS½ªÃ¼µö²Ä¤ÎξÊý¤Î ¥Ó¥Ã¥È¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤ß¤¿¤¤¤À¤·¡£
- 5 ̾Á°¡§ tam Åê¹ÆÆü¡§2004/09/14(²Ð) 13:40 ID:bDilOZgg
- ¡¡¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¸«¤Þ¤·¤¿¤¬¡¢10¿Êɽµ¤Ç¡¢
9000¡Á9255¤¬ÀßÄêÈϰϤȽФƤޤ·¤¿¤è¡£ ¡¡»ä¤â0x10¤Ê¤ó¤Æ¤¤¤¦½ªÃ¼¤¬¤¢¤ë¤È¤Ï»×¤ï¤Ê¤¤¤±¤É¡¢µ¡´ï¦¤Î¾ðÊó¤ä ¶ñÂÎŪ¤Ë¼õ¤±¼è¤Ã¤¿¥á¥Ã¥»¡¼¥¸¤¬Ìµ¤¤¤È¡¢¤½¤ó¤ÊÇϼ¯¤²¤¿¤³¤È¤â¹Í¤¨¤Á¤ã¤¦¤è ¤È¸À¤¤¤¿¤«¤Ã¤¿¤À¤±¤Ç¤¹¡£
- 6 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2004/09/14(²Ð) 14:03 ID:???
- >¥³¥Þ¥ó¥É¤ÎÌá¤êÃͤÏ0(Success)¤Ç¤¹¤«¡©
»ä¤âÅö³ºÀ½ÉʤΥޥ˥奢¥ë»ý¤Ã¤Æ¤Ê¤¤¤Î¤Ç¡¢¥À¥¦¥ó¥í¡¼¥É¤·¤Æ ¸«¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤ÎȽÃÇ´ð½à¤Ï ¤ä¤Ï¤ê¤³¤ì¤Î·ë²Ì¼¡Âè¤Ç¤·¤ç¤¦¤«¤Í¡£
¥Ç¥ê¥ß¥¿¤¬Ç§¼±¤Ç¤¤º¤Ë½ªÎ»¤·¤¿¾ì¹ç¤Ï¡¢¥¨¥é¡¼¤Ë¤Ê¤ë¤è¤¦¤Ç¤¹¤«¤é¡£
¤Á¤Ê¤ß¤ËžÁ÷·ë²Ì¤¬¥Ð¥Ã¥Õ¥¡¤Ë¥Ç¥ê¥ß¥¿¤Þ¤Ç³ÊǼ¤µ¤ì¤ë¤«¤É¤¦¤«¤Î»ÅÍͤϡ¢ ¤Ñ¤Ã¤È¸«¤Ç¤ÏÆɤ߼è¤ì¤Þ¤»¤ó¤Ç¤·¤¿(Enter ¥³¥Þ¥ó¥É)¡£
- 7 ̾Á°¡§ 6 Åê¹ÆÆü¡§2004/09/14(²Ð) 14:07 ID:???
- »²¹Í»ñÎÁ(¥Þ¥Ë¥å¥¢¥ë¥À¥¦¥ó¥í¡¼¥É)
http://www.ines.de/download.htm
- 8 ̾Á°¡§ ¥Þ¥Ë¥¯¢¡Jy2pR/5Y Åê¹ÆÆü¡§2004/09/14(²Ð) 15:16 ID:???
- VISA/SICL¥µ¥Ý¡¼¥È¤¢¤ë¤ó¤À¤«¤éÁÇľ¤Ë¤½¤Ã¤Á»È¤Ã¤¿Êý¤¬¤¨¤ó¤ÇÆâ²Ê°å¡©
NI¤È¤âAgilent¤È¤â¸ß´¹¼è¤ì¤ë¤·¡£ http://www.inesinc.com/gpibpcm.htm
-
|