File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/nidaqmx/nidaqmx_analog_input_filtering Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 338338 )
339339 if trigger_type == "2" :
340340 with st .container (border = True ):
341- st .selectbox ("Source->" , " /Dev1/PFI0" )
341+ st .selectbox ("Source->" , options = panel . get_value ( "trigger_sources" , [ "" ]) )
342342 enum_selectbox (
343343 panel ,
344344 label = "Edge" ,
348348 )
349349 if trigger_type == "3" :
350350 with st .container (border = True ):
351- st .selectbox ("Source-" , "/Dev1/PFI0" )
351+ st .selectbox ("Source-" , options = panel . get_value ( "trigger_sources" , [ "" ]) )
352352 st .selectbox ("PauseWhen" , options = ["High" , "Low" ])
353353 if trigger_type == "4" :
354354 with st .container (border = True ):
357357 )
358358 if trigger_type == "5" :
359359 with st .container (border = True ):
360- st .selectbox ("Source:" , "APFI0" )
360+ st .text_input ("Source:" , "APFI0" )
361361 enum_selectbox (
362362 panel ,
363363 label = "Slope" ,
375375
376376 if trigger_type == "6" :
377377 with st .container (border = True ):
378- st .selectbox ("source:" , "APFI0" )
378+ st .text_input ("source:" , "APFI0" )
379379 st .selectbox ("Pause When" , options = ["Above Level" , "Below level" ])
380380 st .number_input ("level" , value = 0.0 )
381381 if trigger_type == "7" :
You can’t perform that action at this time.
0 commit comments