The solution to this is making sure that all this code executes in different threads. ![]() This is especially true for Serial Instruments (COM port): with 2 or 3 of those instruments, a standard application with sequential execution can be reduced to 1Hz or slower due to the long wait time in between commands. Many necessary delays can slow down other sequential code ![]() However, many of those calls tend to be “blocking” (Send command, Wait, Read results) to be easier to use by the programmer at the expense of the end user’s test plan. Those tend to be a very good starting point to quickly communicate with their equipment to change setpoints and readback measurements but they are often Application Programming Interface (API). ![]() Equipment manufacturers often make LabVIEW “drivers” available for download on their website.
0 Comments
Leave a Reply. |