BMAJTY Posted September 7, 2011 Report Share Posted September 7, 2011 Hello, i posted this topic on NI forum but i would like to try this here to so my question is here: http://forums.ni.com/t5/LabVIEW/Using-multiple-outputs-on-NI-USB-6229/td-p/1696972 If you help me with this problem i would really appreciate it. Because i dont know how is possible that ad/da converter from NI is so slow when other amateur ad/da are much faster. Quote Link to comment
BMAJTY Posted September 8, 2011 Author Report Share Posted September 8, 2011 (edited) Ok i found problem and dont know how to solve this. Now I think that there is nothing wrong with multiple tasks on NI USB 6229, but something is deffinitely wrong with multiple for loops in one VI. I made really simple program (and because i dont know how to exactly create task to NI USB 6229 i used DAQ assistant). So in this program i have two for loops. In frst for loop i read data from two serial ports and in second loop i try to write data into NI USB 6229 (daq assistant - 1 sample on demand for digital data). When i start this program this loop which read data on serial port run really fast but loop which send data to NI 6229 make one loop per second (or slower). So ok i tried stop only lopp for reading from serial port and the other loop accelerate at least 100x. This is not normal i think, have you any idea where is problem? And anyway why is sending data to NI USB still so slow even without loop for reading on serial port, the other loop stil makes only 100 loops per second. Picture of my program is attached. Edited September 8, 2011 by BMAJTY Quote Link to comment
BMAJTY Posted September 8, 2011 Author Report Share Posted September 8, 2011 OK problem solved http://forums.ni.com/t5/LabVIEW/Slow-parallell-loops-with-DAQ/m-p/1698988#M601731 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.