Skip to content

Commit 4630a84

Browse files
committed
add configuration with failing instrument setup
1 parent f0b27fd commit 4630a84

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"general": {
3+
"sample_time": 2,
4+
"end_time": 15,
5+
"continuous_mode": false
6+
},
7+
"instruments": [
8+
{
9+
"id": "a43cce1c-c4cd-4dbb-b2fd-1a7f9e1ba499",
10+
"name": "Multimeter",
11+
"settings": {
12+
"instrument_name": "Simulator multimeter failed initialize",
13+
"instrument_settings": {
14+
"ip_address": "localhost",
15+
"ip_port": "17000",
16+
"rx_timeout": "0.2"
17+
}
18+
}
19+
}
20+
],
21+
"measurements": [
22+
{
23+
"name": "Volt delayed",
24+
"settings": {
25+
"instrument_id": "a43cce1c-c4cd-4dbb-b2fd-1a7f9e1ba499",
26+
"measurement": "Get DC voltage",
27+
"gain": 1.0,
28+
"offset": 0.0
29+
}
30+
}
31+
],
32+
"process_steps": []
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "Simulator multimeter failed initialize",
3+
"info": "This instrument does not work properly because of a failing initialize",
4+
"interface": {
5+
"type": "Ethernet UDP",
6+
"settings": {
7+
"ip_address": "localhost",
8+
"ip_port": 17000,
9+
"rx_timeout": 0.2
10+
}
11+
},
12+
"initialize": [
13+
{
14+
"command": "instrument_delay:0.5"
15+
},
16+
{
17+
"command": "unknown_command\n"
18+
}
19+
],
20+
"channels": [
21+
{
22+
"name": "Get DC voltage",
23+
"type": "input",
24+
"command_list": [
25+
{
26+
"command": "VDC?\n",
27+
"response": "VDC={float}V\n"
28+
}
29+
]
30+
}
31+
]
32+
}

0 commit comments

Comments
 (0)