You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -309,6 +307,8 @@ Purpose: Wait for GPIB events on board-level or device-level. Valid wait mask id
309
307
"SRQI", "END", "TIMO"
310
308
```
311
309
310
+
`ibwait()` accepts wait mask identifiers given as a single string value, as a table of string values, or as an integer value. The latter is useful for providing no wait mask at all by specifying `0` as argument. In this case `ibwait()` returns immediately with the updated `IBSTA` status info.
311
+
312
312
For GPIB devices the only valid wait masks are `TIMO`, `END`, `RQS`, and `CMPL`. GPIB controllers accept all wait masks except for `RQS`. Detailed wait mask information is available at https://documentation.help/NI-488.2/func3kfo.html.
313
313
314
314
```lua
@@ -319,6 +319,9 @@ local stat, errmsg = gpib.ibwait(devHandle,"RQS")
319
319
-- Notice that more than one wait mask may be handed over when put into a Lua table.
0 commit comments