MCPcopy Create free account

hub / github.com/TsuITOAR/visa-rs / functions

Functions203 in github.com/TsuITOAR/visa-rs

↓ 16 callersMethodas_ref
(&self)
src/handler.rs:158
↓ 10 callersMethodstruct_name
(&self)
visa-rs-proc/src/attrs/mod.rs:165
↓ 8 callersMethodlock
Establishes an access mode to the specified resources. This operation is used to obtain a lock on the specified resource. The caller can specify the
src/instrument.rs:87
↓ 8 callersFunctionnew_visa_buf
()
src/lib.rs:540
↓ 8 callersMethodto_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/repr.rs:202
↓ 7 callersFunctionmatch_tokens
(input: ParseStream, str: &str)
visa-rs-proc/src/lib.rs:92
↓ 7 callersFunctiontry_default_rm
()
tests/io.rs:48
↓ 6 callersFunctionextract_text
(src: &Html, selector: &str, nav: &str)
fetch-doc/src/main.rs:299
↓ 6 callersMethodopen
Opens a session to the specified resource. For the parameter accessMode, either VI_EXCLUSIVE_LOCK (1) or VI_SHARED_LOCK (2). VI_EXCLUSIVE_LOCK (1) i
src/lib.rs:394
↓ 6 callersFunctionsize_to_unsigned_repr
Map a size to the corresponding Rust repr type
generate-repr-config/src/main.rs:30
↓ 6 callersFunctionsubst_ident
(t: Ident)
visa-rs-proc/src/lib.rs:22
↓ 5 callersMethodfind_next
Returns the next resource from the list of resources found
src/lib.rs:491
↓ 5 callersMethodfind_res_list
Queries a VISA system to locate the resources associated with a specified interface. The viFindRsrc() operation matches the value specified in the ex
src/lib.rs:282
↓ 5 callersMethodto_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:41
↓ 4 callersMethodcall
(&mut self, instr: &Instrument, event: &event::Event)
src/handler.rs:31
↓ 4 callersMethodcancel_job
(&self, job_id: JobID)
src/async_io.rs:86
↓ 4 callersFunctioninit_logger
()
tests/io.rs:16
↓ 4 callersMethodnext
(&mut self)
src/lib.rs:481
↓ 3 callersMethodadd_job
(&self, job_id: JobID, sender: Sender<Result<usize>>, waker: &Arc<Mutex<Waker>>)
src/async_io.rs:181
↓ 3 callersMethodas_raw_ss
(&self)
src/session.rs:65
↓ 3 callersMethodcheck_range
(&self, ty: &Ident)
visa-rs-proc/src/attrs/range.rs:503
↓ 3 callersMethodinto_async
Wraps the instrument with async I/O support.
src/instrument.rs:436
↓ 3 callersFunctionprint_usage
()
generate-repr-config/src/main.rs:180
↓ 3 callersMethodread
(&mut self, buf: &mut [u8])
src/instrument.rs:17
↓ 3 callersMethodreceiver
(&self)
src/handler.rs:164
↓ 3 callersMethodremove_job
(&self, job_id: JobID)
src/async_io.rs:200
↓ 3 callersFunctionsize_to_signed_repr
Map a size to the corresponding Rust repr type for signed types
generate-repr-config/src/main.rs:42
↓ 3 callersFunctionsplit_to_items
(s: String)
fetch-doc/src/main.rs:226
↓ 3 callersFunctionstart_tcp_virtual_resource_idn
( )
tests/io.rs:22
↓ 3 callersMethodto_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/rusty_ident.rs:25
↓ 3 callersMethodvisa_read_async
Reads data from device or interface asynchronously. The viReadAsync() operation asynchronously transfers data. The data read is to be stored in the b
src/instrument.rs:387
↓ 3 callersMethodvisa_write_async
The viWriteAsync() operation asynchronously transfers data. The data to be written is in the buffer represented by buf. This operation normally return
src/instrument.rs:409
↓ 2 callersMethodas_ss
(&self)
src/session.rs:92
↓ 2 callersMethodasync_read
(&'a self, buf: &'a mut [u8])
src/async_io.rs:62
↓ 2 callersMethodasync_write
(&'a self, buf: &'a [u8])
src/async_io.rs:66
↓ 2 callersMethodenable_event
Enables notification of a specified event. The specified session can be enabled to queue events by specifying VI_QUEUE. Applications can enable the s
src/instrument.rs:164
↓ 2 callersMethodfind_res
Queries a VISA system to locate the resources associated with a specified interface, return the first resource matched
src/lib.rs:303
↓ 2 callersFunctionget_or_try_init_id
( id: &'a mut Option<AsyncId>, ss: &AsyncInstrument, cx: &mut std::task::Context<'_>, f: impl
src/async_io.rs:324
↓ 2 callersMethodinstall_handler
Installs handlers for event callbacks. The viInstallHandler() operation allows applications to install handlers on sessions. The handler specified in
src/instrument.rs:248
↓ 2 callersFunctionis_na
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:17
↓ 2 callersFunctionmap_to_repr_from_toml
(ty: Ident)
visa-rs-proc/src/repr.rs:120
↓ 2 callersFunctionmatch_ident
(tar: &Ident, check: &Ident)
visa-rs-proc/src/attrs/mod.rs:145
↓ 2 callersMethodparse
(input: syn::parse::ParseStream)
visa-rs-proc/src/repr.rs:182
↓ 2 callersMethodset_attr
(&self, attr: impl Into<Attribute>)
src/enums/attribute.rs:105
↓ 2 callersFunctionstruct_name_to_kind_name
(id: &Ident)
visa-rs-proc/src/attrs/mod.rs:300
↓ 2 callersMethodto_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/range.rs:724
↓ 2 callersMethodtry_merge_pending
(&self, job_id: JobID)
src/async_io.rs:131
↓ 2 callersFunctionu64_to_lit
(n: u64)
visa-rs-proc/src/lib.rs:48
↓ 2 callersMethodvisa_flush
Manually flushes the specified buffers associated with formatted I/O operations and/or serial communication.
src/instrument.rs:59
↓ 1 callersMethodadd_pending
(&self, job_id: JobID, status: Result<usize>)
src/async_io.rs:165
↓ 1 callersMethodcall
(&mut self, _instr: &Instrument, event: &event::Event)
src/async_io.rs:212
↓ 1 callersMethodcheck_attr_name
(&self, tar: &Ident)
visa-rs-proc/src/attrs/range.rs:262
↓ 1 callersMethodclear
The viClear() operation clears the device input and output buffers.
src/instrument.rs:267
↓ 1 callersMethodconstructors
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:224
↓ 1 callersMethoddefault_expr
(&self)
visa-rs-proc/src/attrs/range.rs:46
↓ 1 callersMethoddefault_impl
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:265
↓ 1 callersFunctionextract_attr_info_to
(file: &str)
fetch-doc/src/main.rs:339
↓ 1 callersFunctionextract_repr_attribute
( input: syn::parse::ParseStream, tokens: &mut TokenStream2, )
visa-rs-proc/src/repr.rs:331
↓ 1 callersMethodfetch_list
(&'a self, target: &str)
fetch-doc/src/main.rs:32
↓ 1 callersFunctionget_config
()
visa-rs-proc/src/repr.rs:107
↓ 1 callersMethodinto_raw_ss
(self)
src/session.rs:77
↓ 1 callersFunctionis_not_specified
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:20
↓ 1 callersMethodis_writeable
(&self)
visa-rs-proc/src/attrs/mod.rs:221
↓ 1 callersMethodkind
(&self)
src/enums/event.rs:183
↓ 1 callersMethodkind_impl
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:245
↓ 1 callersMethodleak
[`DefaultRM`] will close everything opened by it on drop. By converting to a [`WeakRM`], such behavior can be avoided. Note*: Sessions opened by anot
src/lib.rs:445
↓ 1 callersFunctionload_config
Load configuration at compile time
visa-rs-proc/src/repr.rs:76
↓ 1 callersFunctionmap_to_repr
(ty: Ident)
visa-rs-proc/src/repr.rs:359
↓ 1 callersFunctionmap_to_repr_default
(ty: Ident)
visa-rs-proc/src/repr.rs:416
↓ 1 callersMethodoutput_batch
Output as Windows batch script
generate-repr-config/src/main.rs:102
↓ 1 callersMethodoutput_cargo_config
Output as Cargo config (for .cargo/config.toml)
generate-repr-config/src/main.rs:144
↓ 1 callersMethodoutput_json
Output as JSON for programmatic use
generate-repr-config/src/main.rs:162
↓ 1 callersMethodoutput_shell
Output as shell script for setting environment variables
generate-repr-config/src/main.rs:82
↓ 1 callersMethodoutput_toml
Output as TOML configuration file (visa_repr_config.toml)
generate-repr-config/src/main.rs:122
↓ 1 callersMethodparse
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:96
↓ 1 callersMethodpoll_current_read
( &mut self, cx: &Context<'_>, buf: &mut ReadBuf<'_>, )
src/async_tokio.rs:79
↓ 1 callersMethodpoll_current_write
(&mut self, cx: &Context<'_>)
src/async_tokio.rs:114
↓ 1 callersFunctionscreaming_snake_case_to_pascal_case
(input: &str)
visa-rs-proc/src/lib.rs:15
↓ 1 callersFunctionsplit_pack
( pack: CallbackPack<C>, )
src/handler.rs:65
↓ 1 callersMethodstart_read_id
(&self, buf: &mut [u8], waker: &Waker)
src/async_io.rs:70
↓ 1 callersMethodstart_write_id
(&self, buf: &[u8], waker: &Waker)
src/async_io.rs:78
↓ 1 callersMethodstruct_def
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:168
↓ 1 callersMethodsub_constructor
(&self, ty: &Ident, cfg: &Option<TokenStream2>)
visa-rs-proc/src/attrs/range.rs:523
↓ 1 callersMethodto_constructor
( &self, ty: &Type, tokens: &mut proc_macro2::TokenStream, writeable: bool,
visa-rs-proc/src/attrs/range.rs:270
↓ 1 callersMethodto_string_lossy
(&self)
src/lib.rs:572
↓ 1 callersFunctiontry_load_from_env_path
()
visa-rs-proc/src/repr.rs:34
↓ 1 callersMethoduninstall
(self)
src/handler.rs:154
↓ 1 callersFunctionvs_to_io_err
(err: Error)
src/lib.rs:180
Methodas_raw_ss
(&self)
src/enums/event.rs:209
Methodas_vi_const_string
(&self)
src/lib.rs:569
Methodassert_intr_signal
Asserts the specified interrupt or signal. This operation can be used to assert a device interrupt condition. In VXI, for example, this can be done w
src/instrument.rs:279
Methodassert_trigger
Asserts software or hardware trigger. The viAssertTrigger() operation sources a software or hardware trigger dependent on the interface type. # Soft
src/instrument.rs:310
Methodassert_util_signal
Asserts or deasserts the specified utility bus signal. This operation can be used to assert either the SYSFAIL or SYSRESET utility bus interrupts on
src/instrument.rs:320
Functionasync_io
()
tests/io.rs:123
Functionasync_io_virtual
()
tests/io.rs:155
Methodborrow
[`DefaultRM`] will close everything opened by it on drop. By converting to a [`WeakRM`], such behavior can be avoided. Note*: Sessions opened by anot
src/lib.rs:453
Methodborrow_raw
# Safety The `ss` passed in must be a valid VISA session.
src/session.rs:33
Methodbuf_read
Reads data from device or interface through the use of a formatted I/O read buffer. The viBufRead() operation is similar to viRead() and does not per
src/instrument.rs:330
Methodbuf_write
Writes data to a formatted I/O write buffer synchronously. The viBufWrite() operation is similar to viWrite() and does not perform any kind of data f
src/instrument.rs:352
Methodcall_in_c
( instr: vs::ViSession, event_type: vs::ViEventType, event: vs::ViEvent, user_
src/async_io.rs:289
next →1–100 of 203, ranked by callers