08-19-2009 05:32 PM
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.
08-20-2009 11:00 AM
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,
08-20-2009 11:20 AM
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
08-21-2009 12:12 PM
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,
09-08-2009 07:54 PM
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,
09-08-2009 11:29 PM