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