02-06-2007 11:37 PM
02-08-2007 05:49 PM
06-13-2009 10:14 AM
06-13-2009 10:51 AM
I have to pass a waveform from Labview to AWG420 and I don't know own how I do it....Do anybody know how do it????
I tried to pass with waveform with this command: MAGIC 1000<CR><LF>#<Num_digit><Data(1)><Data(2)>.......Data(n) [ClOCK<Clock><CR><LF>]
but I can not do it.....
06-15-2009 04:57 PM
Hi Vici,
Are you trying to use Gpib or Rj-45 to communicate with your device? There does not appear to be an instrument driver for this device. Can you post the vis you are using? I’m a bit unclear as to what you meant in your post.
Matt
06-18-2009 04:24 AM
06-19-2009 04:21 PM - edited 06-19-2009 04:28 PM
The AWG420 progrmmer's manual states that the <data> field should be specified in "488.2 block format". It is not very clear what this means, but I found this site that states:
The BASIC program will send the following data
:MMEMory:DATA ’amiqsico.wv’, #3140 <binary data>
# The ASCII character # initiates binary block transfer
3 Number of digits of subsequent length information in ASCII
140 Length in ASCII of binary data record bytes
<binary data> 140 bytes of curve form
So, a valid string may be:
"MMEMory:DATA 'waveOne.wv', #15 0001020304"
Unfortunately, I have not had experience with this device, so this is an educated guess
As far as sending this from LabVIEW, check out Instrument Control in LabVIEW or one of the many articles on GPIB instrument control.
06-19-2009 04:22 PM