在 01-05-2019 12:23 AM
大家好,
目前想透過labview去控制Jlink透過swd介面存取soc內部的register資訊
手動執行的方法如下:
在window的介面中執行Jlink程式打開後,需要鍵入"connect"指令、CPU core,interface,interface speed資訊,如下圖:
如果想要全部透過System Exec的function執行完所有上述的內容該怎麼做
目前程式打開對應的程式已經能夠成功了,但後續的那些指令我該怎麼繼續讓labview幫我執行呢
程式如下:
執行後會跳出windows視窗
先謝謝各位回答了
爬文有看到網友說使用batch file,但batch file方式跟我想要的應用是相符的嗎?
您好,
可以用batch file方式,提供以下資訊參考:
how bat file gets System Exec.vi standard input ?
https://forums.ni.com/t5/LabVIEW/how-bat-file-gets-System-Exec-vi-standard-input/td-p/3735223
Using the System Exec VI to Launch Applications from the Command Line
System exec batch file run problems
https://forums.ni.com/t5/LabVIEW/System-exec-batch-file-run-problems/td-p/1729874