09-07-2010 01:58 AM
Hello
I am using LabView 8.5, DAQmx 8.7. My application is gathering data from NI USB-6009 14bits. I tried to create application for tablet PC with installed Windows Xp Embedded. I created installer on tablet with installed Windows 2000. I solved any issues which occurs during installation. First version of program have DAQ assistant in one main VI which gather and process data. It worked properly on Xp Embedded. Second version has been split into two subVI's. One is gathering data and second processing it. Each VI have own while loop. Both subVI's are put into main while loop and they are starting simultaneously. I am writing any gathered data to global variables. On PC with windows 2000 created application have worked properly. Error occurs when I moved it to Xp embedded. VI which is gathering data, show error code -200361 and text:
DAQmx Read (Analog 1D Wfm NChan NSamp).vi:2<append>
<B>Task Name: </B>_unnamedTask<0>
I know its something with sampling and clock but I can't see where is problem. In main loop and both subVI's I have "Wait Until Next ms Multiple" block which set value is 200. DAQ Assistant have set parameters as follows:
Rate: 1000
Number of Samples: 1000
Timeout(s): 10
Can you tell what may cause this error ?
If you need more information please write here.
Solved! Go to Solution.
09-07-2010 02:15 AM
Program generate another error :
Error code:-200478,
DAQmx Read (Analog 1D Wfm NChan NSamp).vi:2<append>
<B>Task Name: </B>_unnamedTask<0>
Its similar but have different code.
09-07-2010 04:00 AM
Problem solved. Issue was in connection between PC and USB-6009. Program is working when I connect USB-6009 directly to PC. Earlier connection was through usb hub.
Thanks any way.