Ondrej Posted November 4, 2020 Share Posted November 4, 2020 Hello, I am trying to get captured data from Logic DIO0 channel via script. I would expect array of 0 and 1. But getting all zeros (see picture attached). Where I go wrong? Thank You. Best Regards Ondrej Link to comment Share on other sites More sharing options...
attila Posted November 4, 2020 Share Posted November 4, 2020 Hi @Ondrej You have to use: parseInt(sample) Link to comment Share on other sites More sharing options...
Ondrej Posted November 10, 2020 Author Share Posted November 10, 2020 Thank You, attila. I have found solution myself (I have never been Java scriping :-) ), so I tried to take my question back- but not succesfully. Best Regards Ondrej. Link to comment Share on other sites More sharing options...
Question
Ondrej
Hello,
I am trying to get captured data from Logic DIO0 channel via script. I would expect array of 0 and 1. But getting all zeros (see picture attached). Where I go wrong?
Thank You.
Best Regards
Ondrej
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.