01-21-2010 08:32 AM
Is it possible to define a 4byte real in the read command? I tried %4BNR but i get a syntax error for that.
...
READ COM1 "4BNR"
...
Thanks
diademi
01-22-2010 02:28 AM
Hello diademi,
I am sorry to tell you, that the 4 byte real format is not supported by the "ATR" driver in DIAdem. The driver only supports 6 or 8 byte real format.
Rainer
01-22-2010 02:49 AM
Can i define a custom data format or decrypt somwhere else?
Is that possible with the script-dac-driver? How would the read procedure or the defintion look like?
Thanks
01-22-2010 03:04 AM
Hello diademi,
I'm quite sure that the 4 byte real format is not supported by the script-dac-driver either but you may give it a try. If it is not supported, you may read it as a 4 byte integer and split this value into its mantissa and exponent part. With these two values you should be able to calculate the 'four byte real' value with VBS.
Rainer
01-26-2010 08:52 AM
Thanks so far RainerH,
do you know if there are some examples available besides these that are in the pdf manual?
diademi
01-26-2010 09:29 AM
In the pdf manual is a hole chapter about a software device simulator. Does anybody know where to find this application?
Thanks
diademi
01-27-2010 02:42 AM
Hello diademi,
I found the simulator as an additional tool on the DIAdem 8.1 distritbution. I have attached it to this post. I hope it will help you.
Greetings
Rainer