Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TsuITOAR/visa-rs
/ functions
Functions
203 in github.com/TsuITOAR/visa-rs
⨍
Functions
203
◇
Types & classes
62
↓ 16 callers
Method
as_ref
(&self)
src/handler.rs:158
↓ 10 callers
Method
struct_name
(&self)
visa-rs-proc/src/attrs/mod.rs:165
↓ 8 callers
Method
lock
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 callers
Function
new_visa_buf
()
src/lib.rs:540
↓ 8 callers
Method
to_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/repr.rs:202
↓ 7 callers
Function
match_tokens
(input: ParseStream, str: &str)
visa-rs-proc/src/lib.rs:92
↓ 7 callers
Function
try_default_rm
()
tests/io.rs:48
↓ 6 callers
Function
extract_text
(src: &Html, selector: &str, nav: &str)
fetch-doc/src/main.rs:299
↓ 6 callers
Method
open
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 callers
Function
size_to_unsigned_repr
Map a size to the corresponding Rust repr type
generate-repr-config/src/main.rs:30
↓ 6 callers
Function
subst_ident
(t: Ident)
visa-rs-proc/src/lib.rs:22
↓ 5 callers
Method
find_next
Returns the next resource from the list of resources found
src/lib.rs:491
↓ 5 callers
Method
find_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 callers
Method
to_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:41
↓ 4 callers
Method
call
(&mut self, instr: &Instrument, event: &event::Event)
src/handler.rs:31
↓ 4 callers
Method
cancel_job
(&self, job_id: JobID)
src/async_io.rs:86
↓ 4 callers
Function
init_logger
()
tests/io.rs:16
↓ 4 callers
Method
next
(&mut self)
src/lib.rs:481
↓ 3 callers
Method
add_job
(&self, job_id: JobID, sender: Sender<Result<usize>>, waker: &Arc<Mutex<Waker>>)
src/async_io.rs:181
↓ 3 callers
Method
as_raw_ss
(&self)
src/session.rs:65
↓ 3 callers
Method
check_range
(&self, ty: &Ident)
visa-rs-proc/src/attrs/range.rs:503
↓ 3 callers
Method
into_async
Wraps the instrument with async I/O support.
src/instrument.rs:436
↓ 3 callers
Function
print_usage
()
generate-repr-config/src/main.rs:180
↓ 3 callers
Method
read
(&mut self, buf: &mut [u8])
src/instrument.rs:17
↓ 3 callers
Method
receiver
(&self)
src/handler.rs:164
↓ 3 callers
Method
remove_job
(&self, job_id: JobID)
src/async_io.rs:200
↓ 3 callers
Function
size_to_signed_repr
Map a size to the corresponding Rust repr type for signed types
generate-repr-config/src/main.rs:42
↓ 3 callers
Function
split_to_items
(s: String)
fetch-doc/src/main.rs:226
↓ 3 callers
Function
start_tcp_virtual_resource_idn
( )
tests/io.rs:22
↓ 3 callers
Method
to_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/rusty_ident.rs:25
↓ 3 callers
Method
visa_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 callers
Method
visa_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 callers
Method
as_ss
(&self)
src/session.rs:92
↓ 2 callers
Method
async_read
(&'a self, buf: &'a mut [u8])
src/async_io.rs:62
↓ 2 callers
Method
async_write
(&'a self, buf: &'a [u8])
src/async_io.rs:66
↓ 2 callers
Method
enable_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 callers
Method
find_res
Queries a VISA system to locate the resources associated with a specified interface, return the first resource matched
src/lib.rs:303
↓ 2 callers
Function
get_or_try_init_id
( id: &'a mut Option<AsyncId>, ss: &AsyncInstrument, cx: &mut std::task::Context<'_>, f: impl
src/async_io.rs:324
↓ 2 callers
Method
install_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 callers
Function
is_na
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:17
↓ 2 callers
Function
map_to_repr_from_toml
(ty: Ident)
visa-rs-proc/src/repr.rs:120
↓ 2 callers
Function
match_ident
(tar: &Ident, check: &Ident)
visa-rs-proc/src/attrs/mod.rs:145
↓ 2 callers
Method
parse
(input: syn::parse::ParseStream)
visa-rs-proc/src/repr.rs:182
↓ 2 callers
Method
set_attr
(&self, attr: impl Into<Attribute>)
src/enums/attribute.rs:105
↓ 2 callers
Function
struct_name_to_kind_name
(id: &Ident)
visa-rs-proc/src/attrs/mod.rs:300
↓ 2 callers
Method
to_tokens
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/range.rs:724
↓ 2 callers
Method
try_merge_pending
(&self, job_id: JobID)
src/async_io.rs:131
↓ 2 callers
Function
u64_to_lit
(n: u64)
visa-rs-proc/src/lib.rs:48
↓ 2 callers
Method
visa_flush
Manually flushes the specified buffers associated with formatted I/O operations and/or serial communication.
src/instrument.rs:59
↓ 1 callers
Method
add_pending
(&self, job_id: JobID, status: Result<usize>)
src/async_io.rs:165
↓ 1 callers
Method
call
(&mut self, _instr: &Instrument, event: &event::Event)
src/async_io.rs:212
↓ 1 callers
Method
check_attr_name
(&self, tar: &Ident)
visa-rs-proc/src/attrs/range.rs:262
↓ 1 callers
Method
clear
The viClear() operation clears the device input and output buffers.
src/instrument.rs:267
↓ 1 callers
Method
constructors
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:224
↓ 1 callers
Method
default_expr
(&self)
visa-rs-proc/src/attrs/range.rs:46
↓ 1 callers
Method
default_impl
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:265
↓ 1 callers
Function
extract_attr_info_to
(file: &str)
fetch-doc/src/main.rs:339
↓ 1 callers
Function
extract_repr_attribute
( input: syn::parse::ParseStream, tokens: &mut TokenStream2, )
visa-rs-proc/src/repr.rs:331
↓ 1 callers
Method
fetch_list
(&'a self, target: &str)
fetch-doc/src/main.rs:32
↓ 1 callers
Function
get_config
()
visa-rs-proc/src/repr.rs:107
↓ 1 callers
Method
into_raw_ss
(self)
src/session.rs:77
↓ 1 callers
Function
is_not_specified
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:20
↓ 1 callers
Method
is_writeable
(&self)
visa-rs-proc/src/attrs/mod.rs:221
↓ 1 callers
Method
kind
(&self)
src/enums/event.rs:183
↓ 1 callers
Method
kind_impl
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:245
↓ 1 callers
Method
leak
[`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 callers
Function
load_config
Load configuration at compile time
visa-rs-proc/src/repr.rs:76
↓ 1 callers
Function
map_to_repr
(ty: Ident)
visa-rs-proc/src/repr.rs:359
↓ 1 callers
Function
map_to_repr_default
(ty: Ident)
visa-rs-proc/src/repr.rs:416
↓ 1 callers
Method
output_batch
Output as Windows batch script
generate-repr-config/src/main.rs:102
↓ 1 callers
Method
output_cargo_config
Output as Cargo config (for .cargo/config.toml)
generate-repr-config/src/main.rs:144
↓ 1 callers
Method
output_json
Output as JSON for programmatic use
generate-repr-config/src/main.rs:162
↓ 1 callers
Method
output_shell
Output as shell script for setting environment variables
generate-repr-config/src/main.rs:82
↓ 1 callers
Method
output_toml
Output as TOML configuration file (visa_repr_config.toml)
generate-repr-config/src/main.rs:122
↓ 1 callers
Method
parse
(input: ParseStream)
visa-rs-proc/src/attrs/range.rs:96
↓ 1 callers
Method
poll_current_read
( &mut self, cx: &Context<'_>, buf: &mut ReadBuf<'_>, )
src/async_tokio.rs:79
↓ 1 callers
Method
poll_current_write
(&mut self, cx: &Context<'_>)
src/async_tokio.rs:114
↓ 1 callers
Function
screaming_snake_case_to_pascal_case
(input: &str)
visa-rs-proc/src/lib.rs:15
↓ 1 callers
Function
split_pack
( pack: CallbackPack<C>, )
src/handler.rs:65
↓ 1 callers
Method
start_read_id
(&self, buf: &mut [u8], waker: &Waker)
src/async_io.rs:70
↓ 1 callers
Method
start_write_id
(&self, buf: &[u8], waker: &Waker)
src/async_io.rs:78
↓ 1 callers
Method
struct_def
(&self, tokens: &mut TokenStream2)
visa-rs-proc/src/attrs/mod.rs:168
↓ 1 callers
Method
sub_constructor
(&self, ty: &Ident, cfg: &Option<TokenStream2>)
visa-rs-proc/src/attrs/range.rs:523
↓ 1 callers
Method
to_constructor
( &self, ty: &Type, tokens: &mut proc_macro2::TokenStream, writeable: bool,
visa-rs-proc/src/attrs/range.rs:270
↓ 1 callers
Method
to_string_lossy
(&self)
src/lib.rs:572
↓ 1 callers
Function
try_load_from_env_path
()
visa-rs-proc/src/repr.rs:34
↓ 1 callers
Method
uninstall
(self)
src/handler.rs:154
↓ 1 callers
Function
vs_to_io_err
(err: Error)
src/lib.rs:180
Method
as_raw_ss
(&self)
src/enums/event.rs:209
Method
as_vi_const_string
(&self)
src/lib.rs:569
Method
assert_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
Method
assert_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
Method
assert_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
Function
async_io
()
tests/io.rs:123
Function
async_io_virtual
()
tests/io.rs:155
Method
borrow
[`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
Method
borrow_raw
# Safety The `ss` passed in must be a valid VISA session.
src/session.rs:33
Method
buf_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
Method
buf_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
Method
call_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