How do we trouble shoot a long-running NETMF program that stops in production?

前端 未结 1 1954
萌比男神i
萌比男神i 2021-01-15 17:52

Situtation

I have a FEZ Cobra II NET running test code. It sends data every second to a server on the LAN. The server writes the data to a text file

1条回答
  •  隐瞒了意图╮
    2021-01-15 18:43

    As the Fez has a memory card slot, you could log send errors to that:

    private void TimerCallback_SendSbcData(object stateInfo)
    {
        try
        {
            SbcData data = new SbcData();
            this.network.Send(data);
        }
        catch (Exception ex)
        {
            MyLogToCardMethod(ex.ToString());
        }
    }
    

    Mounting the card instructions are on the manufacturer site:

    https://www.ghielectronics.com/docs/51/netmf-file-system

    0 讨论(0)
提交回复
热议问题