| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Instrument Control Toolbox |
| Contents | Index |
| Learn more about Instrument Control Toolbox |
trigger(obj)
obj | A GPIB, VISA-GPIB, or VISA-VXI object. |
trigger(obj) sends a trigger message to the instrument connected to obj.
Before you can use trigger, obj must be connected to the instrument with the fopen function. A connected interface object has a Status property value of open. An error is returned if you attempt to use trigger while obj is not connected to the instrument.
For GPIB and VISA-GPIB objects, the Group Execute Trigger (GET) message is sent to the instrument.
For VISA-VXI objects, if the TriggerType property is configured to software, the Word Serial Trigger command is sent to the instrument. If TriggerType is configured to hardware, a hardware trigger is sent on the line specified by the TriggerLine property.
Status, TriggerLine, TriggerType
![]() | tmtool | udp | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |