例如我给labview发送的长度为81的字符串是
$GPGGA,094441.00,3201.8186242,N,11851.4783468,E,1,05,2.40,17.0950,M,5.3226,M,,*54
我将visa接收的长度设置为81.连续发送时,我接收的字符串,就会变
$GPGGA,094441.00,3201.8186242,N,11851.4783468,E,1,05,2.40,17.0950,M,5.3226,M,,*54
83468,E,1,05,2.40,17.0950,M,5.3226,M,,*54$GPGGA,094441.00,3201.8186242,N,11851.47
$GPGGA,094441.00,3201.8186242,N,11851.4783468,E,1,05,2.40,17.0950,M,5.3226,M,,*54
851.4783468,E,1,05,2.40,17.0950,M,5.3226,M,,*54$GPGGA,094441.00,3201.8186242,N,11
,*54$GPGGA,094441.00,3201.8186242,N,11851.4783468,E,1,05,2.40,17.0950,M,5.3226,M,
3468,E,1,05,2.40,17.0950,M,5.3226,M,,*54$GPGGA,094441.00,3201.8186242,N,11851.478
第二行的字符串长度没变,还是81.但是位置发生了变化。
哪位大神指导为什么会出现这样的问题啊。急求。
|