LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I start a triggered hsdl data acquisition process?

I need to acquire multi-channelled data from a PCI-6110E board into a buffer and then trigger the writing of a selected number of these points to disk. For discrete measurements, I have used the hsdlwrite.vi (part of hsdl.dll) to read a number of points from the buffer and write them to a binary file, which this vi does superbly (i.e. it's really fast). However, I need the capacity for a trigger as I'm missing events because they happen too suddenly. Unfortunately, if I use convensional AI vis, which have this triggering capacity, then my program takes too long (seconds rather than milliseconds) to acquire the data and write it to disk.

Is there a version of hsdlwrite.vi to which you can pass trigger parameters
(i.e. the location of the start point, and number of pre-trigger points)?

My typical sampling rate is 2-5MHz and sample up to 1048576 points per event. (A few hundred milliseconds)

Thanks,
Jo
0 Kudos
Message 1 of 3
(2,923 Views)
Clarification:
The vi I am using is actually called hsdlFileWrite, not hsdlwrite.
0 Kudos
Message 2 of 3
(2,923 Views)
Jo;

Unfortunately, at this time, the hsdl VIs don't support pre-triggered operations. You can refer to the attached file to see the complete list of the limitations of this package.
Filipe
0 Kudos
Message 3 of 3
(2,923 Views)