LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a binary string over the GPIB bus using LabVIEW?

I have a Wavetek waveform generator that I'd like to download a waveform to
from the PC. The format is to send the # character, a single digit
indicating how many characters there are in the byte count, the byte count,
and then the data for the waveform. The first three things are transmitted
in ASCI, the last item, the data for the waveform is transmitted in binary
format MSB-LSB order.

How can I transmit that to the waveform generator using LabVEIW 6.1 on W2K
and GPIB?

Thanks,
-Bill
0 Kudos
Message 1 of 3
(2,746 Views)
Hi
You can use array of bytes to string conversion vi...
See example below
0 Kudos
Message 2 of 3
(2,746 Views)
The easy way to do this is to use the instrument driver supplied by NI for
the waveform generator, a Wavetek 295!!!

If you don't have this waveform generator and are trying to do the same
thing, it can probably be done with the LabVIEW "Flatten to String"
Functions->Advanced->Data Manipulation function but why reinvent the wheel
if you have the 295.

-Bill


"SHS" wrote in message
news:PBnr9.928$yy7.279148613@newssvr11.news.prodigy.com...
>
> I have a Wavetek waveform generator that I'd like to download a waveform
to
> from the PC. The format is to send the # character, a single digit
> indicating how many characters there are in the byte count, the byte
count,
> and then the data for the waveform. The first three things are transmitted
> i
n ASCI, the last item, the data for the waveform is transmitted in binary
> format MSB-LSB order.
>
> How can I transmit that to the waveform generator using LabVEIW 6.1 on W2K
> and GPIB?
>
> Thanks,
> -Bill
>
>
>
>
>
0 Kudos
Message 3 of 3
(2,746 Views)