|
371 | 371 | </Code> |
372 | 372 | <Description/> |
373 | 373 | </Method> |
| 374 | + <Method> |
| 375 | + <Name>ps6000aGetStreamingLatestValues</Name> |
| 376 | + <Location>parent</Location> |
| 377 | + <CapabilityGroup>Base</CapabilityGroup> |
| 378 | + <Type>MCode</Type> |
| 379 | + <Code> |
| 380 | + <MCode>function status = ps6000aGetStreamingLatestValues(obj, streamingDataInfo, nStreamingDataInfos, triggerInfo) |
| 381 | +% For group functions, OBJ is the group object. For |
| 382 | +% base device functions, OBJ is the device object. |
| 383 | + |
| 384 | + status = calllib('ps6000a','ps6000aGetStreamingLatestValues',obj.DriverData.unitHandle,... |
| 385 | + streamingDataInfo, nStreamingDataInfos, triggerInfo);</MCode> |
| 386 | + </Code> |
| 387 | + <Description/> |
| 388 | + </Method> |
374 | 389 | <Method> |
375 | 390 | <Name>ps6000aGetValues</Name> |
376 | 391 | <Location>parent</Location> |
|
443 | 458 |
|
444 | 459 | error('ps6000aRunBlock: status code %d, please refer to the PicoStatus.m file.', dec2hex(status)); |
445 | 460 |
|
| 461 | + end</MCode> |
| 462 | + </Code> |
| 463 | + <Description/> |
| 464 | + </Method> |
| 465 | + <Method> |
| 466 | + <Name>ps6000aRunStreaming</Name> |
| 467 | + <Location>parent</Location> |
| 468 | + <CapabilityGroup>Base</CapabilityGroup> |
| 469 | + <Type>MCode</Type> |
| 470 | + <Code> |
| 471 | + <MCode>function status = ps6000aRunStreaming(obj, sampleInterval, sampleIntervalTimeUnits, maxPreTriggerSamples, maxPostTriggerSamples, autoStop, downSampleRatio, downSampleRatioMode) |
| 472 | +% For group functions, OBJ is the group object. For |
| 473 | +% base device functions, OBJ is the device object. |
| 474 | + |
| 475 | + status = calllib('ps6000a', 'ps6000aRunStreaming', obj.DriverData.unitHandle, sampleInterval,... |
| 476 | + sampleIntervalTimeUnits, maxPreTriggerSamples, maxPostTriggerSamples, autoStop,... |
| 477 | + downSampleRatio, downSampleRatioMode); |
| 478 | + |
| 479 | + if (status == PicoStatus.PICO_OK) |
| 480 | + |
| 481 | + else |
| 482 | + |
| 483 | + error('ps6000aRunStreaming: status code %d, please refer to the PicoStatus.m file.', dec2hex(status)); |
| 484 | + |
446 | 485 | end</MCode> |
447 | 486 | </Code> |
448 | 487 | <Description/> |
|
563 | 602 | </Code> |
564 | 603 | <Description/> |
565 | 604 | </Method> |
| 605 | + <Method> |
| 606 | + <Name>ps6000aSetDigitalPortOff</Name> |
| 607 | + <Location>parent</Location> |
| 608 | + <CapabilityGroup>Base</CapabilityGroup> |
| 609 | + <Type>MCode</Type> |
| 610 | + <Code> |
| 611 | + <MCode>function status = ps6000aSetDigitalPortOff(obj, port) |
| 612 | +% For group functions, OBJ is the group object. For |
| 613 | +% base device functions, OBJ is the device object. |
| 614 | + |
| 615 | + |
| 616 | + status = calllib('ps6000a', 'ps6000aSetDigitalPortOff', obj.DriverData.unitHandle, port) |
| 617 | + |
| 618 | + if (status == PicoStatus.PICO_OK) |
| 619 | + |
| 620 | + else |
| 621 | + |
| 622 | + error('ps6000aSetDigitalPortOff: status code %d, please refer to the PicoStatus.m file.', dec2hex(status)); |
| 623 | + |
| 624 | + end</MCode> |
| 625 | + </Code> |
| 626 | + <Description/> |
| 627 | + </Method> |
| 628 | + <Method> |
| 629 | + <Name>ps6000aSetDigitalPortOn</Name> |
| 630 | + <Location>parent</Location> |
| 631 | + <CapabilityGroup>Base</CapabilityGroup> |
| 632 | + <Type>MCode</Type> |
| 633 | + <Code> |
| 634 | + <MCode>function status = ps6000aSetDigitalPortOn(obj, port, logicThresholdLevel, logicThresholdLevelLength, hysteresis) |
| 635 | +% For group functions, OBJ is the group object. For |
| 636 | +% base device functions, OBJ is the device object. |
| 637 | + |
| 638 | + status = calllib('ps6000a','ps6000aSetDigitalPortOn', obj.DriverData.unitHandle, port,... |
| 639 | + logicThresholdLevel, logicThresholdLevelLength, hysteresis); |
| 640 | + |
| 641 | + if (status == PicoStatus.PICO_OK) |
| 642 | + |
| 643 | + else |
| 644 | + |
| 645 | + error('ps6000aSetDigitalPortOn: status code %d, please refer to the PicoStatus.m file.', dec2hex(status)); |
| 646 | + |
| 647 | + end</MCode> |
| 648 | + </Code> |
| 649 | + <Description/> |
| 650 | + </Method> |
566 | 651 | <Method> |
567 | 652 | <Name>ps6000aSetSimpleTrigger</Name> |
568 | 653 | <Location>parent</Location> |
|
0 commit comments