You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, looking at the parsing code it looks like the start time and trigger times are being switched (unless I'm missing something). The spec puts the start time first and the trigger time second which matches the variable name, but they're assigned the other way around.
comgo.go:596
// Read start date and time ([dd,mm,yyyy,hh,mm,ss.ssssss])tempList=bytes.Split(lines[4+cfg.GetSampleRateNum()+chA.GetChannelTotal()+chD.GetChannelTotal()], []byte(","))
ifstart, err:=time.Parse(TimeFormat, ByteToString(bytes.Join(tempList, []byte("T")))); err!=nil {
returnerr
} else {
cfg.TriggerTime=start
}
// Read trigger date and time ([dd,mm,yyyy,hh,mm,ss.ssssss])tempList=bytes.Split(lines[5+cfg.GetSampleRateNum()+chA.GetChannelTotal()+chD.GetChannelTotal()], []byte(","))
iftrigger, err:=time.Parse(TimeFormat, ByteToString(bytes.Join(tempList, []byte("T")))); err!=nil {
returnerr
} else {
cfg.StartTime=trigger
}
The text was updated successfully, but these errors were encountered:
Hi there, looking at the parsing code it looks like the start time and trigger times are being switched (unless I'm missing something). The spec puts the start time first and the trigger time second which matches the variable name, but they're assigned the other way around.
comgo.go:596
The text was updated successfully, but these errors were encountered: