High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Scope Invalid value for parameter or property

Using VS2005 Scope Basic Measurement Library Example with a PXI-5112. Error when opening the session.

 

Error BFFA0010.

Possible Reasons: 
Invalid value for parameter or property.

An analog input channel must be enabled for acquisition to be used as the trigger source.

 

Tryied changing various settings and I can get the error to change but cannot get the session to open.

0 Kudos
Message 1 of 6
(7,708 Views)

Hello TrackerMan,

 

Thank you for using NI forums.  I was having a little trouble locating the example you mentioned.  Was this one of the examples that came with NI-Scope and, if so, where did you find it?  Also, what type of acquisition and triggering are you trying to perform?  Lastly, are you able to open up the Scope Soft Front Panel, and does it run correctly?

 

Regards,

0 Kudos
Message 2 of 6
(7,698 Views)

The Soft Panel works.

 

The example program is NI-SCOPE\Examples\DotNet2.0\BasicMeasurementLibrary

 

I found a note somewhere that said that the 5112 is not supported by the .Net interface, is this true?

 

I did download an NI-SCOPE .Net wrapper class project from the NI website that uses the NI-Scope IVI instrument driver and it is working.

 

 

Couple of other questions:

 

Is there an easy way to convert from timebase (i.e. 1uS/Div) to Sample Rate and Number of Sample?

 

How do I select the PXI-5112 Trig BNC as the Trigger source in NI-SCOPe?

 

Thanks

 

 

 

0 Kudos
Message 3 of 6
(7,695 Views)

Hello TrackerMan,

 

If you look at the NI-Scope .NET Class Libraries readme there is a section which mentions:

 

"The NI-SCOPE .NET class libraries do not support these traditional NI-DAQ devices: 5620, 5621, 5102, 5911, and 5112."

 

However, you can program in C/C++ and VB with this card.  Also, the timebase is used to determine the period or frequency of your signal.  There isn't a direct correlation between timebase and sample rate or number of samples, because even though your frequency measured might stay the sam, the rate at which you sample this frequency and the number of samples you read at that rate is all determined by the user.  I hope this helps.

 

Regards,

0 Kudos
Message 4 of 6
(7,680 Views)

Hello TrackerMan,

 

I recently discovered that you can use the older wrappers to support legacy scopes.  Please take a look at the page here for more information and for the wrapper download.  You mentioned that you had a wrapper already.  Did it come from the page mentioned above?  I apologize for the misunderstanding.

 

Regards,

0 Kudos
Message 5 of 6
(7,603 Views)
YEs that is where I got the wrapper class.
0 Kudos
Message 6 of 6
(7,599 Views)