VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to read the amplitude in addition to the frequency from the MSO using ANSI C?

I am able to get the frequency from the VirtualBench however I have no idea how to get the amplitude of the clock wave.

0 Kudos
Message 1 of 4
(3,438 Views)

Hello,

 

Can you provide more information on what you mean by clock wave? Is it a signal that you're generating? Is it a signal that you're reading in?

 

Here're some links that might be helpful:

 

Mixed Signal Oscilloscope Pinouts and Connections

http://zone.ni.com/reference/en-XX/help/371526C-01/vbhelp/scopelapinout/

 

Device Specifications NI VB-8012

http://www.ni.com/pdf/manuals/371527d.pdf

 

Best regards,

Misbah Dhuca

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(3,409 Views)

Hi Misbah,

 

I am using the Mixed Signal Oscilloscope to read a clock signal from a motherboard. There is a computer connected to the VirtualBench that uses a ANSI C program to read information about the signal from the VirtualBench. I looked at the pdf you send me and on pg4 under Waveform Measurement / Oscilloscope Voltage, I'm trying to get the value of the amplitude. Is there a way to do that using ANSI C?

 

Thanks

0 Kudos
Message 3 of 4
(3,380 Views)

Hi Quintin,

 

Thanks for the clarification.

 

Are you trying to see the amplitude in VirtualBench or are you trying to use it in your code? 

 

Also, I found this in another forum post:

 

If you install ANSI C support during the NI-VirtualBench driver install, after the install completes you should find a VirtualBench C Reference Help.chm at C:\Users\Public\Documents\National Instruments\VirtualBench Documentation as well as example programs at C:\Users\Public\Documents\National Instruments\VirtualBench ANSI C Examples.

 

If you don't see these files currently, you can go to Control Panel >> Programs and Features >> National Instruments Software, find the VirtualBench ADE Support, and do a modify install.

 

(From: https://forums.ni.com/t5/VirtualBench/VirtualBench-C-API-Getting-started-Are-there-examples/td-p/363...)

 

I'd look into these examples to see if there is one that works with amplitude.

 

Best,

Misbah

0 Kudos
Message 4 of 4
(3,363 Views)