The name of a virtual channel or terminal where there is an analog signal to use as the source of the trigger. For E Series devices, if you use a channel name, the channel must be the only channel in the task. The only terminal you can use for E Series devices is PFI
(self)
| 1361 | |
| 1362 | @Feat() |
| 1363 | def pause_trigger_source(self): |
| 1364 | """The name of a virtual channel or terminal where |
| 1365 | there is an analog signal to use as the source of the trigger. |
| 1366 | |
| 1367 | For E Series devices, if you use a channel name, the channel |
| 1368 | must be the only channel in the task. The only terminal you |
| 1369 | can use for E Series devices is PFI0. |
| 1370 | """ |
| 1371 | |
| 1372 | type = self.pause_trigger_type |
| 1373 | if type == 'digital_level': |
| 1374 | fun = self.lib.GetDigLvlPauseTrigSrc |
| 1375 | elif type == 'analog_level': |
| 1376 | fun = self.lib.GetAnlgLvlPauseTrigSrc |
| 1377 | elif type == 'analog_window': |
| 1378 | fun = self.lib.GetAnlgWinPauseTrigSrc |
| 1379 | else: |
| 1380 | raise InstrumentError('Pause trigger type is not specified') |
| 1381 | |
| 1382 | err, value = fun(*RetStr(default_buf_size)) |
| 1383 | return value |
| 1384 | |
| 1385 | @pause_trigger_source.setter |
| 1386 | def pause_trigger_source(self, source): |
nothing calls this directly
no test coverage detected