Compare commits

..

38 Commits

Author SHA1 Message Date
Egor Savkin 8f014d00e9 Add options to zotino, thermostat, sampler and pounder
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 13:00:57 +08:00
Egor Savkin 6e730c8dc1 Add edge counter for the options to TTL
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 93fe228134 Add HD68 cable options and fix first small cards options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin ec71ce6626 Leave opt-out option only to the first kasli
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin cc3f59226d Change ttl groups to banks and remove green leaf
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 0be78955c4 Slightly promote new functionality and consider mono_eem modes on sampler/urukul for suservo
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin ce49b3f1a3 Update shop bundle
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 6b21415bab Fix cards state being not updated on touchables
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin afb9a89691 Fix not-disappearing warnings and clocker clock slots
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 765cb74e97 Small duplication removal
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 29753993e1 Remove redundant notifications about connectors and AD9910
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 0713b45adc Integrate clock/slots configuration into the calculator
Also adjust sizes

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin e7e50f2dad Fixed initial display of empty options in the options summary
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 37afc88fa6 Still fixing the bug
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin e0c29a5945 Fix scroll issue and found another bug
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 6bfc21dc54 Add groups of options and some fixes for long lists of options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 635f6fb50f Add external data for use per every card. Apply it for TTL and Suservo
Signed-off-by: esavkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 83b57b8cca Fix tooltip showed out when options overlay was closed
Signed-off-by: esavkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin d561b237d0 Use tips on more cards
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin fc4e8cb08c Add tooltips with hints for the user
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin bf151ac89e Add icons to options titles
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 3a5fda1cb4 Remove MAC from options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin cf6b27ab06 Reposition summary popup relative to icon respective to window width, hide on scroll
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin be9317c9f5 Hide popups on clicking outside of them
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:42 +08:00
Egor Savkin 79bb2dfba2 Update bundle file
Add custom options to more cards

Minor design adjustments: add margin-left to icon and optimize the icon

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:39 +08:00
Egor Savkin e7f32173ea Add popover for cart summary with options data
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 281dcbb0b0 Make overlay appear on button click
And fix options absense for non-carrier cards

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin ee8b7e64de Make the design more compact
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 0c156cc841 Adjust styles
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 7d9048350f Fix add of useless options to JSON
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 939ebb8291 Add switchline compact design
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 1b0aecc7c8 Add switch and line
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 8ffc63daf3 Fix JSON shop load
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 670c3ebb8f Make it update state
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin de748b4c7d Add basic demo example
Kinda works, but buggy

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:20:26 +08:00
Egor Savkin 5d298b3325 Fix card at index 0 being not addable
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:15:12 +08:00
Egor Savkin fe26aa890d Update shuttler to have one mandatory EEM and clock source
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 11:38:00 +08:00
Sebastien Bourdeauducq 896946336b Shuttler precisions 2023-10-11 11:04:33 +08:00
4 changed files with 41 additions and 11 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because one or more lines are too long

View File

@ -2015,7 +2015,7 @@ class Shop extends React.PureComponent {
source.indexes.forEach((card_index, _) => {
dragged_items.push(itemsUnfoldedList[card_index]);
})
} else if (source.index) {
} else if (source.index >= 0) {
dragged_items.push(itemsUnfoldedList[source.index]);
}

View File

@ -670,6 +670,9 @@ const shop_data = {
'Channels can also be broken out to BNC or SMA using IDC-BNC, IDC-SMA or IDC-MCX cards.',
'DAC temperature can be stabilized using the Sinara 8451 Thermostat (sold separately).'
],
options: [
{type: "Switch", args: {title: "TEC chip", outvar: "tec_chip", tip: "Used for stabilizing temperature with Sinara 8451 Thermostat"}},
],
datasheet_file: '/docs/sinara-datasheets/5432.pdf',
datasheet_name: '5432 Zotino datasheet',
size: 'small',
@ -902,6 +905,21 @@ const shop_data = {
{type: "Switch", args: {title: "SUServo mode", outvar: "suservo"}},
null
]
},
{type: "Switch", args: {title: "Configure termination", outvar: "config_term"}},
{
"if": [
{"var": "config_term"},
{type: "Group", items: [
{type: "Switch", args: {title: "Termination #0", outvar: "term_0", tip: "Enable termination on channel #0"}},
{type: "Switch", args: {title: "Termination #1", outvar: "term_1", tip: "Enable termination on channel #1"}},
{type: "Switch", args: {title: "Termination #2", outvar: "term_2", tip: "Enable termination on channel #2"}},
{type: "Switch", args: {title: "Termination #3", outvar: "term_3", tip: "Enable termination on channel #3"}},
{type: "Switch", args: {title: "Termination #4", outvar: "term_4", tip: "Enable termination on channel #4"}},
{type: "Switch", args: {title: "Termination #5", outvar: "term_5", tip: "Enable termination on channel #5"}},
{type: "Switch", args: {title: "Termination #6", outvar: "term_6", tip: "Enable termination on channel #6"}},
{type: "Switch", args: {title: "Termination #7", outvar: "term_7", tip: "Enable termination on channel #7"}},
]}]
}
],
size: 'big',
@ -1107,6 +1125,9 @@ const shop_data = {
'Up to 16W (+4A 4V) from MAX1969 drivers.',
'100Base-T Ethernet with PoE.'
],
options: [
{type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}}
],
size: 'small',
type: null,
hp: 4,
@ -1124,12 +1145,12 @@ const shop_data = {
price: 8500,
image: '/shop/graphic-03_Shuttler.svg',
specs: [
'16-ch, 125 MSPS DAC in FMC form factor, with remote analog front end board.',
'High dc resolution (~18 bits) for trap electrode bias.',
'~15 MHz analog bandwidth.',
'16-ch, 125 MSPS DAC EEM with remote analog front end board.',
'High DC resolution (up to ~18 bits with sigma-delta modulation) for trap electrode bias.',
'~15MHz default analog bandwidth.',
'AD9117 DACs (14 bits @ 125 MSPS, <1 LSB DNL).',
'Differential analog output (+/-5 V differential) via COTS connector with shielded impedance-matched pairs (mini-SAS HD).',
'Included remote analog front-end (AFE) board converts differential signals on mini-SAS HD cables to single-ended, with additional gain/filtering as desired.',
'Differential analog output via mini-SAS HD with shielded impedance-matched pairs.',
'Included remote analog front-end (AFE) board converts differential signals to ±10V single-ended at the point of use, with additional gain and filtering.',
],
size: 'big',
type: null,
@ -1137,8 +1158,16 @@ const shop_data = {
nbrSlotMin: 0,
nbrSlotMax: 0,
nbrClockMax: 0,
slotOccupied: 0,
clockOccupied: 0,
slotOccupied: 1,
clockOccupied: 1,
rules: {
resources: {
type: 'shuttler',
icon: '/shop/icon-warning.svg',
name: 'Shuttler',
message: 'This card needs a card that provides a EEM connector (e.g. Kasli) at its left.',
},
}
},
'pounder': {
id: 'pounder',
@ -1153,7 +1182,8 @@ const shop_data = {
'AD9959 DDS (500MSPS, 10-bit).'
],
options: [
{type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}}
{type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}},
{type: "SwitchLine", args: {title: "Ext CLK", outvar: "ext_clk", fallback: {text: "125 MHz", checked: false}}}
],
size: 'big',
type: null,