11-14-2012 03:01 PM
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
10-17-2022 09:47 PM - edited 10-17-2022 09:58 PM
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?