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
Method
close_all
Close this session and all find lists and device sessions.
src/lib.rs:412
Function
convert_from_complete_code
()
src/lib.rs:617
Function
convert_from_error_code
()
src/lib.rs:624
Function
convert_io_error
()
src/lib.rs:697
Function
convert_to_complete_code
()
src/lib.rs:631
Function
convert_to_error_code
()
src/lib.rs:635
Function
convert_wrong_status1
()
src/lib.rs:643
Function
convert_wrong_status2
()
src/lib.rs:648
Method
default
()
src/flags.rs:21
Method
deref
(&self)
src/lib.rs:515
Method
detect
()
generate-repr-config/src/main.rs:67
Method
disable_event
Disables notification of the specified event type(s) via the specified mechanism(s). The viDisableEvent() operation disables servicing of an event id
src/instrument.rs:184
Method
discard_events
Discards event occurrences for specified event types and mechanisms in a session. The viDiscardEvents() operation discards all pending occurrences of
src/instrument.rs:203
Method
drop
(&mut self)
src/async_io.rs:99
Method
drop
(&mut self)
src/session.rs:22
Method
drop
(&mut self)
src/handler.rs:140
Method
drop
(&mut self)
src/async_tokio.rs:143
Method
drop
(&mut self)
src/enums/event.rs:195
Method
eq
(&self, other: &Self)
visa-rs-proc/src/attrs/range.rs:59
Method
eq
(&self, other: &enums::attribute::AttrJobId)
src/lib.rs:606
Method
eq
(&self, other: &EventKind)
src/enums/event.rs:203
Method
eq
(&self, _: &T)
src/enums/attribute.rs:142
Method
fetch_current
(&self)
fetch-doc/src/main.rs:79
Method
fetch_list_in
( index: &'a DocIndexItem, target: &str, )
fetch-doc/src/main.rs:33
Method
flush
(&mut self)
src/instrument.rs:11
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
visa-rs-proc/src/attrs/range.rs:673
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
fetch-doc/src/main.rs:136
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/lib.rs:128
Method
from
(s: enums::status::ErrorCode)
src/lib.rs:134
Method
from
(async_instr: AsyncInstrument)
src/async_io.rs:31
Method
from
(value: AsyncInstrument)
src/async_tokio.rs:30
Method
from_callback
(f: F)
src/handler.rs:42
Method
from_html
(src: &Html, nav: &str)
fetch-doc/src/main.rs:96
Method
from_raw_ss
(s: RawSs)
src/session.rs:85
Method
from_str
(s: &str)
visa-rs-proc/src/attrs/range.rs:148
Method
from_string
(s: String)
src/lib.rs:575
Method
get_attr
if want a specific attribute, use [`SpecAttr::get_from`]
src/enums/attribute.rs:96
Method
get_from
(s: &S)
src/enums/attribute.rs:130
Function
get_visa_num
(input: TokenTree)
visa-rs-proc/src/lib.rs:44
Method
gpib_command
Write GPIB command bytes on the bus. This operation attempts to write count number of bytes of GPIB commands to the interface bus specified by vi. Th
src/instrument.rs:454
Method
gpib_control_atn
Specifies the state of the ATN line and the local active controller state. This operation asserts or deasserts the GPIB ATN interface line according
src/instrument.rs:474
Method
gpib_control_ren
Controls the state of the GPIB Remote Enable (REN) interface line, and optionally the remote/local state of the device. The viGpibControlREN() operat
src/instrument.rs:482
Method
gpib_pass_control
Tell the GPIB device at the specified address to become controller in charge (CIC). This operation passes controller in charge status to the device i
src/instrument.rs:495
Method
gpib_send_ifc
Pulse the interface clear line (IFC) for at least 100 microseconds. This operation asserts the IFC line and becomes controller in charge (CIC). The l
src/instrument.rs:511
Function
handler
()
tests/io.rs:90
Method
hash
(&self, state: &mut H)
visa-rs-proc/src/attrs/range.rs:712
Method
instrument
(&self)
src/async_io.rs:58
Method
into_tokio_async
(self)
src/instrument.rs:442
Function
io_to_vs_err
Quickly convert [std::io::Error]. # Panics Panic if the input Error is not converted from [visa_rs::Error](Error), use [TryInto] to perform conversi
src/lib.rs:176
Method
kind
(&self)
src/enums/attribute.rs:121
Function
list_instr
()
tests/io.rs:59
Method
lock_exclusive
(&self, timeout: Duration)
src/instrument.rs:116
Method
lock_shared
(&self, timeout: Duration)
src/instrument.rs:127
Method
lock_shared_with_key
(&self, timeout: Duration, key: AccessKey)
src/instrument.rs:139
Function
main
()
build.rs:4
Function
main
()
fetch-doc/src/main.rs:335
Function
main
()
examples/custom_repr/src/main.rs:3
Function
main
()
generate-repr-config/src/main.rs:197
Method
map_vs_err
(err: Error)
src/async_tokio.rs:75
Method
merge_ranges
(ranges: impl Iterator<Item = &'a Self>)
visa-rs-proc/src/attrs/range.rs:230
Method
new
(url: &str)
fetch-doc/src/main.rs:27
Method
new
Returns a session to the Default Resource Manager resource. The first call to this function initializes the VISA system, including the Default Resour
src/lib.rs:463
Method
new
(instr: Instrument)
src/async_io.rs:40
Method
new
(f: F)
src/handler.rs:100
Method
new
(instr: AsyncInstrument)
src/async_tokio.rs:58
Method
new
(handler: vs::ViEvent, kind: vs::ViEventType)
src/enums/event.rs:186
Method
null
create JobId with value null, used in [`Instrument::terminate`] to abort all calls
src/lib.rs:594
Method
parse
(input: ParseStream)
visa-rs-proc/src/lib.rs:125
Method
parse
(input: ParseStream)
visa-rs-proc/src/rusty_ident.rs:15
Method
parse
(input: ParseStream)
visa-rs-proc/src/attrs/mod.rs:21
Method
parse_res
Parse a resource string to get the interface information.
src/lib.rs:322
Method
parse_res_ex
Parse a resource string to get extended interface information. the returned three VisaStrings are: + Specifies the resource class (for example, "INS
src/lib.rs:348
Function
parse_to_u64
(s: &str)
visa-rs-proc/src/lib.rs:45
Method
poll
( self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
src/async_io.rs:345
Method
poll_flush
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/async_tokio.rs:212
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/async_tokio.rs:154
Method
poll_shutdown
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/async_tokio.rs:221
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/async_tokio.rs:184
Method
read_stb
Reads a status byte of the service request. The IEEE 488.2 standard defines several bit assignments in the status byte. For example, if bit 6 of the
src/instrument.rs:260
Function
repr
(input: TokenStream)
visa-rs-proc/src/lib.rs:36
Function
rm_behavior
()
src/lib.rs:654
Function
rusty_ident
(input: TokenStream)
visa-rs-proc/src/lib.rs:30
Function
send_idn
()
tests/io.rs:72
Method
set_buf
Sets the size for the formatted I/O and/or low-level I/O communication buffer(s).
src/instrument.rs:368
Function
signed_ty_token
(span: proc_macro2::Span)
visa-rs-proc/src/repr.rs:463
Method
source_span
(&self)
visa-rs-proc/src/attrs/range.rs:84
Function
split_to_protocol
(ranges: Vec<String>, defaults: Vec<String>)
fetch-doc/src/main.rs:162
Method
status_desc
Returns a user-readable description of the status code passed to the operation.
src/instrument.rs:64
Function
subst_token_tree
(t: TokenTree)
visa-rs-proc/src/rusty_ident.rs:70
Function
tcpip_socket_idn
()
tests/io.rs:257
Method
terminate
Requests session to terminate normal execution of an operation. This operation is used to request a session to terminate normal execution of an opera
src/instrument.rs:427
Function
test_visa_num
()
visa-rs-proc/src/lib.rs:83
Function
tokio_async_rw_virtual
()
tests/io.rs:205
Function
trampoline
( instr: vs::ViSession, event_type: vs::ViEventType, event: vs::ViEvent, user_
src/handler.rs:78
Method
try_from
(value: vs::ViStatus)
src/lib.rs:153
Method
try_from
(value: Instrument)
src/async_tokio.rs:24
Method
try_from
(value: super::attribute::AttrStatus)
src/enums/status.rs:129
Method
unlock
Relinquishes a lock for the specified resource.
src/instrument.rs:152
Function
unsigned_ty_token
(span: proc_macro2::Span)
visa-rs-proc/src/repr.rs:444
Method
update_waker
(waker: &std::sync::Arc<std::sync::Mutex<Waker>>, cx: &Context<'_>)
src/async_tokio.rs:68
← previous
next →
101–200 of 203, ranked by callers