Thanks MrAl for you input, the challenge I am facing now is actually prior to receiving the data. By that I mean The REQUEST TO SEND command from the software is not known.I cannot communicate with the meter unless a code is send first TO THE DEVICE.
If I use the software I will have to be in WXP or VM. The software is capable of logging into excel format.!!!What I am trying to do is REPLACE the software with an Arduino Sketch. From all the above it seems a very challenging job, but you are right IF I need to dig deep I should start monitoring the WXP software on WXP machine. Something I hate to do.
INPUT "output file? ", f$ OPEN "com1:2400,n,7,2,rs,cs,ds,cd" FOR RANDOM AS #2 OPEN f$ FOR OUTPUT AS #3 PRINT #3, DATE$, TIME$ a$ = "D": nr = 0 TIMER ON: ns = 5 ON TIMER(ns) GOSUB mread CLS PRINT "any key to quit, timer set to "; ns; "seconds"10 IF INKEY$ = "" THEN 10 CLOSE #3 ENDmread: PRINT #2, a$ LINE INPUT #2, in$ nr = nr + 1: LOCATE 5, 5: PRINT in$ v = VAL(MID$(in$, 5, 6)) PRINT #3, v RETURN
Now the question what command line needed to initiate the data transmission