LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB data exporting using Labview for HP 54601A oscilloscope

Hello all:

 

I am trying to use labview to read the data of the four channels of the HP 54601A oscilloscope simultaneously. I have used the Labview driver from NI, but the driver model only demonstrates how to read the waveform of just one channel of the oscilloscope. I am wondering how to read the waveforms and export the datas of the four channels simultaneously. Any suggestions will be greatly appreciated. Thanks a lot.

 

Rongguo

0 Kudos
Message 1 of 11
(4,465 Views)
To the example, you will have to add additional Channel Config functions - one for each channel. Then, I think you will have to modify the HP54601A-602B Digitize function. As written, it seems it will only initiate a capture of a single channel. It's probably similar to the syntax in the HP54600A-610B Digitize function - :DIG CHAN1,CHAN2;. So try using :DIG CHAN1,CHAN2, CHAN3, CHAN4;. I think this will acquire all 4 channels at the same time. You will then have to read each channel sequentially but this is unimportant.
0 Kudos
Message 2 of 11
(4,454 Views)

Hi, there. Thanks a lot for the suggestion. I have added additional Channel Config functions and modifed the Digitize function, but it read and write the waveforms of channel one all the time. No other channels are writen. Do you have any other suggestions for solving the problem? Thanks a lot..

 

 

0 Kudos
Message 3 of 11
(4,423 Views)

Are you saying that when the digitize function is executed, you do not get 4 waveforms on the scope display? If that's the case, then you probably need to refer to the manual to see if that is the correct syntax to initiate a capture of all 4. I don't have the manual and I was guessing based on what is in the driver for the 2 channel scope.

 

If the scope is performing the capture but your read is incorrect, did you change the  read source for the additional Read Waveform functions you needed to add?

0 Kudos
Message 4 of 11
(4,420 Views)

Hello Dennis:

 

Thanks a lot for your help on this. I think I probably didn't modify the digitize function corretly, because I can only get one waveform. I have attached my labview file. The file named " HP546XXX data_aquire_zhou" is the one I used to capture two waveforms of the oscilloscope, but I can only get one waveform. Could you please take a look at what is wrong in my setup?? Thanks a lot...

0 Kudos
Message 5 of 11
(4,412 Views)
Sorry, I don't have LabVIEW 2009 installed here at home. Can you save it for 8.6?
0 Kudos
Message 6 of 11
(4,406 Views)
Looked at the VI and that's not even close. Attached is a mod that you should try.
0 Kudos
Message 7 of 11
(4,388 Views)

Hello Dennis:

 

Yeah. I thought I had modified the digitize function as you told, but I was not sure whether I did it right or not. I have saved my Labview file as the 8.6 version as attached. Please take a look at my setup on the flie named " HP546XXX data_aquire_zhou". Thanks a lot for your time and help.

 

0 Kudos
Message 8 of 11
(4,380 Views)
I'm getting an errror that the file is not a valid archive. Can you reattach?
0 Kudos
Message 9 of 11
(4,374 Views)

Hello Dennis:

 

I have reattached the file. Please let me know if there is any problems. Thanks a lot.

 

 

0 Kudos
Message 10 of 11
(4,370 Views)