High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I obtain a scope like presentation using measurement studio and VB?

I would like to use the scope active X control provided in Measurement Studio to provide an oscilloscope presnetation of data acquired using the NI 6110 high speed digitizer boards.
 
Is this possible?
 
Some sample code would be helpful.  I am used to setting up virtual channels in the Measurement and automation software and then referencing the virtual channel number in the properties of the active x control in VB.  I can't figure out how to accomplich this with the scope active x control.
 
Thanks
0 Kudos
Message 1 of 3
(6,285 Views)
Hello Cubby!

I am assuming when you say you want to use the Scope ActiveX control in VB6 that you are refering too the IVISCOPE activeX control.  This control will allow you to have the O-Scope type interface with little to no programming.   Please notice this will be different then using MAX because you will need to have an IVI session of your scope set up.

After Adding this component to your project simply lay it on the form.  Next in the property page associated with the control find the 'Custom' property.  Click on the '...' button inside the property which will bring up a attribute page.  Finally, select your IVI scope session that was configured in MAX or if your using an NI scope board enter the resource in the DAQ::x::INSTR format.  To verify that everything is setup correctly click on the 'Configuration' tab and click the Verify button.

For further help see....

http://digital.ni.com/public.nsf/websearch/CEECFCBF5015AB6F862568A100640EB0?OpenDocument

If you have more questions please feel free to ask.  I could not locate any example code,  but you should be able to get it working by simply configuring the control correctly.  Have a great day!

Allan S.
National Instruments

0 Kudos
Message 2 of 3
(6,268 Views)

I added the reference to the IVIscope.dll.

I typed the name of the virtual channel I have setup in MAX (Channel 1), but when I try the configuration check, I get the following message:

Verification failed.  Entry missing from configuration file [IVI Error code:  BFFA002D]

Can you tell me what else I am missing?

thanks,

Cubby

0 Kudos
Message 3 of 3
(6,260 Views)