Re: When i run position measurement vi using 6602 & continuous...

2004-04-15 Thread Bill B
Nimal, I noticed that in your code, you have two while loops that are running in parallel. This is going to cause synchronization problems for one loop is going to dominate the other. Specifically, the loop with DIO Read will not allow the loop with DIO Write to execute until it has acquired all

Re: When i run position measurement vi using 6602 & continuous...

2004-04-13 Thread Bill B
Hello Nimal, Thank you for contacting National Instruments! The reason that you are experiencing this problem is because the Traditional NI-DAQ driver is single-threaded. Your Cont handshake input VI has a DIO Read VI inside a while loop with no wait. When this VI runs, the DIO Read VI will wait