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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

izrunas

USA
3 Posts

Posted - 03/11/2014 :  08:51:50  Show Profile  Reply with Quote
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?!?!?
Reply #1

ZLM

1261 Posts

Posted - 03/11/2014 :  22:12:21  Show Profile  Reply with Quote
The date and time data must in hexadecimal value.

Use latest Data Viewer software menu Terminal to see what is exact parameters are needed.
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.08 sec. Snitz's Forums 2000