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
 Setting Time via Python

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
izrunas Posted - 03/11/2014 : 08:51:50
Hi,

I would like to auto update the time on my detector via a Python script, but I am

self.sendCommand("<SETDATETIME[" + time.strftime("%y%m%d%H%M%S") + "]>>")


When I test my string by using it as a print command, it does output what I want... time when I ran this test was: 12:29:19 on March 11, 2014...

self.sendCommand("<SETDATETIME[140311122919]>>")


But when I checked on my GMC-320 Plus does not update correctly. It changed the year to 2092!

Help?!?!?
1   L A T E S T    R E P L I E S    (Newest First)
ZLM Posted - 03/11/2014 : 22:12:21
The date and time data must in hexadecimal value.

Use latest Data Viewer software menu Terminal to see what is exact parameters are needed.

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