I7000.dll for windows 95/nt, Short_sub_2, Float_sub_2 – Measurement Computing CB-NAP-7000P User Manual

Page 15

Advertising
background image

11

5 I7000.DLL for Windows 95/NT

The I7000.DLL provides a wide variety of high level calls. These are described in the following sections. For specific
information regarding call usage, please refer to one of the many demo programs.

5.1 Short_Sub_2


z Description:

Compute C=A-B in short format, short=16 bits sign integer. This function is provided for testing purpose. To test

this DLLs can be called by your programming language, call this subroutine for testing. If this subroutine return the correct
value, the other DLLs will work OK also.
z Syntax:

short Short_Sub_2(short nA, short nB);

z Input Parameter:

nA : short integer
nB : short integer

z Return Value:

return=nA-nB :short integer


5.2 Float_Sub_2


z Description:

Compute C=A-B in float format, float=32 bits floating pointer number. This function is prov ided for testing

purpose. To test this DLLs can be called by your programming language, call this subroutine for testing. If this subroutine
return the correct value, the other DLLs will work OK also.
z Syntax:

float Float_Sub_2(float fA, float fB);

z Input Parameter:

fA : floating point value
fB : floating point value

z Return Value:

return=fA-fB :floating point value

Advertising