您好,我正在使用IVI驱动程序并为我的E4438C VSG编写c#。
我目前能够从ARB触发突发波形(~500ms),但为了使其正常工作,我启用RF,发送软件触发,在软件中休眠500ms然后禁用rf。
在突发完成(所有样本都被传输)而不是睡眠之后,触发器是否有一种方法可以禁用rf?
我试图保持RF开启,但是当我的应用程序无法容忍时,VSG会传输持续的能量,因此我正在使用RF打开/关闭。
谢谢Reese -------代码片段IIviRFSigGen drvr =(IIviRFSigGen)驱动程序;
drvr.DigitalModula
tion.Arb.TriggerSource = IviRFSigGenArbTriggerSourceEnum.IviRFSigGenArbTriggerSourceSoftware;
drvr.DigitalModulation.Arb.SelectedWaveform = arbfile;
drvr.RF.Frequency = xmtFrequency;
//设定频率drvr.RF.Level = xmtPower;
// set level(dBm)drvr.IQ.Source = IviRFSigGenIQSourceEnum.IviRFSigGenIQSourceArbGenerator;
drvr.IQ.Enabled = true;
drvr.RF.OutputEnabled = true;
drvr.SendSoftwareTrigger();
Thread.sleep代码(500);
//等待突发传输driver.RF.OutputEnabled = false;
以上来自于谷歌翻译
以下为原文
Hello,
I am using the IVI driver and writing c# for my E4438C VSG. I am currently able to trigger a burst waveform (~500ms) from the ARB, but in order to get it to function, I enable the RF, send the software trigger, sleep in software for 500ms and then disable the rf. Is there a way for the trigger to disable the rf after the burst is complete (all samples are transmitted) rather than to sleep?
I tried to just keep the RF on, but there is continuous energy transmitted from the VSG when it is idle that my application can not tolerate, so I am using the RF on/off.
Thanks
Reese
------- code fragment
IIviRFSigGen drvr = (IIviRFSigGen)driver;
drvr.DigitalModulation.Arb.TriggerSource = IviRFSigGenArbTriggerSourceEnum.IviRFSigGenArbTriggerSourceSoftware;
drvr.DigitalModulation.Arb.SelectedWaveform = arbfile;
drvr.RF.Frequency = xmtFrequency; // set frequency
drvr.RF.Level = xmtPower; // set level (dBm)
drvr.IQ.Source = IviRFSigGenIQSourceEnum.IviRFSigGenIQSourceArbGenerator;
drvr.IQ.Enabled = true;
drvr.RF.OutputEnabled = true;
drvr.SendSoftwareTrigger();
Thread.Sleep(500); // wait for burst to transnmit
driver.RF.OutputEnabled = false;