Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

sampling rate on pci 7041

Hi, i'm a very newbie of labview and real time system.
i'm using pci 7041 for my college project and running it on windows (not using ftp or some kind of it), the problem is i can't get sampling rate maximum of my daq board. I've used timed loop but still can't get the maximum value (only 10kHz, while in datasheet, 7041 can get to 250 kS/s). Also i can't save the value to harddisk using 'write to spreadsheet' or 'write labview measurement file'.
For your advice, thank you very much.
0 Kudos
Message 1 of 2
(2,876 Views)

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

0 Kudos
Message 2 of 2
(2,857 Views)