I have been using this on a Samsung NC10 Netbook but after about ten hours of operation it starts to play up (to check for errors in data).
The data in the window starts to be in the past as I guess it is not keeping up with real time logging and it also eats lots of ram e.g. 900Megs.
It may just be the underpowered PC?
Anyway, based on a PowerShell script by SeekerAfterTruth I am trying this.
Code:
### EnviR Data Output.ps1 ############################################
#
# Routine to display power recorded by a Current Cost Monitor.
#
################################################################
# Set Com Port To Match Your PC
$loop_forever = $true
$CommPort_in="COM7"
$BaudRate=57600
################################################################
$port_in= new-Object System.IO.Ports.SerialPort $CommPort_in,$BaudRate,None,8,one
$port_in.Open()
$data=$port_in.Readline() #Discard a possibly partial msg
do {
$data=$port_in.Readline()
Write-Host ($data)
($data) | Out-File -filepath "cc_debug.txt" -append
} While ($loop_forever='true')
$port_in.close()
Write-Host ("DisplayENVI completed")
It makes a compatible cc_debug.txt in the folder you invoke this from, only one file edit is needed is the com port of your Envi or EnviR display.
It has only been running a few hours so I don't know if it works better or worse.
Automan.