Hi All,
I don't know is this forum correct for my question, sorry for taking time but I need help for the following question:
I have been trying to download IQ data to E4438C over LAN using C#. If I use vee(There is an example in vee's example folder) and MATLAB, download is OK, but when I try to download using c# download is not successful. Because, although there is a data download UI on Signal Generator, Progress Bar remains at %0 and some time later it disappears without completing the download.
I think I have to implement MATLAB's "binblockwrite(...)" or VEE's "WRITE BINBLOCK Int16" command in C#. Is anyone out there who did that before?
Here is my C# Code
Regards
Cengiz EKEN
I don't know is this forum correct for my question, sorry for taking time but I need help for the following question:
I have been trying to download IQ data to E4438C over LAN using C#. If I use vee(There is an example in vee's example folder) and MATLAB, download is OK, but when I try to download using c# download is not successful. Because, although there is a data download UI on Signal Generator, Progress Bar remains at %0 and some time later it disappears without completing the download.
I think I have to implement MATLAB's "binblockwrite(...)" or VEE's "WRITE BINBLOCK Int16" command in C#. Is anyone out there who did that before?
Here is my C# Code
Regards
Cengiz EKEN
For your "write(":MMEM:DATA...." I am not sure what is the library you used to write to the instrument. If I am not mistaken you are trying to write a binblock to an instrument. If so, my experience was using VISA-C to write a binblock to an instrument, using viWrite. I guess VISA-COM provide similar method which probably is IFormattedIO488.WriteIEEEBlock. For more information on VISA-C/COM programming using C#, you may refer to help file in Agilent IO Libraries Suite > Help. If you are using the method mentioned, be careful when dealing with Int16 data, LSB/MSB and etc.
Hope this helps
-mk