|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | -# This file is generated from NI-TClk API metadata version 23.0.0d7 |
| 2 | +# This file is generated from NI-TClk API metadata version 23.3.0f84 |
3 | 3 | functions = { |
4 | 4 | 'ConfigureForHomogeneousTriggers': { |
5 | 5 | 'documentation': { |
6 | 6 | 'description': '\nConfigures the attributes commonly required for the TClk synchronization\nof device sessions with homogeneous triggers in a single PXI chassis or\na single PC. Use niTClk_ConfigureForHomogeneousTriggers to configure\nthe attributes for the reference clocks, start triggers, reference\ntriggers, script triggers, and pause triggers. If\nniTClk_ConfigureForHomogeneousTriggers cannot perform all the steps\nappropriate for the given sessions, it returns an error. If an error is\nreturned, use the instrument driver functions and attributes for signal\nrouting, along with the following NI-TClk attributes:\nNITCLK_ATTR_START_TRIGGER_MASTER_SESSION\nNITCLK_ATTR_REF_TRIGGER_MASTER_SESSION\nNITCLK_ATTR_PAUSE_TRIGGER_MASTER_SESSION\nniTClk_ConfigureForHomogeneousTriggers affects the following clocks and\ntriggers: - Reference clocks - Start triggers - Reference triggers -\nScript triggers - Pause triggers Reference Clocks\nniTClk_ConfigureForHomogeneousTriggers configures the reference clocks\nif they are needed. Specifically, if the internal sample clocks or\ninternal sample clock timebases are used, and the reference clock source\nis not configured--or is set to None (no trigger\nconfigured)--niTClk_ConfigureForHomogeneousTriggers configures the\nfollowing: PXI--The reference clock source on all devices is set to be\nthe 10 MHz PXI backplane clock (PXI_CLK10). PCI--One of the devices\nexports its 10 MHz onboard reference clock to RTSI 7. The reference\nclock source on all devices is set to be RTSI 7. Note: If the reference\nclock source is set to a value other than None,\nniTClk_ConfigureForHomogeneousTriggers cannot configure the reference\nclock source. Start Triggers If the start trigger is set to None (no\ntrigger configured) for all sessions, the sessions are configured to\nshare the start trigger. The start trigger is shared by: - Implicitly\nexporting the start trigger from one session - Configuring the other\nsessions for digital edge start triggers with sources corresponding to\nthe exported start trigger - Setting\nNITCLK_ATTR_START_TRIGGER_MASTER_SESSION to the session that is\nexporting the trigger for all sessions If the start triggers are None\nfor all except one session, niTClk_ConfigureForHomogeneousTriggers\nconfigures the sessions to share the start trigger from the one excepted\nsession. The start trigger is shared by: - Implicitly exporting start\ntrigger from the session with the start trigger that is not None -\nConfiguring the other sessions for digital-edge start triggers with\nsources corresponding to the exported start trigger - Setting\nNITCLK_ATTR_START_TRIGGER_MASTER_SESSION to the session that is\nexporting the trigger for all sessions If start triggers are configured\nfor all sessions, niTClk_ConfigureForHomogeneousTriggers does not\naffect the start triggers. Start triggers are considered to be\nconfigured for all sessions if either of the following conditions is\ntrue: - No session has a start trigger that is None - One session has a\nstart trigger that is None, and all other sessions have start triggers\nother than None. The one session with the None trigger must have\nNITCLK_ATTR_START_TRIGGER_MASTER_SESSION set to itself, indicating\nthat the session itself is the start trigger master Reference Triggers\nniTClk_ConfigureForHomogeneousTriggers configures sessions that support\nreference triggers to share the reference triggers if the reference\ntriggers are None (no trigger configured) for all except one session.\nThe reference triggers are shared by: - Implicitly exporting the\nreference trigger from the session whose reference trigger is not None -\nConfiguring the other sessions that support the reference trigger for\ndigital-edge reference triggers with sources corresponding to the\nexported reference trigger - Setting\nNITCLK_ATTR_REF_TRIGGER_MASTER_SESSION to the session that is\nexporting the trigger for all sessions that support reference trigger If\nthe reference triggers are configured for all sessions that support\nreference triggers, niTClk_ConfigureForHomogeneousTriggers does not\naffect the reference triggers. Reference triggers are considered to be\nconfigured for all sessions if either one or the other of the following\nconditions is true: - No session has a reference trigger that is None -\nOne session has a reference trigger that is None, and all other sessions\nhave reference triggers other than None. The one session with the None\ntrigger must have NITCLK_ATTR_REF_TRIGGER_MASTER_SESSION set to\nitself, indicating that the session itself is the reference trigger\nmaster Reference Trigger Holdoffs Acquisition sessions may be configured\nwith the reference trigger. For acquisition sessions, when the reference\ntrigger is shared, niTClk_ConfigureForHomogeneousTriggers configures\nthe holdoff attributes (which are instrument driver specific) on the\nreference trigger master session so that the session does not recognize\nthe reference trigger before the other sessions are ready. This\ncondition is only relevant when the sample clock rates, sample clock\ntimebase rates, sample counts, holdoffs, and/or any delays for the\nacquisitions are different. When the sample clock rates, sample clock\ntimebase rates, and/or the sample counts are different in acquisition\nsessions sharing the reference trigger, you should also set the holdoff\nattributes for the reference trigger master using the instrument driver.\nPause Triggers\nniTClk_ConfigureForHomogeneousTriggers configures generation sessions\nthat support pause triggers to share them, if the pause triggers are\nNone (no trigger configured) for all except one session. The pause\ntriggers are shared by: - Implicitly exporting the pause trigger from\nthe session whose script trigger is not None - Configuring the other\nsessions that support the pause trigger for digital-edge pause triggers\nwith sources corresponding to the exported pause trigger - Setting\nNITCLK_ATTR_PAUSE_TRIGGER_MASTER_SESSION to the session that is\nexporting the trigger for all sessions that support script triggers If\nthe pause triggers are configured for all generation sessions that\nsupport pause triggers, niTClk_ConfigureForHomogeneousTriggers does not\naffect pause triggers. Pause triggers are considered to be configured\nfor all sessions if either one or the other of the following conditions\nis true: - No session has a pause trigger that is None - One session has\na pause trigger that is None and all other sessions have pause triggers\nother than None. The one session with the None trigger must have\nNITCLK_ATTR_PAUSE_TRIGGER_MASTER_SESSION set to itself, indicating\nthat the session itself is the pause trigger master Note: TClk\nsynchronization is not supported for pause triggers on acquisition\nsessions.\n' |
7 | 7 | }, |
| 8 | + 'included_in_proto': True, |
8 | 9 | 'parameters': [ |
9 | 10 | { |
10 | 11 | 'direction': 'in', |
|
36 | 37 | 'documentation': { |
37 | 38 | 'description': 'Finishes synchronizing the Sync Pulse Sender.' |
38 | 39 | }, |
| 40 | + 'included_in_proto': True, |
39 | 41 | 'parameters': [ |
40 | 42 | { |
41 | 43 | 'direction': 'in', |
|
79 | 81 | 'documentation': { |
80 | 82 | 'description': 'Gets the value of an NI-TClk ViReal64 attribute.' |
81 | 83 | }, |
| 84 | + 'included_in_proto': True, |
82 | 85 | 'parameters': [ |
83 | 86 | { |
84 | 87 | 'direction': 'in', |
|
120 | 123 | 'documentation': { |
121 | 124 | 'description': 'Gets the value of an NI-TClk ViSession attribute.' |
122 | 125 | }, |
| 126 | + 'included_in_proto': True, |
123 | 127 | 'parameters': [ |
124 | 128 | { |
125 | 129 | 'direction': 'in', |
|
162 | 166 | 'documentation': { |
163 | 167 | 'description': '\nThis function queries the value of an NI-TClk ViString attribute. You\nmust provide a ViChar array to serve as a buffer for the value. You pass\nthe number of bytes in the buffer as bufSize. If the current value of\nthe attribute, including the terminating NULL byte, is larger than the\nsize you indicate in bufSize, the function copies bufSize minus 1 bytes\ninto the buffer, places an ASCII NULL byte at the end of the buffer, and\nreturns the array size that you must pass to get the entire value. For\nexample, if the value is "123456" and bufSize is 4, the function places\n"123" into the buffer and returns 7. If you want to call\nniTClk_GetAttributeViString just to get the required array size, pass 0\nfor bufSize and VI_NULL for the value.\n' |
164 | 168 | }, |
| 169 | + 'included_in_proto': True, |
165 | 170 | 'parameters': [ |
166 | 171 | { |
167 | 172 | 'direction': 'in', |
|
215 | 220 | 'documentation': { |
216 | 221 | 'description': '\nReports extended error information for the most recent NI-TClk function\nthat returned an error. To establish the function that returned an\nerror, use the return values of the individual functions because once\nniTClk_GetExtendedErrorInfo reports an errorString, it does not report\nan empty string again.\n' |
217 | 222 | }, |
| 223 | + 'included_in_proto': True, |
218 | 224 | 'is_error_handling': True, |
219 | 225 | 'method_templates': [ |
220 | 226 | { |
|
252 | 258 | 'documentation': { |
253 | 259 | 'description': '\nInitiates the acquisition or generation sessions specified, taking into\nconsideration any special requirements needed for synchronization. For\nexample, the session exporting the TClk-synchronized start trigger is\nnot initiated until after niTClk_Initiate initiates all the sessions\nthat import the TClk-synchronized start trigger.\n' |
254 | 260 | }, |
| 261 | + 'included_in_proto': True, |
255 | 262 | 'parameters': [ |
256 | 263 | { |
257 | 264 | 'direction': 'in', |
|
283 | 290 | 'documentation': { |
284 | 291 | 'description': '\nMonitors the progress of the acquisitions and/or generations\ncorresponding to sessions.\n' |
285 | 292 | }, |
| 293 | + 'included_in_proto': True, |
286 | 294 | 'parameters': [ |
287 | 295 | { |
288 | 296 | 'direction': 'in', |
|
323 | 331 | 'documentation': { |
324 | 332 | 'description': '\nSets the value of an NI-TClk VIReal64 attribute.\nniTClk_SetAttributeViReal64 is a low-level function that you can use to\nset the values NI-TClk attributes. NI-TClk contains high-level functions\nthat set most of the attributes. It is best to use the high-level\nfunctions as much as possible.\n' |
325 | 333 | }, |
| 334 | + 'included_in_proto': True, |
326 | 335 | 'parameters': [ |
327 | 336 | { |
328 | 337 | 'direction': 'in', |
|
353 | 362 | 'documentation': { |
354 | 363 | 'description': 'The value for the attribute' |
355 | 364 | }, |
| 365 | + 'grpc_name': 'value_raw', |
356 | 366 | 'name': 'value', |
357 | 367 | 'type': 'ViReal64' |
358 | 368 | } |
|
364 | 374 | 'documentation': { |
365 | 375 | 'description': '\nSets the value of an NI-TClk ViSession attribute.\nniTClk_SetAttributeViSession is a low-level function that you can use\nto set the values NI-TClk attributes. NI-TClk contains high-level\nfunctions that set most of the attributes. It is best to use the\nhigh-level functions as much as possible.\n' |
366 | 376 | }, |
| 377 | + 'included_in_proto': True, |
367 | 378 | 'parameters': [ |
368 | 379 | { |
369 | 380 | 'direction': 'in', |
|
406 | 417 | 'documentation': { |
407 | 418 | 'description': '\nSets the value of an NI-TClk VIString attribute.\nniTClk_SetAttributeViString is a low-level function that you can use to\nset the values of NI-TClk attributes. NI-TClk contain high-level\nfunctions that set most of the attributes. It is best to use the\nhigh-level functions as much as possible.\n' |
408 | 419 | }, |
| 420 | + 'included_in_proto': True, |
409 | 421 | 'parameters': [ |
410 | 422 | { |
411 | 423 | 'direction': 'in', |
|
436 | 448 | 'documentation': { |
437 | 449 | 'description': 'Pass the value for the attribute' |
438 | 450 | }, |
| 451 | + 'grpc_name': 'value_raw', |
439 | 452 | 'name': 'value', |
440 | 453 | 'type': 'ViConstString' |
441 | 454 | } |
|
446 | 459 | 'documentation': { |
447 | 460 | 'description': 'Configures the TClks on all the devices and prepares the Sync Pulse Sender for synchronization' |
448 | 461 | }, |
| 462 | + 'included_in_proto': True, |
449 | 463 | 'parameters': [ |
450 | 464 | { |
451 | 465 | 'direction': 'in', |
|
488 | 502 | 'documentation': { |
489 | 503 | 'description': '\nSynchronizes the TClk signals on the given sessions. After\nniTClk_Synchronize executes, TClk signals from all sessions are\nsynchronized. Note: Before using this NI-TClk function, verify that your\nsystem is configured as specified in the PXI Trigger Lines and RTSI\nLines topic of the NI-TClk Synchronization Help. You can locate this\nhelp file at Start>>Programs>>National Instruments>>NI-TClk.\n' |
490 | 504 | }, |
| 505 | + 'included_in_proto': True, |
491 | 506 | 'parameters': [ |
492 | 507 | { |
493 | 508 | 'direction': 'in', |
|
530 | 545 | 'documentation': { |
531 | 546 | 'description': 'Synchronizes the other devices to the Sync Pulse Sender.' |
532 | 547 | }, |
| 548 | + 'included_in_proto': True, |
533 | 549 | 'parameters': [ |
534 | 550 | { |
535 | 551 | 'direction': 'in', |
|
572 | 588 | 'documentation': { |
573 | 589 | 'description': '\nCall this function to pause execution of your program until the\nacquisitions and/or generations corresponding to sessions are done or\nuntil the function returns a timeout error. niTClk_WaitUntilDone is a\nblocking function that periodically checks the operation status. It\nreturns control to the calling program if the operation completes\nsuccessfully or an error occurs (including a timeout error). This\nfunction is most useful for finite data operations that you expect to\ncomplete within a certain time.\n' |
574 | 590 | }, |
| 591 | + 'included_in_proto': True, |
575 | 592 | 'parameters': [ |
576 | 593 | { |
577 | 594 | 'direction': 'in', |
|
0 commit comments