mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Merge branch 'node-uldaq' of git.rwth-aachen.de:acs/public/villas/VILLASnode into node-uldaq
This commit is contained in:
commit
6d52a3789a
1 changed files with 42 additions and 42 deletions
|
@ -32,48 +32,48 @@ static const struct {
|
|||
const char *name,
|
||||
Range range
|
||||
} ranges[] {
|
||||
{ "bip60", BIP60VOLTS }, // -60 to +60 Volts
|
||||
{ "bip30", BIP30VOLTS }, // -30 to +30 Volts
|
||||
{ "bip15", BIP15VOLTS }, // -15 to +15 Volts
|
||||
{ "bip20", BIP20VOLTS }, // -20 to +20 Volts
|
||||
{ "bip10", BIP10VOLTS }, // -10 to +10 Volts
|
||||
{ "bip5", BIP5VOLTS }, // -5 to +5 Volts
|
||||
{ "bip4", BIP4VOLTS }, // -4 to +4 Volts
|
||||
{ "bip2PT5", BIP2PT5VOLTS }, // -2.5 to +2.5 Volts
|
||||
{ "bip2", BIP2VOLTS }, // -2 to +2.0 Volts
|
||||
{ "bip1PT25", BIP1PT25VOLTS }, // -1.25 to +1.25 Volts
|
||||
{ "bip1", BIP1VOLTS }, // -1 to +1 Volts
|
||||
{ "bipPT625", BIPPT625VOLTS }, // -0.625 to +.625 Volts
|
||||
{ "bipPT5", BIPPT5VOLTS }, // -0.5 to +.5 Volts
|
||||
{ "bipPT25", BIPPT25VOLTS }, // -0.25 to +0.25 Volts
|
||||
{ "bipPT125", BIPPT125VOLTS }, // -0.125 to +0.125 Volts
|
||||
{ "bipPT2", BIPPT2VOLTS }, // -0.2 to +0.2 Volts
|
||||
{ "bipPT1", BIPPT1VOLTS }, // -0.1 to +.1 Volts
|
||||
{ "bipPT078", BIPPT078VOLTS }, // -0.078 to +0.078 Volts
|
||||
{ "bipPT05", BIPPT05VOLTS }, // -0.05 to +.05 Volts
|
||||
{ "bipPT01", BIPPT01VOLTS }, // -0.01 to +.01 Volts
|
||||
{ "bipPT005", BIPPT005VOLTS }, // -0.005 to +.005 Volts
|
||||
{ "uni60", UNI60VOLTS }, // 0.0 to +60 Volts
|
||||
{ "uni30", UNI30VOLTS }, // 0.0 to +30 Volts
|
||||
{ "uni15", UNI15VOLTS }, // 0.0 to +15 Volts
|
||||
{ "uni20", UNI20VOLTS }, // 0.0 to +20 Volts
|
||||
{ "uni10", UNI10VOLTS }, // 0.0 to +10 Volts
|
||||
{ "uni5", UNI5VOLTS }, // 0.0 to +5 Volts
|
||||
{ "uni4", UNI4VOLTS }, // 0.0 to +4 Volts
|
||||
{ "uni2PT5", UNI2PT5VOLTS }, // 0.0 to +2.5 Volts
|
||||
{ "uni2", UNI2VOLTS }, // 0.0 to +2.0 Volts
|
||||
{ "uni1PT25", UNI1PT25VOLTS }, // 0.0 to +1.25 Volts
|
||||
{ "uni1", UNI1VOLTS }, // 0.0 to +1 Volts
|
||||
{ "uniPT625", UNIPT625VOLTS }, // 0.0 to +.625 Volts
|
||||
{ "uniPT5", UNIPT5VOLTS }, // 0.0 to +.5 Volts
|
||||
{ "uniPT25", UNIPT25VOLTS }, // 0.0 to +0.25 Volts
|
||||
{ "uniPT125", UNIPT125VOLTS }, // 0.0 to +0.125 Volts
|
||||
{ "uniPT2", UNIPT2VOLTS }, // 0.0 to +0.2 Volts
|
||||
{ "uniPT1", UNIPT1VOLTS }, // 0.0 to +.1 Volts
|
||||
{ "uniPT078", UNIPT078VOLTS }, // 0.0 to +0.078 Volts
|
||||
{ "uniPT05", UNIPT05VOLTS }, // 0.0 to +.05 Volts
|
||||
{ "uniPT01", UNIPT01VOLTS }, // 0.0 to +.01 Volts
|
||||
{ "uniPT005", UNIPT005VOLTS } // 0.0 to +.005 Volts
|
||||
{ "bipolar-60", BIP60VOLTS }, // -60 to +60 Volts
|
||||
{ "bipolar-30", BIP30VOLTS }, // -30 to +30 Volts
|
||||
{ "bipolar-15", BIP15VOLTS }, // -15 to +15 Volts
|
||||
{ "bipolar-20", BIP20VOLTS }, // -20 to +20 Volts
|
||||
{ "bipolar-10", BIP10VOLTS }, // -10 to +10 Volts
|
||||
{ "bipolar-5", BIP5VOLTS }, // -5 to +5 Volts
|
||||
{ "bipolar-4", BIP4VOLTS }, // -4 to +4 Volts
|
||||
{ "bipolar-2.5", BIP2PT5VOLTS }, // -2.5 to +2.5 Volts
|
||||
{ "bipolar-2", BIP2VOLTS }, // -2 to +2.0 Volts
|
||||
{ "bipolar-1.25", BIP1PT25VOLTS }, // -1.25 to +1.25 Volts
|
||||
{ "bipolar-1", BIP1VOLTS }, // -1 to +1 Volts
|
||||
{ "bipolar-0.625", BIPPT625VOLTS }, // -0.625 to +.625 Volts
|
||||
{ "bipolar-0.5", BIPPT5VOLTS }, // -0.5 to +.5 Volts
|
||||
{ "bipolar-0.25", BIPPT25VOLTS }, // -0.25 to +0.25 Volts
|
||||
{ "bipolar-0.125", BIPPT125VOLTS }, // -0.125 to +0.125 Volts
|
||||
{ "bipolar-0.2", BIPPT2VOLTS }, // -0.2 to +0.2 Volts
|
||||
{ "bipolar-0.1", BIPPT1VOLTS }, // -0.1 to +.1 Volts
|
||||
{ "bipolar-0.078", BIPPT078VOLTS }, // -0.078 to +0.078 Volts
|
||||
{ "bipolar-0.05", BIPPT05VOLTS }, // -0.05 to +.05 Volts
|
||||
{ "bipolar-0.01", BIPPT01VOLTS }, // -0.01 to +.01 Volts
|
||||
{ "bipolar-0.005", BIPPT005VOLTS }, // -0.005 to +.005 Volts
|
||||
{ "unipolar-60", UNI60VOLTS }, // 0.0 to +60 Volts
|
||||
{ "unipolar-30", UNI30VOLTS }, // 0.0 to +30 Volts
|
||||
{ "unipolar-15", UNI15VOLTS }, // 0.0 to +15 Volts
|
||||
{ "unipolar-20", UNI20VOLTS }, // 0.0 to +20 Volts
|
||||
{ "unipolar-10", UNI10VOLTS }, // 0.0 to +10 Volts
|
||||
{ "unipolar-5", UNI5VOLTS }, // 0.0 to +5 Volts
|
||||
{ "unipolar-4", UNI4VOLTS }, // 0.0 to +4 Volts
|
||||
{ "unipolar-2.5", UNI2PT5VOLTS }, // 0.0 to +2.5 Volts
|
||||
{ "unipolar-2", UNI2VOLTS }, // 0.0 to +2.0 Volts
|
||||
{ "unipolar-1.25", UNI1PT25VOLTS }, // 0.0 to +1.25 Volts
|
||||
{ "unipolar-1", UNI1VOLTS }, // 0.0 to +1 Volts
|
||||
{ "unipolar-0.625", UNIPT625VOLTS }, // 0.0 to +.625 Volts
|
||||
{ "unipolar-0.5", UNIPT5VOLTS }, // 0.0 to +.5 Volts
|
||||
{ "unipolar-0.25", UNIPT25VOLTS }, // 0.0 to +0.25 Volts
|
||||
{ "unipolar-0.125", UNIPT125VOLTS }, // 0.0 to +0.125 Volts
|
||||
{ "unipolar-0.2", UNIPT2VOLTS }, // 0.0 to +0.2 Volts
|
||||
{ "unipolar-0.1", UNIPT1VOLTS }, // 0.0 to +.1 Volts
|
||||
{ "unipolar-0.078", UNIPT078VOLTS }, // 0.0 to +0.078 Volts
|
||||
{ "unipolar-0.05", UNIPT05VOLTS }, // 0.0 to +.05 Volts
|
||||
{ "unipolar-0.01", UNIPT01VOLTS }, // 0.0 to +.01 Volts
|
||||
{ "unipolar-0.005", UNIPT005VOLTS } // 0.0 to +.005 Volts
|
||||
};
|
||||
|
||||
static Range uldaq_parse_range(const char *str)
|
||||
|
|
Loading…
Add table
Reference in a new issue