News:

Welcome on our forum!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Rodger

#1
Fixed it here too.

Under the DDE settings tab the Number format was selected and set at 990.00, this was translating to the DDE number output for the Expression.
#2
OK

I've now got the expression appearing in the DDE  :), I had to stop and start the logger before the changes worked.

VAR1=HEXSTRTODEC(PDRDATA)

works fine.

However,

VAR1=HEXSTRTODEC(PDRDATA)/1000

VAR1=(HEXSTRTODEC(PDRDATA))/1000

don't work.

#3
I've updated the logger as suggested, checked I'm on the latest version of the plugin and it still doesn't work.
#4
I found the function, thanks.  However I can't get the variable I declare in the expression plugin to show in the DDE output.  I've tried different expressions and none show up so I must be doing something fundamentally wrong.

I've attached a jpg showing how I've configured all the relevant screens. I hope you can help.

#5
Hello

I'm using Advanced Serail data Logger and I'm parsing my data so I get a 5 digit ascii string in hex format:

03C4A6
03BC40
03E094
03F462
040952
03FBB0
03CC9E
039648
0357A0
033B44
032514

I would like to convert this to a decimal no. and then divide by 1000.  I've tried the Expression plugin but can't see any functions that would do hex to dec part of  this.  I've tried various of the conversion functions but they talk about arrays and my data  is a string not an array.  Is it possible to do this within the logger and if so a solution would be much appreciated.

Thankyou.