I'm using a U3-HV plugged into a Linux machine. I'm wondering what the best way to acheive the following is:
I have 4 audio line levels being fed into a LabJack U3-HV. I'd like to pull samples ideally at 44kHz in packets of 1024 samples (512 or even 256 might work) to feed into a FFT frequency analysis.
Latency is not an issue, this process needs to happen (at most) once an hour (possibly only once a day), and time between grabbing the samples from each input doesn't matter, eg its fine to pull each channel with a 15min gap (the sampling doesn't need to be synchonous on all channels). I need the samples to be high resolution and at as high a sample rate as possible, but I don't need a long continuous stream, just a small stream of 1024 samples.
Should I be using the streaming functions, is there anyway to have SamplesPerPacket larger than 25? Would this config look sensible:
streamConfig( NumChannels = 1, PChannels = [ 0 ], NChannels = [ 31 ], Resolution = 3, SamplesPerPacket = 25, InternalStreamClockFrequency = 1, DivideClockBy256 = False, ScanInterval = 1)
What does DivideClockBy256 do? (I'm assuming it would change a 4kHz rate into 4*256 KHz rate) why and when should you use it? (I can't find any verbose info on it's usage)
Would there any alterative/better ways to acheive the above (like using getFeedback)?
thanks in advance