05-05-2006 11:29 PM
05-08-2006 04:18 PM
Hi red_gear,
First of all welcome to LabVIEW and LabVIEW RT. I'll go ahead an answer your second question first. The reason the "Write to Spreadsheet" and Write LabVIEW Measurement VIs do not work is because the PCI 7041 does not have a hard drive. Since the RT Series DAQ devices do not have hard drives, data acquired by these devices must be transferred back to the host machine and saved there. There are several methods available for transferring data from the RT Series DAQ Device back to the host. These methods include:
TCP/IP, Shared Memory, VI Server
Some examples are shipped with the LabVIEW Real-Time Module that demonstrate the functionality of these different methods. These examples are located in the LabVIEW directory on your hard drive in the [LabVIEW Folder]\Examples\Real-Time\RT Communication.llb library.
TCP/IP and VI Server are good for transferring larger amounts of data. These methods can also automatically determine if all the data was transferred correctly from the RT Series DAQ Device to the host VI. Shared Memory VIs do not automatically check for the success of each data transfer so you must write your own routines to make sure the data transfers successfully. Once data is successfully transferred back to the host machine it can be saved by adding file I/O functionality to the host VIs.
Second to achieve a faster loop rate check out the following example. For a DAQmx example of how to control your loop timing check out \[LabVIEW folder]\examples\DAQmx\Control\Control.llb\PID Control-Advanced.vi. Also check out the following folder \examples\Real-Time\RT Control.llb for some more examples.
Hope this helps,
Steven