GM: Constructor
GM: Fri Jun 22 13:57:58 2018
RSTD.Transmit("/Settings")
[13:57:58]  
[13:57:58]  ### Running Startup script: "C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[13:57:58]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[13:57:58]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[13:57:58]  Scripter ignored: Attempt to UnBuild() again or before Build.
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[13:57:58]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[13:57:58]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[13:57:58]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[13:57:58]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[13:57:58]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[13:57:58]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[13:57:58]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[13:57:58]  RSTD.Transmit("/")
[13:57:59]  RSTD.SaveSettings(): Settings saved to "C:\Users\xlin\AppData\Roaming\RSTD\config.xml"
[13:57:59]  RSTD.Build()
[13:57:59]  RSTD.SaveSettings(): Settings saved to "C:\Users\xlin\AppData\Roaming\RSTD\config.xml"
[13:57:59]  RSTD.Transmit("/")
[13:57:59]  RSTD.AL_Build()
[13:57:59]  RSTD.AL_LoadXml()
[13:57:59]  RSTD.Transmit("/")
[13:57:59]  RSTD.AL_Init()
[13:57:59]  RSTD.Clients_Build()
[13:57:59]  GM: Init
[13:57:59]  GM: Loaded 'C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
[13:57:59]  GM: 1 Guest (s) init
[13:57:59]  GM: 1 Module(s) init
[13:57:59]  GM: 2 Tab   (s) init
[13:57:59]  RSTD.Client_LoadXml()
[13:57:59]  [RadarAPI]: Starting Matlab Engine..
[13:58:12]  [RadarAPI]: Matlab Engine Started!
[13:58:18]  [RadarAPI]: ar1.LoadSettings('C:\Users\xlin\AppData\Roaming\RSTD\ar1gui.ini')
[13:58:19]  TESTING = false
[13:58:19]  
[13:58:19]  ***Script completed successfully.***
[13:59:01]  [RadarAPI]: Opening Gpio Control Port()
[13:59:01]  [RadarAPI]: Status: Passed
[13:59:02]  [RadarAPI]: Opening Board Control Port()
[13:59:02]  [RadarAPI]: Status: Passed
[13:59:03]  [RadarAPI]: ar1.FullReset()
[13:59:03]  [RadarAPI]: Status: Passed
[13:59:10]  [RadarAPI]: Closing Board Control Port()
[13:59:10]  [RadarAPI]: Status: Passed
[13:59:10]  [RadarAPI]: Closing Gpio Control Port()
[13:59:10]  [RadarAPI]: Status: Passed
[13:59:10]  [RadarAPI]: ar1.SOPControl(2)
[13:59:10]  [RadarAPI]: Status: Passed
[13:59:13]  [RadarAPI]: ar1.Connect(7,921600,1000)
[13:59:15]  [RadarAPI]: Warning: Connected with baudrate 115200
[13:59:16]  [RadarAPI]: Warning: Disconnected existing BaudRate
[13:59:17]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
[13:59:18]  [RadarAPI]: ar1.Calling_IsConnected()
[13:59:19]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[13:59:19]  [RadarAPI]: Status: Passed
[13:59:20]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[13:59:20]  [RadarAPI]: Status: Passed
[13:59:20]  [RadarAPI]: ar1.SaveSettings('C:\Users\xlin\AppData\Roaming\RSTD\ar1gui.ini')
[13:59:36]  [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[13:59:36]  [RadarAPI]: Value : 300002 
[13:59:36]  [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[13:59:36]  [RadarAPI]: Value : 1 
[13:59:36]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss_rprc_ES1.0.bin")
[13:59:37]  [RadarAPI]: Downloading BSS ROM RPRC Binary..
[13:59:43]  BSS FW Download Success
[13:59:45]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss_rprc_ES1.0.bin")
[13:59:45]  [RadarAPI]: Downloading MSS RPRC Binary..
[13:59:48]  MSS FW Download Success
[13:59:51]  MSS power up done async event received!
[13:59:51]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[13:59:51]  [RadarAPI]: Status: Passed
[13:59:51]  [RadarAPI]: ar1.SaveSettings('C:\Users\xlin\AppData\Roaming\RSTD\ar1gui.ini')
[13:59:51]  Power On Success
[13:59:52]  BSS power up done async event received!
[13:59:52]  [RadarAPI]: ar1.RfEnable()
[13:59:52]  [RadarAPI]: Status: Passed
[13:59:53]  RF Enable Success
[13:59:54]  [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[13:59:54]  [RadarAPI]: Status: Passed
[13:59:54]  ChanNAdcConfig Success
[13:59:55]  [RadarAPI]: ar1.LPModConfig(0, 1)
[13:59:55]  [RadarAPI]: Status: Passed
[13:59:55]  LPModConfig Success
[13:59:57]  [RadarAPI]: ar1.RfInit()
[13:59:58]  RF Init async event received!
[13:59:58]  [RadarAPI]: Time stamp, Temperture: 5483,30; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; RxIQMM Status, Update: 1, 1; 
[13:59:58]  [RadarAPI]: Status: Passed
[13:59:58]  RfInit Success
[13:59:59]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[13:59:59]  [RadarAPI]: Status: Passed
[13:59:59]  DataPathConfig Success
[14:00:00]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[14:00:00]  [RadarAPI]: Status: Passed
[14:00:00]  LvdsClkConfig Success
[14:00:01]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[14:00:01]  [RadarAPI]: Status: Passed
[14:00:01]  LVDSLaneConfig Success
[14:00:02]  [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
[14:00:02]  [RadarAPI]: Status: Passed
[14:00:02]  ProfileConfig Success
[14:00:03]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[14:00:03]  [RadarAPI]: Status: Passed
[14:00:03]  ChirpConfig Success
[14:00:04]  [RadarAPI]: ar1.DisableTestSource(0)
[14:00:04]  [RadarAPI]: Status: Passed
[14:00:04]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
[14:00:04]  [RadarAPI]: Status: Passed
[14:00:06]  FrameConfig Success
[14:00:07]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[14:00:07]  [RadarAPI]: passed
[14:00:07]  SelectCaptureDevice Success
[14:00:08]  [RadarAPI]: StatusDCCard Event Registered
[14:00:08]  [RadarAPI]: Status: Passed
[14:00:08]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[14:00:08]  [RadarAPI]: Status: Passed
[14:00:10]  Ethernet Cable is disconnected Please check.....!!!
[14:00:10]  CaptureCardConfig_EthInit Success
[14:00:11]  [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 0)
[14:00:11]  [RadarAPI]: Status: Passed
[14:00:11]  CaptureCardConfig_Mode Success
[14:00:12]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[14:00:12]  [RadarAPI]: Status: Passed
[14:00:12]  CaptureCardConfig_PacketDelay Success
[14:00:13]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[14:00:13]  [RadarAPI]: Status: Passed
[14:00:14]  [RadarAPI]: ar1.StartFrame()
[14:00:14]  [RadarAPI]: Status: Passed
[14:00:14]  Frame start async event received!
[14:00:15]  [RadarAPI]: Frame Ended
[14:00:15]  Frame End async event received!
[14:00:16]  Please wait for a few seconds for Packet reorder utility processing .....!!!! 
[14:00:16]  [RadarAPI]: Packet Reorder Utility Started...please wait...
[14:00:16]  [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
[14:00:22]  [RadarAPI]: Packet Reorder Utility process completed!
[14:00:32]  Packet reorder utility processing done.....!!!! 
[14:00:32]  Please wait for a few seconds for matlab post processing .....!!!! 
[14:00:32]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[14:00:32]  [RadarAPI]: Error: 
[14:00:32]  
[14:00:32]  ... MWMCR::EvaluateFunction error ... 
[14:00:32]  22-Jun-2018 14:00:32: The file C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[14:00:32]  Error in => process_adc_data.m at line 52.
[14:00:32]  
[14:00:32]  ... Matlab M-code Stack Trace ...
[14:00:32]      at
[14:00:32]  file C:\Users\xlin\AppData\Local\Temp\XLin\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[14:00:32]      at
[14:00:32]  file C:\Users\xlin\AppData\Local\Temp\XLin\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
[14:00:32]      at
[14:00:32]  file C:\Users\xlin\AppData\Local\Temp\XLin\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
[14:00:32]  
[14:00:32]  
[14:00:32]  Trace:
[14:00:32]     at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[14:00:32]     at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[14:00:32]     at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[14:00:32]     at AR1xController.frmAR1Main.iStartMtlabPostProc()
[14:00:42]  
[14:00:42]  ***Script completed successfully.***
[14:10:15]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[14:10:15]  [RadarAPI]: passed