07-13-2023 12:13 PM
Hey, I am fairly new to labview customs and have had zero formal training. In the program I am building, an NI 6366 or NI 6351 board commands digital changes at random intervals for a specific amount of time. The program is to record these signals in analog format, along with a separate analog signal that can change randomly at any given time. The issue I am having here is that the recorded timing signals do not match precisely with what I programmed into the control. It is within a range of 0.1 secs. These errors add up over time, to lead to large discrepancies in timing. I need to have an updated graph every 1 second for the front panel, as well as the ability for the random interval time to be anything. As you will see in my code, I have a sub vi for creating the tdms file for the user (as the users of this are not familiar with labview), I use two different while loops to execute my different commands. I have rendevous and timing loops set up in this one, without any randomization, and each one is set to execute every second. Not sure why the timing is not set correct.