VTI Instruments Corp.
128 EX10xxA Function Calls
vtex10xxA_set_arm_lan_filter
Sets the filter for the LAN arm event.
Sets the arm source. Excludes LAN events.
vtex10xxA_set_arm_sourceEx
Sets the arm source. Includes LAN events.
vtex10xxA_set_channel_conversion
Sets the engineering units (EU) conversion for the
specified channels.
vtex10xxA_set_channel_range
Sets the input range of a voltage channel.
vtex10xxA_set_communication_timeout
Function Prototype
VISTATUS _VI_FUNC
VTEX10XXA_SET_COMMUNICATION_TIMEOUT (VISESSION VI,
VIINT32 TIMEOUT);
Function Parameters
vi = contains a session handle to the instrument. This handle is
obtained by the function and remains valid until the session is
closed.
SETS THE TIMEOUT VALUE (IN MILLISECONDS).
INDICATING HOW LONG TO WAIT FOR INSTRUMENT
TO RESPOND. IN HIGHER LATENCY NETWORK, IT IS
BETTER NOT TO REDUCE DEFAULT TIMEOUT VALUE.
VALID RETURN VALUES: 1000 THROUGH (231-1).
DEFAULT VALUE: 25000 (25 SECONDS).
DATA ITEM RESET VALUE
Reset will not change value of this parameter.
Description
This function sets the timeout value when a LAN communication
error occurs. It is recommended for advanced users only.
Example
//sets the LAN communication timeout to 10 seconds, if a LAN
communication error occurs
vtex10xxA_set_communication_timeout(vi, 10000);
vtex10xxA_set_dio_limit_event
Links limit evaluations to the operation of the
digital I/O port.
vtex10xxA_set_dio_limit_event_invert
Enables or disables inverted operation of a DIO
channel linked as a limit event.
vtex10xxA_set_dio_limit_event_latch
Enables or disables latch operation of a DIO
channel linked as a limit event.
Sets the static level that each channel of the digital
I/O port will assume if enabled.
vtex10xxA_set_dio_output_enable
Enables or /disables the output functionality of
each channel of the digital I/O port.
Generates a 1 µs pulse on selected channels of the
digital I/O port.
vtex10xxA_set_fifo_config
Sets the data format and overflow behavior of the
FIFO memory.
Sets low-pass filter cutoff frequency of specified
channels.
Enables or disables the use of init continuous
mode.
vtex10xxA_set_lan_event_domain
Sets the instrument’s LAN domain.
vtex10xxA_set_lan_eventlog_enabled
Enables/disables the event log.
vtex10xxA_set_lan_eventlog_overflowmode
Sets the LAN event log overflow mode.
Sets the limit set 0 values manually for the
specified channels.
vtex10xxA_set_limit_set0_manual
Enables or disables manual entry of limit set 0
values for the specified channels.