martes, 14 de junio de 2011

LAVIEW

Generating and displaying a sine wave with the 6008 DAQ

The purpose of this exercise is to generate a sine wave and remove one of the analog outputs of DAQ 6008

The signal output we will draw a DAQ (AO1) and take you to an analog input.






In the program code have relied primarily on two functions, one is "DAQ Assist " is a statement with which we Labview greatly facilitates DAQ configuration and another is "Simulate Signal" that allows us to generate both analog and digital signals, when I decided to configure it puts to put 1000 samples per second and also send a sample every time it runs because the DAQ to see that if you send several samples at once you're doing it in an array and ... to do it that way jumps an error that says that is not valid.

The program code as it is graphic language, I show through a screen.






The first is to create a LabVIEW VI from 2010 to work on. The exercise will divide into two parts, reading and writing. In the above code is the Scripture and the lower reading. Both reading and writing are in a while so that the data being written or read can be updated.

In the writing phase generate a sling with an existing function. With control we can vary the amplitude of the signal so you can see if it changes in reading. A chart shows what we write.

In the reading I've only placed a chart to see if the graph of the script matches the reading. Both writing and reading are configured the same way to work properly.


this is the scheme for writing




this is the scheme to read



I leave the exercise for download:


https://sites.google.com/site/franbc0100/generarsenal.rar?attredirects=0&d=1 

No hay comentarios:

Publicar un comentario