RadiaLog
- ThibmoRozier
-
Topic Author
- Offline
- Elite Member
-
8 years 6 months ago #1778
by ThibmoRozier
Replied by ThibmoRozier on topic RadiaLog
Right now it only supports either MyGeiger serial and audio. Other implementations will follow soon
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
- ThibmoRozier
-
Topic Author
- Offline
- Elite Member
-
8 years 6 months ago #1785
by ThibmoRozier
Replied by ThibmoRozier on topic RadiaLog
Will implement GMC soon. ![:) :)](/media/kunena/emoticons/smile.png)
IRC the GMC-200 sends serial com via the audio lead no? (But then the module translates it to USB serial)
![:) :)](/media/kunena/emoticons/smile.png)
IRC the GMC-200 sends serial com via the audio lead no? (But then the module translates it to USB serial)
Please Log in or Create an account to join the conversation.
- ThibmoRozier
-
Topic Author
- Offline
- Elite Member
-
8 years 6 months ago #1789
by ThibmoRozier
Replied by ThibmoRozier on topic RadiaLog
OK nice. ![:P :P](/media/kunena/emoticons/tongue.png)
I wonder if Android could handle that properly (The audio cable) as it'd require custom handeling..
But IRC all GMC devices work in the same way eg: <GETCPM>>
So I'd need to do something like:And then edit the trigger to be like:
Or something along those lines.
![:P :P](/media/kunena/emoticons/tongue.png)
I wonder if Android could handle that properly (The audio cable) as it'd require custom handeling..
But IRC all GMC devices work in the same way eg: <GETCPM>>
So I'd need to do something like:
if (fTicks mod 300 = 0) and fGMCMode then
begin
cComPort.Output := '<GETCPM>>';
end;
procedure TmainForm.triggerAvail(CP: TObject; Count: Word);
var
I, curCPM: Integer;
Character: AnsiChar;
dateTime: string;
dataBlock: array [0..1023] of Byte;
begin
if fGMCMode then
begin
cComPort.GetBlock(dataBlock, 1024);
if Length(dataBlock) >= 2 then
begin
# Convert bytes to 16 bit int
curCPM = (Ord(dataBlock[0]) * 256) + Ord(dataBlock[1]);
dateTime := FormatDateTime('DD-MM-YYYY HH:MM:SS', Now);
cCPMEdit.Lines.Add(dateTime);
cCPMEdit.Lines.Add(#9 + 'curCPM: ' + IntToStr(curCPM) + sLineBreak);
if fUploadRM then
fCPMList.Add(curCPM);
updatePlot(curCPM);
updateCPMBar(curCPM);
updateDosiLbl(curCPM);
end;
end else
begin
if fTimeToWait = -1 then
fTimeToWait := 1;
for I := 1 to Count do
begin
Character := cComPort.GetChar;
if Character = #7 then // COM port asks for system to "bell"
MessageBeep(0)
else
if Character in [#32..#126] then // Only accept alpha-numeric Ansi values
fBuffer := fBuffer + Character;
end;
end;
end;
Or something along those lines.
![:D :D](/media/kunena/emoticons/laughing.png)
Please Log in or Create an account to join the conversation.
- ThibmoRozier
-
Topic Author
- Offline
- Elite Member
-
8 years 4 months ago - 8 years 4 months ago #1898
by ThibmoRozier
Replied by ThibmoRozier on topic RadiaLog
After some time a news update:
I am working on making everything a lot more readable by splitting every major component up into it's own class within a dedicated unit.
Threads will also be implemented to keep everything running smoothly.
I am working on switching from AudioLab (A lib that nags about licenses whilst it's slow and bulky) to OpenAL (Yes, it does have audio recording, though it's way more low-level, using buffers rather then objects).
Meanwhile I am also implementing GMC and NetIO.
Maybe later on I can look at more.![:) :)](/media/kunena/emoticons/smile.png)
This will take some time due to time constraints caused by work.
I am working on making everything a lot more readable by splitting every major component up into it's own class within a dedicated unit.
Threads will also be implemented to keep everything running smoothly.
I am working on switching from AudioLab (A lib that nags about licenses whilst it's slow and bulky) to OpenAL (Yes, it does have audio recording, though it's way more low-level, using buffers rather then objects).
Meanwhile I am also implementing GMC and NetIO.
Maybe later on I can look at more.
![:) :)](/media/kunena/emoticons/smile.png)
This will take some time due to time constraints caused by work.
Last edit: 8 years 4 months ago by ThibmoRozier.
The following user(s) said Thank You: mw0uzo
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
Time to create page: 0.203 seconds