08-23-2017 09:51 AM
Hi GerdW,
I have created this sketch with timing. Now the LED appears to be blinking properly. Kindly have a look and give me your feedback. (I can upload the project VI file should you need.)
Moreover, on the 'Elapsed Time (s)' indicator on the Front panel, the time does not increment by integer values. Do you know what could be causing that?
Best,
Shashank
P.S: The 'x+y' counter is for my reference and can be ignored.
08-23-2017 10:18 AM - edited 08-23-2017 10:18 AM
This all seems rather pointless. Why don't you e.g. generate the waveform ptbypt so you don't need the inner loop at all?
Please attach your VI (or a snippet) instead of a picture. We cannot run or edit a picture.
Your timing is not integers because your waits only define a minimum time. each iteration will take as long as it needs to complete all code within it.
08-23-2017 10:22 AM
@altenbach wrote:
This all seems rather pointless. Why don't you e.g. generate the waveform ptbypt so you don't need the inner loop at all?
Wow, I did not know that existed. I have attached the file with this comment.
08-23-2017 10:30 AM - edited 08-23-2017 10:40 AM
Here's what I had in mind. I am sure you can get your desired time scaling by tweaking the various constants. You also want to change dx of the x axis.
08-24-2017 06:11 AM
@altenbach wrote:
Here's what I had in mind. I am sure you can get your desired time scaling by tweaking the various constants. You also want to change dx of the x axis.
Dear Altenbach,
Thank you very much for your input 🙂
Best regards,
Shashank