- 1 ̾Á°¡§ ή¤ì¼Ô Åê¹ÆÆü¡§2006/01/28(ÅÚ) 16:21 ID:fPBqEjO2
- GPIB¡¡Interface¼Òpci4302
¬Äê´ï¡¡¾®ÌïFFT¥¢¥Ê¥é¥¤¥¶CF-350 PG¡¡VB6.0 OS¡¡Win2000 ½é¤á¤Þ¤·¤Æ¡£ VB6.0¤òÍѤ¤¤ÆFFT¥¢¥Ê¥é¥¤¥¶À©¸æ¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ PC¤«¤é¥Ç¡¼¥¿¤òÁ÷¿®¤·¤ÆÀ©¸æ¤¹¤ë¤³¤È¤Ï¤Ç¤¤ë¤Î¤Ç¤¹¤¬ FFT¤«¤éÁ÷¿®¤·¤Æ¤¯¤ë¥Ç¡¼¥¿¤òÆɤ߼è¤ë¤³¤È¤¬¤Ç¤¤Ê¤¤¤Î¤Ç¤¹¡£ ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Î¼èÆÀ¤Î»ÅÊý¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤¤¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢ ¤Ê¤Ë¤Ö¤ó¤Þ¤À¤Þ¤À½é¿´¼Ô¤Ç¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤è¤¤¤Î¤«¤ï¤«¤é¤º ¤³¤³¤Ë¤¿¤É¤êÃ夤ޤ·¤¿¡£ Á᤯¥×¥í¥°¥é¥à¤ò´°À®¤µ¤»¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¤Î¤Ç ¤É¤Ê¤¿¤«¤´¶µ¼ø¤¤¤¿¤À¤±¤ëÊý¤¬µï¤é¤ì¤Þ¤·¤¿¤é¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
- 2 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/01/29(Æü) 08:44 ID:???
- ή¤ì¼Ô¤µ¤ó¡¢¤Ï¤¸¤á¤Þ¤·¤Æ¡£
CF-350 ¤Ê¤ë·×¬´ï¤Ï¤â¤Ã¤Æ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢
¡ä¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Î¼èÆÀ¤Î»ÅÊý¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤¤
¤È»×¤ï¤ì¤¿Íýͳ¡ÊȯÀ¸¤·¤Æ¤¤¤ë¸½¾Ý¡Ë¤Ï¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡©
¤¿¤È¤¨¤Ð¡¢ ¥Ç¡¼¥¿¤¬²½¤±¤Æ¤¤¤ë¡Ê»×¤Ã¤Æ¤¤¤¿¤â¤Î¤È°ã¤¦¡Ë¡¢ ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¡¢ ¥×¥í¥°¥é¥à¤¬ÅÓÃæ¤ÇÄä»ß¤·¤Æ¤·¤Þ¤¦¡¢etc...
- 3 ̾Á°¡§ ή¤ì¼Ô Åê¹ÆÆü¡§2006/02/02(ÌÚ) 18:13 ID:eV0VJk8A
- ƿ̾488¤µ¤ó¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Î¼èÆÀ¤Î»ÅÊý¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤¤¤È»×¤Ã¤¿Íýͳ¤Ç¤¹¤¬ Á÷¿®¥Ç¡¼¥¿¤Ï¤¤Á¤ó¤ÈÁ÷¤ì¤Æ¤¤¤Æ¡¢FFT¤Ï½èÍý¤ò¹Ô¤Ã¤Æ¤¤¤ë¤ª¤ê¡¢ ¥È¡¼¥«¡¼¤Ë¤â¤¤Á¤ó¤ÈÀÚ¤êÂؤï¤Ã¤Æ¥Ç¡¼¥¿¤òÁ÷¿®¤·¤Æ¤¤¤ë¤ß¤¿¤¤¤Ê¤Î¤Ç¤¹¤¬ ¥Ç¡¼¥¿¤¬¼õ¿®¤Ç¤¤Æ¤¤¤Þ¤»¤ó¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Æ¤·¤Þ¤¦¤«¤é¤Ç¤¹¡£ ¼õ¿®¤Î¥×¥í¥°¥é¥à¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£
Dim ulLength As Long Dim bRecvBuff(1612) As Byte '¥Ç¡¼¥¿¼õ¿® For i = 0 To 1612 bRecvBuff(i) = 0 Next ulLength = 1612 nRet = GpibReceive(nBoardNo, lAdrTbl(0), ulLength, bRecvBuff(0))
If nRet <> 0 Then ¡¡¡¡nRet = MsgBox("¥Ç¡¼¥¿¼õ¿®¤Ë¼ºÇÔ¤·¤Þ¤·¤¿", (vbOKOnly + vbCritical), "GpibReceive") ¡¡¡¡nRet = GpibClose(ulBoardNo) ' ¥Ü¡¼¥ÉÈÖ¹æ0¤Î¥Ü¡¼¥É¤ò»ÈÍѽªÎ» ¡¡¡¡Unload Me ' ¥À¥¤¥¢¥í¥°¤òÊĤ¸¤ë End If
' ¼õ¿®Ê¸»úÎó¤Îɽ¼¨ Text1.Text = "" For i = 0 To 1612 If bRecvBuff(i) = 0 Then Exit For Text1.SelText = Chr(bRecvBuff(i)) Next
¥Ç¡¼¥¿Á÷¿®¤¬String·Á¼°¤Ç¡¢ ¼õ¿®¤ÎByte·Á¼°¤È°Û¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢ Á÷¿®¤âByte·Á¼°¤Ë¤¹¤ë¤¿¤á¤ËMID´Ø¿ô¤òÍѤ¤¤¿¤Î¤Ç¤¹¤¬ ¤½¤ì¤Ç¤â¼õ¿®¤Ï¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤Î¤Ç¤¹¡¦¡¦¡¦¡£
Dim lngStrLength As Long Dim bSendData(1612) As Byte lngStrLength = Len("SMS2") 'Á÷¿®¥Ð¥Ã¥Õ¥¡¤Ëʸ»úÎó(¥¢¥¹¥¡¼¥³¡¼¥É)¤òÀßÄꤷ¤Þ¤¹Ž¡ For I = 1 To lngStrLength bSendData(I - 1) = Asc(Mid("SMS2", I, 1)) Next nRet = GpibSend(ulBoardNo, lAdrTbl(0), lngStrLength, bSendData(0))
¤³¤Î¤è¤¦¤Ë¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢²þÁ±¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤È¤³¤í¤¬ ¤ï¤«¤ê¤Þ¤·¤¿¤é¤´»ØÆî¤ÎÊý¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
- 4 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/02/02(ÌÚ) 19:24 ID:???
- GpibReceive() ¤ÎÌá¤êÃͤ¬ 0 ¤Ç¤Ê¤¤¡¢¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡©
0 °Ê³°¤À¤È¥¨¥é¡¼¤Î¤è¤¦¤Ç¤¹¤¬¡¢ Ìá¤êÃ͡ʡᥨ¥é¡¼¥³¡¼¥É¡Ë¤Ë¤è¤Ã¤Æ¤É¤ó¤Ê¸¶°ø¤Ç¼ºÇÔ¤·¤¿¤Î¤« ¶èÊ̤Ǥ¤ë¤è¤¦¤Ê API ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó¤«¡©
- 5 ̾Á°¡§ ή¤ì¼Ô Åê¹ÆÆü¡§2006/02/09(ÌÚ) 17:19 ID:SumIbdow
- ÃͤÎɽ¼¨¤Ë´Ø¤·¤Æ¤Ï°Ê²¼¤Î¥×¥í¥°¥é¥à¤Ë¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢
ÃͤϤª¤í¤«Ìá¤êÃͤµ¤¨¤âɽ¼¨¤µ¤ì¤Ê¤¤»ÏËö¤Ç¡¦¡¦¡¦¡¦¡£
Dim bRecvBuff(3220) As Byte ' ¼õ¿®Ê¸»úÎó¤Îɽ¼¨ Text1.Text = "" For i = 0 To 3220 If bRecvBuff(i) = 0 Then Exit For Text1.SelText = bRecvBuff(i) Next
-
|