09-08-2011 05:58 PM
Greetings,
Does anyone know where to find documentation on the C functions contained in the lvanlys.dll?
I'm trying to learn more about the function 'ArbitraryWaveCIN'.
The Basic Function Generator.vi uses SineWaveCIN, SquareWaveCIN, SawtoothWaveCIN, etc., so I was thinking I could use the ArbitraryWaveCIN to tweak the frequency, amp, and offset of my arbitrary waveform on-the-fly.
Problem is I'm receiving error 1097 from the Call Library Function Node.
I'm outputting arbitrary waveforms on an AO in a software timed non-regenerative output. The amplitude and offset of the arbitrary waveform are controlled via PID's so I cannot use the hardware timed board regenerated output mode because I need on-the-fly changes of amplitude and offset.
Any advice is appreciated.
Thanks in advance!
Steve
LV2010 SP1
NIDAQmx 9.3
M-Series DAQ
Solved! Go to Solution.
09-09-2011 04:08 PM
Helo Electromecha,
If you only want to look at the ArbitraryWave function in C, you can open ArbitraryWave from CVI, right click the diagram, go to Class Help on the bottom, then select Advanced Analysis Library. Click on function tree list, then select ArbitraryWave. You should have a good description of the function from there.
However, it appears you're programming in Labview, and your end goal is to generate an dynamic AO. This will be writing your AO waveform to a buffer. You can make it as "on the fly" as possible by maintaining a low number of samples to the buffer.
Thanks,
Lisa
09-13-2011 02:51 PM - edited 09-13-2011 02:52 PM
Thanks for your response.
I finally found the LabVIEW VI that wraps the ArbitraryWaveCIN in the Signal Processing pallet under Signal Generation>Arbitrary Wave.vi.
Thanks!
Steve