Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQmx 8.3 Error -200077

Hello there,

I'm not quite sure if this is the correct forum, but I hope so.
I want to programm a frequency analyser for some oscilloscope, using a DAQCard-6024E with Visual Basic 6 and NI DAQmx 8.3.
For testing purposes I've downloaded some examples from the "Code Examples" section from the NI homepage. Like this one: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=04C0E4E900FB6E73E0440003BA7CCD71&p_...

No my problem is that when I click the programmes "start" button, I always get the error message "Error -200077 (fffvf273): Requested value is not a supported value for this property." I didn't change anything in the example code so far and have absolutely no clue what could be the solution...

I've also tried some examples in VB.NET 2005 with exactly the same instrument setup and there it works correctly. But unfortunately I have to use VB6 instead of .NET.

So I hope anyone can help me out 🙂

Thanks in advance,


Dennis
0 Kudos
Message 1 of 3
(7,302 Views)
Dennis,

please verify this.

hope it helps 🙂
Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(7,283 Views)
Thanks ,

I've also encountered this page when I was about to submit my question to the NI Support Team on a "possible solution page". Don't know why I didn't find it earlier by normal searching...

But now I'm having another problem. And that is, that I can't read as much data as I would like to with this example.
When I take the given code as is I get an error telling me that my PC is to slow to handle all the data flow. At least that's what I figured after some time. Apperantly that's because my card doesn't support DMA.
So I just changed the programm a tiny bit, so that it stops the reading task after it has once "collected" all the samples. But still, when I want to read at a sampling rate of 100kHz I get an error. This time it's error -200019 ("ADC conversion attempted before the prior conversion was completed. Increase the period between ADC conversions. If you are using an external clock, check your signal [...]")
Since I'm not using an external clock what can be the reason for this error?

[EDIT] I'm only reading on one channel, so the whole 250kS/s should be available. And using the testpanel in Automation Explorer it's working fine (of course) with high sampling rates.

Message Edited by metzeltiger on 09-19-2006 06:43 AM

0 Kudos
Message 3 of 3
(7,281 Views)