GQ Electronics Technical Support Forum


GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 3. GQ EMF EF Meter RF Spectrum Power Analyzer
 GQ_EF_PRO.exe unattended download
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sc

United Kingdom
5 Posts

Posted - 07/22/2019 :  04:13:03  Show Profile  Reply with Quote
I'd like to download history from an EMF-390 in an automated setup. Is it possible to run it in batch with command line switches? Is the source code available?
Stuart

sc
Reply #1

EmfDev

910 Posts

Posted - 07/22/2019 :  09:09:49  Show Profile  Reply with Quote
Hi sc, you can use the <SPIR>> command (http://www.gqelectronicsllc.com/download/GQ-RFC1701.txt).
Here is the format for the date. Date always starts with 0x55 0xAA.

time[0] = 0x55;
time[1] = 0xAA;
time[2] = Year; //20xx
time[3] = Month //01-12
time[4] = Day
time[5] = Hour
time[6] = Minute
time[7] = Second

and here's a format for the data

data[0] = 0xAA;
data[1] = 0X55;
data[2] = (temp >> 8) & 0xFF; //EMF is 16 bits the first 12 MSB are for the integer part of EMF
data[3] = temp & 0xFF; // then the 4LSB are for the decimal part. e.g 1.1 ==> 0000000000010001
// EF - bits of float type
data[4] = EF[0];
data[5] = EF[1];
data[6] = EF[2];
data[7] = EF[3];
// RF same as EF
data = RF[0];
data[9] = RF[1];
data[10] = RF[2];
data[11] = RF[3];
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.09 sec. Snitz Forums 2000