Rohan16 Posted March 25 Share Posted March 25 I am trying to run Pattern Tool with following script to generate the pulse waveform of 1 second high logic and 3 second low logic on DIO24 . I have written below code lines after referring the Help section of Waveforms software . But still getting this error "TypeError: Result of expression 'Patterns.Channels.DI024' [undefined] is not an object." what could be the reason of this error ? one more question on script window is how to turn on auto suggestions as shown below in Waveform software ? Thanks in advance . Link to comment Share on other sites More sharing options...
1 attila Posted March 25 Share Posted March 25 Hi @Rohan16 Yes, add manually, use workspace Use Ctrl+Space or check Edit/'Code completion' but too many suggestion can be disturbing in writing, see the Help tab Link to comment Share on other sites More sharing options...
0 attila Posted March 25 Share Posted March 25 Hi @Rohan16 Probably you have no signal added with name DIO24 See the following: Link to comment Share on other sites More sharing options...
0 Rohan16 Posted March 25 Author Share Posted March 25 @attila you mean to say , i will have to add the DIO24 signal manually on Patterns tool and then script would work ? Kindly take a look at my second question on autosuggestion for scripting window. Link to comment Share on other sites More sharing options...
Question
Rohan16
I am trying to run Pattern Tool with following script to generate the pulse waveform of 1 second high logic and 3 second low logic on DIO24 .
I have written below code lines after referring the Help section of Waveforms software .
But still getting this error "TypeError: Result of expression 'Patterns.Channels.DI024' [undefined] is not an object."
what could be the reason of this error ?
one more question on script window is how to turn on auto suggestions as shown below in Waveform software ?
Thanks in advance .
Link to comment
Share on other sites
3 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