Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

sweep generator PCI 6120

Hi,
I intend to build a vi that can sweep frequency from 0-100 hz  in 100 sec  and also amplitude from 0.1 v to 10 v in 100 sec  separately.and  then send this analog output to one of shaker I'm using in my experiment.
I have PCI 6120 card and using Labview 7.1. I'll be thankfu lif someone can help me. It would be appreciated if someone has already a vi and send it to me.
Thanks
 
0 Kudos
Message 1 of 6
(4,678 Views)

Are you trying to do both of these at the same time, or are they separate sweeps?

Erik F

Applications Engineer -- NI

0 Kudos
Message 2 of 6
(4,668 Views)

Attached is a quick VI for the amplitude sweep.  I'm assuming that you are outputting these values to some sort of motor or something, so the amplitude will be straightforward enough.  The frequency sweep is a little trickier.  The only thing on the boards that deals with an actual frequency as it's input/output is the counter, but that's just digital.  I took a stab at a program to try to generate a sine wave with varying frequency, but I haven't really tested it as much as the amlitude.  Anyway, these should at least get you started in the right direction.

Regards,

Erik F

 

0 Kudos
Message 3 of 6
(4,662 Views)

Oops, here's the amplitude one...

 

0 Kudos
Message 4 of 6
(4,660 Views)

Hi,

I'm looking for the same thing, but with labwindows/CVI.

I need to make a sweep from 0 to 800 Hz.

Thank by advance.

 

Erwan

0 Kudos
Message 5 of 6
(4,275 Views)
Hello Erwan,

There isn't a example out there specifically use with your hardware. Here is an example that is using LabWindows/CVI with 542x hardware.

LabWindows\CVI Frequency Sweep for a 542x Example

Take a look at it, you should be able to modify it so that it can be used with your hardware.

Happy Coding!

Regards,
  Sandra T.

Applications Engineer | National Instruments

Message Edited by Sandra T on 05-23-2007 09:31 AM

0 Kudos
Message 6 of 6
(4,250 Views)