Passing LabVIEW Waveforms Into ATEasy
Santiago D.
Austin, TX

Jan 15, 2010
2 Posts

Passing LabVIEW Waveforms into ATEasy

The 'Import LabVIEW Virtual Instrument Tool' in ATEasy imports LabVIEW Waveform types as VI_Waveform types.  The VI_Waveform type is derived from the Object type, therefore there is no way to determine the elements inside of the VI_Waveform type.  I did not find documentation that described the VI_Waveform type either.

Could you please either point me to documentation that describes the elements in the VI_Waveform type, or please let me know the names of the elements in the VI_Waveform type, the elements' types, and how the elements map to the LabVIEW Waveform type's elements.

Thank you for your help in advance,

Santiago D

Albert Q.
Anaheim, CA

Jan 15, 2010
11 Posts

Re: Passing LabVIEW Waveforms into ATEasy

Which version of ATEasy are you using? Could you please upload the example vi containing the waveform data type so we could investigate it.

Thanks,
Albert

Santiago D.
Austin, TX

Jan 18, 2010
2 Posts

Re: Passing LabVIEW Waveforms into ATEasy

Thank you for your reply Albert.  I am using ATEasy 7.0 and LabVIEW 2009.  Attached is the VI that is returning the waveform type.  The output connector for the waveform is called 'Waveform'.

Santiago D.


File Attachment:
Dynamic_Data_Type.vi

Solution Available
Albert Q.
Anaheim, CA

Jan 18, 2010
11 Posts

Re: Passing LabVIEW Waveforms into ATEasy

Accessing LabView Waveform data type's components and attributes from ATEasy (or Visual Basic, C, etc..) is not directly supported. You need to create another VI to retrieve the components of the waveform and then return them via connector panes. Please see the following link for more information http://74.125.95.132/search?q=cache:vg-l9kjZv-kJ:lavag.org/topic/5293-creating-a-dll-for-use-elsewhere/+extcode.h%2BIWaveform&cd=5&hl=en&ct=clnk&gl=us
I have created and uploaded an example to demonstrate how to retrieve the waveform data from DynamicDataType.vi and display them using ATEasy's AChart control.

Regards,
Albert


File Attachment:
Waveform Example.zip



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]