08-01-2008 06:21 AM
08-04-2008 11:09 AM
08-05-2008 08:37 PM - edited 08-05-2008 08:45 PM
Hi,
I face the same problem but i'm using LabVIEW 7.1 with DAQmx lastest version dan use NI PCI-6220.
And i can't open the sample code you posted because i'm using LabVIEW 7.1.
Here I attach with my vi.
Please help me to rectify this error.
Thank you.
08-06-2008 01:40 AM
08-06-2008 11:34 PM
hi,
I already remove the wait but the same error occured.
So, by try and error.
I find out that the scan rate only can set as 10. If I set the scan rate others that then the same error will occured.
Why this happening?
08-07-2008 12:06 AM
Two thoughts
1. Try using basic File write I/O functions. Look at File I/O example VI's shipped with LabVIEW to understand them ( DAQmx express VI's are good to start with, but are not good to use in a process-time demanding situation like yours)
2. Since you are doing 3 file write operations, think of a suitable architecture like Producer Consumer Design pattern for your application. Keep DAQ operation in Producer Loop, File Write in the consumer loop