본문으로 바로가기
728x90
반응형

 로데슈왈츠 계측기인 SMA100B Signal Generater(시그널제너레이터) VISA 명령어

1. RF ON/OFF

viPrintf(MC_SMA100B,"OUTP:ALL ON\n");

viPrintf(MC_SMA100B,"OUTP:ALL OFF\n");

 

2. Frequency CW

viPrintf(MC_SMA100B,"SOURce1:FREQuency:CW %f Hz\n", Freq);

viQueryf(MC_SMA100B,"SOURce1:FREQuency:CW?\n","%.2f",&Freq);

 

3. Power Level

viPrintf(MC_SMA100B,"SOURce1:POWer:LEVel:IMMediate:AMPLitude %.2f\n", Level);

viQueryf(MC_SMA100B,"SOURce1:POWer:LEVel:IMMediate:AMPLitude?\n","%.2f",&Level);

728x90
반응형