07-14-2010 06:31 AM
Dear All,
I'm trying to send a arbitary waveform data that is present in a "text" file to agilent 33250A through GPIB port using labview. I have few basic questions.
*1)What should be the text file format be in?. Should it contain both X and Y values of the waveform?. or Is it enough if I give only the Y values of the waveform and just specify the number of points in the waveform?. Could you please attach a sample text file.
*2)I have attached a sample "TEXT" file that I actually used(This same text file works fine if i send it through Agilent's "waveform editor" software). But somehow I'm getting error while trying to export the data in text file through labview. I have also attached the ".llb" file that I used for the program(It is downloaded from the NI discussion forum.Refer to the ZZZ.vi file).
Regards,
Lokesh rajendran.
07-14-2010 09:44 AM - edited 07-14-2010 09:46 AM
The project style driver has an example (Agilent 33xxx Series Generate Arbitrary Waveform) and a function (Create Arbitrary Waveform) to convert the DBL array to binary data that the instrument requires. The example does not read from file but does simulate a signal - same difference.
You should always choose the project style driver if you have LabVIEW 8.0 or higher.
p.s. Studying the manual and understanding the type of data that the instrument requires is also a necessary step.
07-14-2010 09:52 AM
The function in the llb driver is called ag33xxx - Scale Arbitrary Waveform. Did you delete that from your copy of the llb?
07-14-2010 11:57 PM
@Dennis Knutson wrote:
The function in the llb driver is called ag33xxx - Scale Arbitrary Waveform. Did you delete that from your copy of the llb?
Hi dennis,
As I said it was a lib that I downloaded from the forum. The orginal driver that I downloaded from NI hs the files that you told. But still I'm looking for a way to export the waveform data from a text file to the waveform generator
REgards,
Lokesh
07-15-2010 12:01 AM
You have to feed it to the scale function. You cannot wire the DBL array directly as you have done. The instrument does not accept data in that format.