Denver - ALARM

cancel
Showing results for 
Search instead for 
Did you mean: 

Arbitrary Waveform Function Generator w/ DAQmx

This presentation was prepared for the Colorado Alarm User Group, November 14, 2012.

The attached PowerPoint presentation and supporting code demonstrates a method for programming an arbitrary waveform function generator with on-the-fly configurable amplitude, frequency, and offset.

The attached example code is written in LabVIEW 2011 SP1 and requires a basic multifunction DAQ board with Analog Output for use.

Prepared by:

Steve Solga

Electromecha LLC

www.electromecha.com

Capture.PNG

Message 1 of 2
(9,303 Views)

Excuse me, if this arbitrary waveform vi is used to drive a linear motor, I would like to apply the counter to count the linear position while driving. I have tried adding the example "Read encoder.vi" directly to the program "DAQmx Write FG AO.vi" , but the calculation will be wrong, as shown in Figure 3 (if the two vi are run separately, they can work, as shown in Figure 1 and 2) Can you help me?

jerry888_2-1666061843894.png

jerry888_3-1666061870452.pngjerry888_4-1666061887696.png

 

 

0 Kudos
Message 2 of 2
(2,069 Views)