12-14-2016 01:16 PM
I am using System Exec VI to launch CMD, which is able to measure the voltage and executing several commands at the same time. Currently I only want to get the voltage waveform for executing the last command from these several commands. However, the commands before the last command are supposed to set the environment for it. That is to say, I cannot run this last command only.
Could you please help me to figure out a way to measure the voltage for executing this last command only?
Thank you!
12-15-2016 02:01 PM
Why do you need to run only the last command?
When you say CMD, are your referring to the command prompt window?
Are you executing commands to measure voltage in the command prompt window?
Can you post your code so we can get some more clarity about the problem?
12-15-2016 02:11 PM
Yes. The CMD refers to the command prompt window. Currently I can get the entire voltage waveform during executing the following commands:
connect arm hw
source ps7_init.tcl
ps7_init
fpga -f design.bit
ps7_post_config
dow fsbl.elf
con
stop
rst
Now I just want to get the voltage waveform after executing "dow fsbl.elf" command. Could you give me some suggestions on how to deal with it?
12-15-2016 02:13 PM
The commands that I mentioned are able to connect to a FPGA board, load the bitstream to the board, and run the binary file. Currenly I only want to get the voltage waveform for running the binary file part.
12-15-2016 03:40 PM
We need to see your LabVIEW code AND the data you are getting back. There is no way we can guess how to parse this data without having that information.
12-15-2016 08:49 PM
The attached file is what I measure for executing XMD commands on Windows prompt. At the same time, the NI device connects to the external board.
Thank you!