Show/Hide Toolbars

Irinos Measurement System

Navigation: MscDll Reference Guide > Opcodes and parameters > Opcodes: Measurement

opcRS: Read static measurement values

Scroll Prev Top Next More

This opcode is used for reading all current (static) measurement values.

 

Overview


Opcode:              0x40

Name:                opcRS

Function:            Read static (measurement values)

Parameter type:        Binary

 

DLL-Function


The static measurement values can be readout continuously using the functions MSC_SetupStaticChannel and MSC_ReadStatic. This is the preferred way.

Alternatively they can be requested with MSC_WriteCommand.

 

Request data to the Irinos-System


None

 

Response data from the Irinos-System


Longword 0        Measurement value of measurement channel 1

Longword 1        Measurement value of measurement channel 2

Longword n        Measurement value of measurement channel n+1

 

Comments


The longword is a 32 Bit signed integer. All measurement values are transferred as longwords. This applies also for measurement channels with 8 or 16 bit resolution.

The measurement channels are selected via the active channel list (see opcWCA, opcWCL and opcACL). After startup the channel list contains all measurement channels.