"drtbrl" wrote:
>I am a very new user of Labview.
I'm not as experienced as many of the people in this group, but I'll try
to help a little...
>My application consists of acquiring
>high-speed voltage data on several channels. I intend to use triggering
to
>initiate the acquisition. I am using PCI-MIO-16E-1 card for this. I am
>having following problems, please advice
>
>A. Is there a ready-made VI available in Labview which I can use?
The LabVIEW solution wizard has a high-speed data acquisition wizard, but
I can't tell you much about this since I never use the wizard. I don't think
that solution can be triggered (besides by you clicking the mouse.)
If you want to get up and running quickly, it looks like Functions>>Data
Acquisition>>Analog Input>>Analog Input Utilities>>AI Waveform Scan.vi might
work for you. It looks like that VI can be triggered.
>B. As output I want two things-
> 1. A data file containing two columns of acquired data showing
time
>and voltage and
Functions>>File I/O>>Write to Spreadsheet File.vi is a fast and easy way
to do this.
>2. An XY graph with actual time on X-axis (so that I can compute delta t
>between two measurements) and voltage data on Y-axis. I want to see time
on
>X axis with time=0 when the acquisition started. I also want to be able
to
>set X-min and X-max explicitly. For this what should be used - a XY chart
or
>XY graph? When I select real time on X format (with Xo=0) I do not get
>desired results. Moreover I am unable to set X-min and X-max at all (like
I
>can do it in Excel).
First of all, there are basically two ways to get data: 1) by taking single
points in a loop -- this sounds like it would be way to slow and unreliable
for you, or 2) letting the DAQ system buffer the data for you. Using the
second method will let you take high speed data at fixed time intervals (so
you don't have to calculate actual time delta t's for each point). Any of
VIs that ask for a scan rate and number of points will give you back data
that has been buffered. (anyone correct me if I'm wrong!) If you want to
make an array of times, you can build it up, e.g. using a for loop.
For this the display of arrays of data, if you already have a time array,
you probably want to use the XY graph, that way you don't need to mess with
Xo and delta X. You can use the text tool on the numbers on the graph scales
to change the min and max scale values. Also, once you get deeper into LabVIEW,
you can set those in the program using attribute nodes.
>
>C. My inputs are single ended for sure. But are they NRSE or RSE ? I
am
>still not very clear.
I can't help much here. If they are grounded, I think they are referenced.
If they are battery operated, probably non-referenced. This is something
specific to whatever you are using to take the measurements.
>
>D. While testing my card I used test panel. I connected ACH0 pin of
>PCI-MIO-16E-1 to 1MHz sine wave input( taken from my pulse generator)