Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

how to Send a arbitrary wave to the generator?

Hi,

I'm trying to send a arb wave file (or the data from it) to a AFG3022 Function Generator.
I have to do this with standard C / C++ because eventualy the program has to run on a console based OS.
In the Programmer Manual is only explained how to read the data from the generator, but not how to send it to it.

If there is any one how can tell me how to send arb wave files (or the data) to a generator, please tell me.

Thanks,

Spikey
0 Kudos
Message 1 of 4
(6,781 Views)

First, you posted your question to the wrong board. This board is for NI Signal Generators. The correct board is Instrument Control.

Second, there is an IVI driver for the Tek 3K generators here that you can download and at least look at if you don't want to use the entire driver. I'm sure the information is in the manual someplace as well. Looking at the LabVIEW driver, the basic commands used are DATA:DEF EMEM, DATA EMEM, and DATA:COPY

0 Kudos
Message 2 of 4
(6,763 Views)
I'm sorry for posting in the wrong board, I only followed the Steps.
You gave me a link to another board to find the ivi driver is that correct (I'haven't looked verry well jet, because my work day just ended)?
I had also found out that I've to use TRACE:DATA EMEM,<birary_data_block> only thats the problem, I can't find any thing that discribe the form of de data (ex. doubleArray).

Greets, Spikey

P.S. Tomorrow I will search the Instrument Control board for a solussions.

0 Kudos
Message 3 of 4
(6,759 Views)
Somewhere in the manual it should define <binary_data_block>. In the LabVIEW code, it's an unsigned 2 byte integer.
0 Kudos
Message 4 of 4
(6,756 Views)