EasyManua.ls Logo

Vishay 7000 - Data; Getstaticadcreading Method; Getlastdatafileinformation Method

Vishay 7000
142 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 88 of 142
6.5.5 Data
6.5.5.1 GetStaticADCReading Method
Syntax:
HRESULT _stdcall GetStaticADCReading(in long CardNo, in long ChannelNo, out retval long
* result );
Description:
Returns a value (in reduced counts) from an averaged, filtered read of the A/D Converter.
Arguments:
CardNo The card number (1-16)
ChannelNo The channel number (1-8)
Returns:
The reading in reduced ADC (analog-to-digital converter) counts.
Notes:
Data is filtered using a lowpass filter.
This method does not return a Success/Error status. Use the LastErrorCode property to check if
an error occurred during the method.
6.5.5.2 GetLastDataFileInformation Method
Syntax:
HRESULT _stdcall GetLastDataFileInformation(in long CardNo, out retval BSTR * result );
Description:
Retrieves information from the last data file that was recorded on the card.
Arguments:
CardNo The card number (1-16)
Returns:
If successful, a string containing the last file information
File Name[CR] (in 8.3 format)
File Size in bytes[CR] (integer, 32-bit value),
Number of scans recorded[CR] (integer, 40-bit value,
Scanning Start Time MM/DD/YYYY HH:MM:SS

Table of Contents