Jump to content

Using multiple ports on AD/DA NI USB 6229


BMAJTY

Recommended Posts

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.

Link to comment

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.

post-25746-0-29168000-1315495191_thumb.p

Edited by BMAJTY
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.