Skip to content

Commit de3862c

Browse files
committed
add configuration with not existing interface
1 parent 9900505 commit de3862c

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-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 not existing interface",
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",
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,29 @@
1+
{
2+
"name": "Simulator multimeter not existing interface",
3+
"info": "This instrument does not work properly because the interface does not exist",
4+
"interface": {
5+
"type": "Not existing interface",
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+
"channels": [
18+
{
19+
"name": "Get DC voltage",
20+
"type": "input",
21+
"command_list": [
22+
{
23+
"command": "VDC?\n",
24+
"response": "VDC={float}V\n"
25+
}
26+
]
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)