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
 2.GQ Geiger Muller Counter
 GMC 320 serial command line not consistent

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

T O P I C    R E V I E W
toplard Posted - 09/30/2017 : 12:00:36
Dear All,

My GQ GMC320+v4.25 is working perfectly with GQ Data Logger, so the USB serial link must be wokring fine.

I want to use rrdtool to poll it periodically write to an RRD and graph it on a web server.

But... when I use the commands in the readme I get the following results which I cannot fathom. It works for some commands but not others - some respond, others not, others respond with garbage, so it makes no sense.

Setup is RPi, Fedora 25 Server armv7, 115200 8N1.

I get the same results under windows 10 using Putty.

See link for screen shot: https://photos.app.goo.gl/OiW5tMoMfBsDmLfx1

<GETVER>> OK
<HEARTBEAT1>> OK
<HEARTBEAT0>> OK
<POWEROFF>> OK
<FACTORYRESET>> OK
<REBOOT>> OK
<POWERON>> OK

Heartbeat returns garbage

<GETCPM>>
<GETVOLT>> returns a *
<SPIR[A2][A1][A0][L1][L0]>> returns garbage
<GETCFG>> returns garbage
<ECFG>>
<WCFG[A0][D0]>>
<key[D0]>>
<GETSERIAL>> returns garbage
<CFGUPDATE>>
<SETDATEYY[D0]>>
<SETDATEMM[D0]>>
<SETTIMEHH[D0]>>
<SETTIMEMM[D0]>>
<SETTIMESS[D0]>>
<SETDATETIME[YYMMDDHHMMSS]>>
<GETDATETIME>>
<GETTEMP>>
<GETGYRO>> returns garbage

* blanks = no response

Thoughts anyone?
2   L A T E S T    R E P L I E S    (Newest First)
ullix Posted - 10/01/2017 : 02:31:40
An even better documentation is available on Phil Gillaspy's site as GQ-GMC-ICD.* documents ( https://sourceforge.net/projects/gqgmc/files/gqgmc/ )

My GeigerLog program's device interaction is largely based an his docu. If you understand Python, look into GeigerLog's source code for programming details (file gcommands.py). Note that some firmware bugs and firmware design don't make this straight forward; further complicated by differences in the 500 model. Explained in the GeigerLog manual.

All found here: https://sourceforge.net/projects/geigerlog/
ZLM Posted - 09/30/2017 : 21:02:09
Some commands return data in hexdecimal value. See details from GQ-RFC1201 protocol:
http://www.gqelectronicsllc.com/downloads/download.asp?DownloadID=62

GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.09 sec. Snitz Forums 2000