GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
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
 gqgmc for ubuntu

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
myf Posted - 10/06/2013 : 08:51:07
Hello,

I only use Ubuntu computers, and I can't test usb data processor for windows. So I download the binary file gqgmc for linux.

But I can't download the complete source directory, is it possible ? I can only get one file at once.

I want to record data in a history file with a bash or a python loop. Can I get Geiger-Muller count each second, or CPM each minute ?

./gqgmc runs and uses the return key, but I don't understand what I get with the ./gqgmc program. I copy/paste what I get at the end of this message.

Is there a bash-command ...gqgmc... that return current cpm (or current Sv/h or totalCount) in stdoutput.

The main loop will be:

While Continue :
wait 10 seconds
echo `date` : `...gqgmc...` >> logFile.txt

and plots become easy !

Many thanks for your help...

F.

# The gqgmc output from my computer (ubuntu 12.04 LTS)
# ./gqgmc /dev/ttyUSB0
USB is opened

date: 030513
time: 171730
get version
GMC-300Re 3.01

get serial number
Paused: to continue, press ENTER..
000300ca05e5f6

get CPM
Paused: to continue, press ENTER..
39

get 5 samples of CPS
Paused: to continue, press ENTER..
0
0
1
1
0
get battery voltage
Paused: to continue, press ENTER..
9.7V

Turning on auto-CPS data
Paused: to continue, press ENTER..
s=0 1
s=1 0
s=2 0
s=3 1
s=4 0
s=5 0
s=6 1
s=7 1
s=8 1
s=9 0
turning off CPS
get history
Paused: to continue, press ENTER..
6 12 b 24 55 aa 2 1b 15 14 14 19 1e 1b 1e 1d
1f 1d 19 21 1b 2b ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
test writing configuration data
Manually set the save data to counts per hour
Paused: to continue, press ENTER..
saveDataType= 2
dataSaveAddress= ce4
set saveDatatype= 2
Paused: to continue, press ENTER..
saveDataType= 2
reset DataSaveAddress
Paused: to continue, press ENTER..
dataSaveAddress= 10
update configuration- this will take about a minute
Paused: to continue, press ENTER..
Paused: to continue, press ENTER..
get configuration
Paused: to continue, press ENTER..
saveDataType= 2
get dataSaveAddress
dataSaveAddress= 10
get history
Paused: to continue, press ENTER..
6 12 b 24 55 aa 2 1b 15 14 14 19 1e 1b 1e 1d
1f 1d 19 21 1b 2b 1c 1e 1a 20 22 1d 55 aa 0 d
3 5 11 19 16 55 aa 2 ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
turn off GQ GMC
Paused: to continue, press ENTER..

$ # And gqgmc ends...


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