I would like to use analog discovery 2 to read the data from 2 arduino and plot the uart data acquired. I think the way to go is to use the logic1. I am trying to create a script in the software "Waveforms" which uses python. but I am not able to go through some errors.
1) do you know if there is already some examples available which does what i need?
2) at the moment I am trying to learn how to use the scripting process in AD2. I get an error when I run this line:
var chname=Logic.Channels.channel.name
what is the problem? i am expecting that this line should return then name of the channel but I get:
Error in: "script_logic_uart" line: 8
TypeError: Result of expression 'Logic.Channels' [undefined] is not an object.
Question
lum
HI,
I would like to use analog discovery 2 to read the data from 2 arduino and plot the uart data acquired. I think the way to go is to use the logic1. I am trying to create a script in the software "Waveforms" which uses python. but I am not able to go through some errors.
1) do you know if there is already some examples available which does what i need?
2) at the moment I am trying to learn how to use the scripting process in AD2. I get an error when I run this line:
var chname=Logic.Channels.channel.name
what is the problem? i am expecting that this line should return then name of the channel but I get:
Error in: "script_logic_uart" line: 8
TypeError: Result of expression 'Logic.Channels' [undefined] is not an object.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now