LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send arbitary waveform to 33250a

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.

Download All
0 Kudos
Message 1 of 5
(3,243 Views)

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.

0 Kudos
Message 2 of 5
(3,227 Views)

The function in the llb driver is called ag33xxx - Scale Arbitrary Waveform. Did you delete that from your copy of the llb?

0 Kudos
Message 3 of 5
(3,221 Views)

 


@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

0 Kudos
Message 4 of 5
(3,198 Views)

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.

0 Kudos
Message 5 of 5
(3,195 Views)