03-04-2019 09:10 PM
I am trying to write a while loop with a digital input DAQ assistant. The DAQ assistant is representing a hall effect sensor that tracks the revolutions on a small wind mill hooked up to the computer via a PCI6503. I was initially having issues with the boolean indicator sampling at a quick enough speed. The data was saved to an excel file but would not be accurate for the number of revolutions. To over come this I increased the sampling speed with a "DAQmx timing" function. Now the sensor triggers the boolean indicator in real time but I can't run a "write to measurement file" in the while loop with the "DAQmx timing" funiction in the same loop. I keep getting an error code 200088. If I move the "write to measrument file" function outside of the while loop it runs but doesn't save the data. Any tips on how I can run my program at the correct speed and save my data?
03-04-2019 09:19 PM
Attach your VI. We can't debug a picture. We can't see what settings are in that DAQAssistant.
03-05-2019 10:40 AM
03-05-2019 01:37 PM
One thing that looks wrong to me is that the purple task wire going into the DAQ Assistant says Dev1 and nothing else. That defines the device you are using, but you didn't select any channels to read.