annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Using NI 9215 as a scope

Risolto!
Vai alla soluzione

I'm trying to build a virtual scope with labview. I have a NI 9215 I'd like to setup to read two analog channels (x,y), where x is my input in voltage(0-20v) and y is my accelerometer. I previously had these two BNC connectors going into an Allison O-scope II but I'd like to start heading towards a windows environment.

 

All I would like to do is setup a scope with XT and XY views so I can capture a damping curve.

 

Is it possible?

0 Kudos
Messaggio 1 di 15
5.213Visualizzazioni
Seems like you should not have a problem. Use a normal graph for the x versus time and an xy graph for the other. What have you tried and what problems are you having? Have you tried the DAQmx examples?
0 Kudos
Messaggio 2 di 15
5.201Visualizzazioni

Creating the VI, I might need a bit of help with, but I think I can pull it off.

 

I have two issues...

 

1) Doing a frequency sweep...currently I'm doing this with an analog FG. I'd like to keep it analog. Maybe I can hook an potentiometer to the daq?

 

2) The 9215 is 10v +-. My y input is going to range from 0-20v. Is there a way to attenuate this voltage before it hit the daq, or do I need to?

0 Kudos
Messaggio 3 di 15
5.187Visualizzazioni

Or do I just keep using the FG i'm using and just use the 9215 as a scope?

0 Kudos
Messaggio 4 di 15
5.181Visualizzazioni
The 9215 only has analog inputs so obviously you cannot use it as a source, let alone as a source to itself. Same as your scope.

Yes, you can externally attenuate the signal. A voltage divider is commonly used.
0 Kudos
Messaggio 5 di 15
5.142Visualizzazioni

So, let me get this straight. The NI9215 takes analog signals between 10+-. So I would need to use a voltage divider on BOTH signals (x and y) to get the same ratio of curve on my screen. My input (y) goes to 20v but my accelerometer doesn't need to be scaled down....but I would have to do both to keep aspect, correct?

 

Any advice on how to go about building a voltage divider? Is this a commonplace for these devices?...the need to attenuate the voltage?

0 Kudos
Messaggio 6 di 15
5.130Visualizzazioni
No, you only need to scale the channel with the attenuator.

Find an electronics major at your school if you don't understand. A voltage divider is pretty simple - https://en.m.wikipedia.org/wiki/Voltage_divider
0 Kudos
Messaggio 7 di 15
5.123Visualizzazioni

But I'm attenuatiing AC voltage....maybe I can buy a travel plug that converts 220v to 110v and wire it backwards?

0 Kudos
Messaggio 8 di 15
5.109Visualizzazioni
That makes absolutely no sense to me. What are your objections to a simple resistor divider? What is the frequency you are measuring?
0 Kudos
Messaggio 9 di 15
5.102Visualizzazioni

the frequency of the AC voltage is 60hz, I would assume. I had input from one of my colleagues to use a scope probe in order to dumb down the voltage.

 

I had another question though: How do I manipulate a graph to change the seconds per divison to control my timebases on a sinewave?

0 Kudos
Messaggio 10 di 15
5.087Visualizzazioni