giiQueryValInfo(3) GGI giiQueryValInfo(3)NAME
giiQueryValInfo - Get data about valuators
SYNOPSIS
#include <ggi/gii.h>
int giiQueryValInfo(gii_input_t inp, uint32_t origin,
uint32_t valnumber, gii_cmddata_getvalinfo *info);
DESCRIPTION
Though when using GII inputs the exact type of device is fully transparent to the program, information about the device that is actually
attached to a given gii input and origin id can be queried, e.g. for configuration interfaces.
For giiQueryValInfo is used on devices, where giiQueryDeviceInfo(3) has indicated that the device has one or more valuator axes and you
want to gather additional info about the physical equivalent of each axis.The parameters inp and origin select the input to query and val-
number selects the specific valuator (an input can have multiple valuators).
The queried data is put into info. See gii_cmddata_getvalinfo(3) for the description of the structure.
RETURN VALUE
Returns 0 on success (info is valid, then) or -1 otherwise.
SEE ALSO giiQueryDeviceInfo(3)libgii-1.0.x 2006-12-30 giiQueryValInfo(3)
Check Out this Related Man Page
giiQueryDeviceInfo(3) GGI giiQueryDeviceInfo(3)NAME
giiQueryDeviceInfo, giiQueryDeviceInfoByNumber - Get information about input sources
SYNOPSIS
#include <ggi/gii.h>`
int giiQueryDeviceInfo (gii_input_t inp, uint32_t origin,
gii_cmddata_getdevinfo *info);
int giiQueryDeviceInfoByNumber(gii_input_t inp, uint32_t number,
uint32_t *origin, gii_cmddata_getdevinfo *info);
DESCRIPTION
Though when using GII inputs the exact type of device is fully transparent to the program, information about the device that is actually
attached to a given gii input and origin id can be queried, e.g. for configuration interfaces.
For giiQueryDeviceInfo the parameters inp and origin select the input to query. This version is usually used, if you want to identify a
device after getting an event from it.
For giiQueryDeviceInfoByNumber the parameters inp and number select the input to query - origin gets set to the origin ID the queried
device has. This version is used, when you want to query all known devices.
The queried data is put into info. See gii_cmddata_getdevinfo(3) for the description of the structure.
RETURN VALUE
Returns 0 on success (info is valid, then) or -1 otherwise.
SEE ALSO giiQueryValInfo(3)libgii-1.0.x 2006-12-30 giiQueryDeviceInfo(3)
I'm so new to sys admin work that my ears haven't dried yet.
Here's my question:
what scripts are available to gather pkginfo, prtdiag, and volume info?
I need to gather this type of info from 18 servers of various types:
oracle db servers, license servers, nis masters and slaves, etc.... (2 Replies)
I found this in my messages file..what is this a sign of...can anyone explain? Where should I look for more info?
pseudo-device: lockstat0
Jul 10 09:13:13 svr1 genunix: lockstat0 is /pseudo/lockstat@0 (0 Replies)
hi,
my input file is containg uid, eriMaster ,eriResign, ericontry, dept.
some of the uid are not having all info.
out put should include all info irrespctive of datas of input file
if any one data is missing, then it has to print Null or zero..then continue with the existing one.
here... (0 Replies)
hey,
I have more a structural problem. I have two input files:
1.inp:
1 2 3 a b c
2 3 4 d f g
and the 2.inp
6 6 6
7 7 7
8 8 8
The goal is to get as much output files (with a name 1_2_3.dat) as lines in 1.inp are like this:
6 6 6 a
7 7 7 b
8 8 8 c (5 Replies)
Hi,
I have a small problem with my script. I have everything in order but it doesnt seem to compare anything less than 1 correctly. If the input is more than 1, then the results is correct.
If the input is 0.xxx (anything) it returns erroneous results. Pls help
input=0.12
if ; then
... (7 Replies)