New to PE. Help regarding Macros and commands
Posted: Fri 18. Mar 2016, 15:56
Hello,
I'm new to PCE and I'm currently using PCE 5.
I have to perform the following tasks and I would like guidance on how best they can be done.
1) I have a transmit list with say 10 Analogs (Analogs 1 through 10),10 Drive signals ( 1 through 10) .. so on..
Each analog in turn has 8 bytes of data, each byte has a significance. Do I use a symbol for Analogs as a whole, and then individually assign a multiplexer for each analog (Analog 1, 2 so on) and variable to each byte in that specific analog?
2) Once I have the transmit list ready, are there any sample macros that I can use to send all analogs at once, wait to get a return signal and then send all drive signals at once.. so on ?
3) While reviewing the received signals in the trace, would it be possible to assign a logic condition to the received data? For ex, if the analog value I want to read is within spec, then can I get the trace to say "Pass" or fail? if I need a macro for this, could you please provide a sample macro?
4) How can I completely automate this process of loading a transmit list with symbols, sending messages, reading back messages, performing a check whether the data passed or failed and then store it in a result file.. either csv or excel..
Thanks!!!
I'm new to PCE and I'm currently using PCE 5.
I have to perform the following tasks and I would like guidance on how best they can be done.
1) I have a transmit list with say 10 Analogs (Analogs 1 through 10),10 Drive signals ( 1 through 10) .. so on..
Each analog in turn has 8 bytes of data, each byte has a significance. Do I use a symbol for Analogs as a whole, and then individually assign a multiplexer for each analog (Analog 1, 2 so on) and variable to each byte in that specific analog?
2) Once I have the transmit list ready, are there any sample macros that I can use to send all analogs at once, wait to get a return signal and then send all drive signals at once.. so on ?
3) While reviewing the received signals in the trace, would it be possible to assign a logic condition to the received data? For ex, if the analog value I want to read is within spec, then can I get the trace to say "Pass" or fail? if I need a macro for this, could you please provide a sample macro?
4) How can I completely automate this process of loading a transmit list with symbols, sending messages, reading back messages, performing a check whether the data passed or failed and then store it in a result file.. either csv or excel..
Thanks!!!