AGG Software Forums
December 03, 2024, 10:13:15 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Online Help Center / Data loggers and plug-ins / Re: software registration on: June 26, 2014, 11:38:24 PM
I got it to work through email activation, but the Windows update seems to have lost my configuration files, but I am sure I have a backup somewhere.

J
2  Online Help Center / Data loggers and plug-ins / software registration on: June 26, 2014, 11:05:27 PM
I have used ASDL for many years on a laptop computer we run in the field.  Over the winter the computer was updated to Windows 7 (from XP).  Now ASDL tells me I need to register the software.  I have the license key but it is getting rejected because the computer is not connected to the internet to verify it. 

Is there a way to activate (reactivate in this case) ASDL on a computer without an internet connection?

Thanks
3  Online Help Center / Data loggers and plug-ins / Multiple configurations on: July 01, 2010, 09:22:21 PM
Ideally, I would like to set up multiple configurations which each use the same COM port.  Is this possible?  I see no way to rename the configuration.  I know I can write them as backup configuration files, but I'd like to see them all in the pop down menu as we can do with different physical ports.
4  Online Help Center / Data loggers and plug-ins / Which version do I need? on: July 01, 2010, 09:19:23 PM
I am ready to purchase the Advanced Serial Data logger but am unclear whether I need the Enterprise version or if I can get by with the Professional version.  The "compare versions" page on the website isn't very clear.  With the trial version I have used the scripting module and that appears to be covered by the professional version, but it looks like the expressions module (which I take as a trimmed down version of the scripting module) requires the enterprise version.

My configuration is set up to regularly send a query, parse the response, calculate (using the scrpting module) a result, and export that to another program via DDE.  I do not expect to do anything beyond that.  So will the professional version suffice?
5  Online Help Center / Data loggers and plug-ins / Re: Getting started with the scripting module on: June 25, 2010, 03:01:21 AM
Thanks.  That worked great.  Another question: My cosine conversion doesn't seem to give me the right numbers.  Your help file doesn't say whether the argument should be in radians or degrees and the expressions help file says that the cos function is the cosecant, rather than the cosine.  Could this be correct? 

By the time you get this, I may have figured it out by trial and error.  The program has worked flawlessly but the documentation is hardly useable.  If it hadn't been for the support here, I wouldn't be using this program.
6  Online Help Center / Data loggers and plug-ins / Re: Getting started with the scripting module on: June 24, 2010, 12:20:58 AM
Thanks.  I'll try that this afternoon.  I wouldn't have thought to use the Ord() function - just like I didn't expect to parse the original binary stream as a "string,"  which is what worked when using the expressions module and I've kept that.
7  Online Help Center / Data loggers and plug-ins / Re: Getting started with the scripting module on: June 23, 2010, 08:31:02 PM
They are declared.  They are both integers.  It is tough to get a copy of the script because my operating computer is out in the field and not connected to the internet.  I will be out for a couple of hours soon but basically my script is

var sname1:string = 'DATA'  //the string from the parser
var data:string;
var dist:array[141] of word;
var i: integer;

begin
  // get data as per sample
  data := PopVariable(sname1);  //question - do I need the redundancy of variables here?
  // try to create an integer array
  for i := 1 to 141 do
    dist := StrtoInt(Copy(data,2*i-1,2));

//continue calculating ...


8  Online Help Center / Data loggers and plug-ins / Re: Getting started with the scripting module on: June 23, 2010, 06:56:46 PM
As I understand it, when using scripting, the connection between the parser and the data export modules is the stack used by PushVariable and PopVariable.  Is that correct?

I have tried to get my data string into an integer array using

dist := StrToInt(Copy(data,2*i-1,2));

but I think this line is what is generating the error message 'is not a valid integer value' when the script runs.  This is the same error message I got when I was trying to parse directly into integers rather than using the string type in the parser.

I had also tried typecasting directly Copy(data,2*i-1,2):Integer; but got an error with that.
9  Online Help Center / Data loggers and plug-ins / Getting started with the scripting module on: June 23, 2010, 12:58:05 AM
From the parser, I generate a DATA string.  This string is really an array of two byte short integers.  In the expressions module, I can get the integer value correctly sent over DDE if I use the expression DATAi = WORDTOSTR(SUBSTR(DATA,2*i+1,2)).  However, I am not really interested in the individual data points but would like to calculate a result from the whole array and send that.  So I have tried using the scripting module.

I'm getting an error message (very vague - "There is an error in the script") when I try to run a script.  I have some experience with Pascal and C++ but not scripting versions.  There is little detail in the help file for the scripting module.  Is the argument for cos, for example, in degrees or radians?  In particular, how does one get a variable from the parser into the script.  I would like to turn DATA into word dist[141].  From there, I think I can calculate the RESULT value that I want.  Then can I send the result out via DDE just by calling the scripting variable as I did the expression variable?

10  Online Help Center / Data loggers and plug-ins / Re: Parsing a hex data stream on: June 22, 2010, 06:36:08 PM
Thanks.  For the most part, I have this working and purchased a license yesterday.  From the time stamps on this forum it looks like we are 10 time zones apart.  Considering that, the help from this forum has been all that I could hope for. 
11  Online Help Center / Data loggers and plug-ins / Re: Parsing a hex data stream on: June 21, 2010, 11:44:35 PM
Will the Expressions plugin work for arrays or do I need to use the scripting plugin?  Once I get the array, I will want to subtract a vector, mulitply it by a cosine of the index, and sum over the array.  It seems like it might be best to go directly to the scripting plugin if I will be needing it later.
12  Online Help Center / Data loggers and plug-ins / Parsing a hex data stream on: June 18, 2010, 10:48:38 PM
I receive a data stream in binary that I am trying to parse.  I have parsed the data as a word (unsigned integer).  The parser apparently finds the correct portion of the data but when exporting via DDE, I get the message "'+' is not a valid integer" for the hex word 2B 07.  Since 2B is the ASCII for +, I assume this is doing something correctly.  Why doesn't the word data type accept two bytes?  And why does it try to make it an ASCII character rather than an integer?  The data is also in little endian format.  Can this program read that correctly?  I find no option for setting this parameter.
13  Online Help Center / Data loggers and plug-ins / Re: Having trouble evaluating on: June 18, 2010, 07:31:09 PM
The filereq plugin did not initially install.  It is installed now but doesn't seem to work.  I selected a file - mean32.hex - and then in the status line it reported that it was sending a different file - testfile1.txt - which was a data file rather than a command file.  So it didn't communicate.  I don't need to use this though and the ASCII query works well.  In fact it looks like the best way to send commands is to create a set of configurations for the different commands. 

It is now communicating and receiving data.  My data has some header bytes and then a vector of words in little endian format.  In the parser, I don't see a way to define a vector variable and there also doesn't appear to be any way to select which bytes are most significant. 
14  Online Help Center / Data loggers and plug-ins / Re: Having trouble evaluating on: June 17, 2010, 06:29:34 PM
Thanks for the feedback.  I did download and install the filereq plugin but there does not seem to be anywhere in the Request options dialog to put in a file name.  I'll try it today using the ASCII command - the commands I am interested in using are short enough that that shouldn't be a problem.  It looks like I can clone this configuration and create one for each command. 

My data is a series of hex codes, then little endian short integer vectors, an instrument status byte, and a checksum.  The data packet is always the same length so I think I should have several options for parsing it.



15  Online Help Center / Data loggers and plug-ins / Having trouble evaluating on: June 17, 2010, 01:50:11 AM
The first paragraph on the website made it seem like this was exactly the program I was looking for, but I can't seem to get the program to do anything I want.  I can't figure out how to send a file.  Here is what I need to do:

send a series of hex data to a device over an RS232 port (I currently do this by sending files from a data teminal program)
read the response (also in hex - I do this with the same data terminal program)
---now I have to stop and save the output to disk but I'd rather be able to do the following automatically)
parse the response (I do this now with an editor, that parses it into a data structure, and saves it again)
calculate some basic math - sums and averages of vectors
export the result via DDE to another program.

My current software does not like hex, so I am shopping for something that can do this.  Any advice on whether this can be done and if so how do I start with sending a file (or a general hex message - it's always under 100 bytes - over my configured port? 
Pages: [1]
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines