DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ATR Format Definition (4 byte real)

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

 

0 Kudos
Message 1 of 7
(4,927 Views)

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

 

0 Kudos
Message 2 of 7
(4,907 Views)

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

0 Kudos
Message 3 of 7
(4,905 Views)

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

 

0 Kudos
Message 4 of 7
(4,899 Views)

Thanks so far RainerH,

 

do you know if there are some examples available besides these that are in the pdf manual?

 

 diademi

0 Kudos
Message 5 of 7
(4,855 Views)

In the pdf manual is a hole chapter about a software device simulator. Does anybody know where to find this application?

 

Thanks

diademi

0 Kudos
Message 6 of 7
(4,850 Views)

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

 

0 Kudos
Message 7 of 7
(4,832 Views)