03-09-2007 03:33 PM
03-12-2007 12:54 PM
Hi Amir,
Thank you for posting to the NI forums. There is a Knowledge Base entry on this exact error message in relation to DSA devices.
Getting Error -200077 When Doing 1-sample Acquisition With DSA Boards (4472, 4461 etc.)
Like the error message states, you can use either finite or continuous mode in your DAQmx timing VI when using a DSA device.
I hope this helps. Post back if you have further questions.
Ed W.
Applications Engineer
National Instruments
03-12-2007 01:24 PM
Thanks Ed W.
then do you know, is there any other device than can replace to do this job (hardware timed single point)?
Amir
03-13-2007 03:00 PM
03-14-2007 12:53 PM
03-15-2007 12:45 PM
Some Random thoughts.
#1. You really only want to read 1 sample at a time? If so then DSA board is probably overkill for you. But since you already have the board I guess it could work
#2. The timed loop is not perfectly deterministic on Windows. Any interrupts, thread switches, etc could and will add jitter to the timed loop. If you truly need absolute determinism then I suggest RT, however, then I would also suggest using HWTSP which the dSA board doesn't support. In the way you currently have this setup it will work, but I can see it being late often. Also, keep in mind any real calculations, etc you add to the inside loop is going to cause jitter.
#3. You could take a look at the DAQmx examples where the sample clock drives the timed loop. That might work better in your case. Use the example finder and search for "timed-loop". There are a half a dozen examples which show how to use the timed loop using DAQ as a timing source.
I am still unsure about what you are actually trying to do. These are the best suggestions I can give theorizing on what your app is.
StuartG
03-20-2007 08:59 AM
Hi,
First, I thank for good tips in forums, and then I realized a new problem,
I did my acquisition with DAQ-mx 7.4 with a 250 Hz and a buffer of 100 000 samples per channel, and it was working, now, I’ve upgraded Labview to 8 and it doesn’t let me to have a frequency lower than 1000 Hz. Why does acquisition frequency depend to the DAQ-mx version and What can I do?
Thanks
03-21-2007 10:32 AM
That sounds wrong to me. There is no frequency limit on the acquisition to my knowledge in any version of DAQmx what error do you get when you set it to 250hz? I am pretty sure you can set the frequency to 250, maybe you are getting some sort of buffer overflow error?
StuartG
03-22-2007 01:22 PM
Hi
Here you are, the error which i got:
Error -200077 occurred at DAQmx Read (Analog 1D DBL NChan 1Samp).vi:2
Possible reason(s):
Requested value is not a supported value for this property.
Property: SampClk.Rate
Requested Value: 250.000000
Minimum Supported Value: 1.0 e3
Task Name: _unnamedTask<7>
and i will stop on DAQmx Read (Analog 1D DBL NChan 1Samp). the frequency is given in DAQmx Timing(sample clock) in continuous samples mode.\
thanks
Amir
03-22-2007 05:08 PM
Hi Amir,
The error message that you’re receiving is expected behavior for your device. NI’s DSA devices have a minimum sampling rate as well as a maximum. The PXI-4472’s minimum sampling rate is 1kS/s, as the error message indicates. There is actually a Knowledge Base article that address this issue.
Errors when Sampling Below Minimum Rates for Dynamic Signal Analyzers
I hope this helps.
Ed W.
Applications Engineer
National Instruments