04-18-2007 07:59 AM
04-18-2007 08:20 AM
I'm not sure what you are asking. I can confirm that the delay you added to the loop appears to be working.
If you have some problem with the code, could you explain exactly what it is? And, could you clean up the wiring and repost. You have wires on top of wires, underneath other wires, underneath structures, going from right to left, etc. All of this makes your program hard to read.
04-18-2007 08:38 AM
dear sir,
I am reading data from DVL through serial port.dvl output is coming as below
AUTO_VEL_OFF
AUTO_VEL_ON
$#NQ.RES 0X0000 1 1 1 1 0.6 0.9 0.9 0.9 994.6 0.2 1.1 -439.3 0 0 0 0 0 0 0 0 1326.0 586.6 150.0 1 -495.6 1361.8 157.5 1 3.31 1.13 86.5 0.6 29.5 1545 74
:SA,+01.13,+03.31,086.5
:TS,00000000000000,35.0,+29.5,0000.0,1545.0,000
:WI,+00000,+00000,+00000,+00000,I
:BI,-00586,-01326,+00150,+00000,A
:BD,+00000000.00,+00000000.00,+00000000.00,0000.60,000.00
$#NQ.RES 0X0000 1 1 1 1 0.6 0.9 0.9 0.9 995.7 0.2 1.3 -442.3 0 0 0 0 0 0 0 0 1327.2 590.6 149.6 1 -501.7 1362.4 156.8 1 3.33 1.16 86.6 0.6 29.5 1545 68
:SA,+01.16,+03.33,086.6
:TS,00000000000000,35.0,+29.5,0000.0,1545.0,000
:WI,+00000,+00000,+00000,+00000,I
:BI,-00590,-01327,+00149,+00000,A
:BD,+00000000.00,+00000000.00,+00000000.00,0000.60,000.00
My requirement is , I want to store the datas :SA,:TS,:WI,:BI,:BD in a single xl file.what is my problem is the datas are stored in a file but every time it goes to the loop(serial read) there is delay between data capturing between the previous loop.ie first time it stores the 13 rows then it takes some delay and then it displays the next 13 values in a file.
pls suggest as soon as possible.
Thanks and regards
04-18-2007 08:45 AM
dear sir,
I am reading data from DVL through serial port.dvl output is coming as below
AUTO_VEL_OFF
AUTO_VEL_ON
$#NQ.RES 0X0000 1 1 1 1 0.6 0.9 0.9 0.9 994.6 0.2 1.1 -439.3 0 0 0 0 0 0 0 0 1326.0 586.6 150.0 1 -495.6 1361.8 157.5 1 3.31 1.13 86.5 0.6 29.5 1545 74
:SA,+01.13,+03.31,086.5
:TS,00000000000000,35.0,+29.5,0000.0,1545.0,000
:WI,+00000,+00000,+00000,+00000,I
:BI,-00586,-01326,+00150,+00000,A
:BD,+00000000.00,+00000000.00,+00000000.00,0000.60,000.00
$#NQ.RES 0X0000 1 1 1 1 0.6 0.9 0.9 0.9 995.7 0.2 1.3 -442.3 0 0 0 0 0 0 0 0 1327.2 590.6 149.6 1 -501.7 1362.4 156.8 1 3.33 1.16 86.6 0.6 29.5 1545 68
:SA,+01.16,+03.33,086.6
:TS,00000000000000,35.0,+29.5,0000.0,1545.0,000
:WI,+00000,+00000,+00000,+00000,I
:BI,-00590,-01327,+00149,+00000,A
:BD,+00000000.00,+00000000.00,+00000000.00,0000.60,000.00
My requirement is , I want to store the datas :SA,:TS,:WI,:BI,:BD in a single xl file.what is my problem is the datas are stored in a file but every time it goes to the loop(serial read) there is delay between data capturing between the previous loop.ie first time it stores the 13 rows then it takes some delay and then it displays the next 13 values in a file.
pls suggest as soon as possible.
Thanks and regards
04-18-2007 08:51 AM