localnode
¶
The localnode commands module.
These commands are used in the following models: DAQ6510, DMM6500, SMU2450, SMU2460, SMU2461, SMU2470
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- localnode.access
- localnode.gettime()
- localnode.linefreq
- localnode.model
- localnode.password
- localnode.prompts
- localnode.prompts4882
- localnode.serialno
- localnode.settime()
- localnode.showevents
- localnode.version
Localnode
¶
Bases: BaseTSPCmd
The localnode command tree.
Constants
.ACCESS_EXCLUSIVE: Allows access by one remote interface at a time with logins required from other interfaces..ACCESS_FULL: Full access for all users from all interfaces..ACCESS_LOCKOUT: Allows access by one interface (including the front panel) at a time with passwords required on all interfaces..ACCESS_PROTECTED: Allows access by one remote interface at a time with passwords required on all interfaces..DISABLE: Do not generate prompts in response to command messages..ENABLE: Generate prompts in response to command messages.
Properties and methods
.access: Thelocalnode.accessattribute..gettime(): Thelocalnode.gettime()function..linefreq: Thelocalnode.linefreqattribute..model: Thelocalnode.modelattribute..password: Thelocalnode.passwordattribute..prompts: Thelocalnode.promptsattribute..prompts4882: Thelocalnode.prompts4882attribute..serialno: Thelocalnode.serialnoattribute..settime(): Thelocalnode.settime()function..showevents: Thelocalnode.showeventsattribute..version: Thelocalnode.versionattribute.
ACCESS_EXCLUSIVE
class-attribute
instance-attribute
¶
ACCESS_EXCLUSIVE = 'localnode.ACCESS_EXCLUSIVE'
ACCESS_PROTECTED
class-attribute
instance-attribute
¶
ACCESS_PROTECTED = 'localnode.ACCESS_PROTECTED'
access
property
writable
¶
access: str
Access the localnode.access attribute.
Description
- This attribute contains the type of access users have to the instrument through different interfaces.
Usage
- Accessing this property will send the
print(localnode.access)query. - Setting this property to a value will send the
localnode.access = valuecommand.
TSP Syntax
- localnode.access = value
- print(localnode.access)
| Raises: |
|
|---|
linefreq
property
¶
linefreq: str
Access the localnode.linefreq attribute.
Description
- This attribute contains the power line frequency setting that is used for NPLC calculations.
Usage
- Accessing this property will send the
print(localnode.linefreq)query.
TSP Syntax
- print(localnode.linefreq)
| Raises: |
|
|---|
model
property
¶
model: str
Access the localnode.model attribute.
Description
- This attribute stores the model number.
Usage
- Accessing this property will send the
print(localnode.model)query.
TSP Syntax
- print(localnode.model)
| Raises: |
|
|---|
password
property
writable
¶
password: str
Access the localnode.password attribute.
Description
- This attribute stores the instrument password.
Usage
- Setting this property to a value will send the
localnode.password = valuecommand.
TSP Syntax
- localnode.password = value
| Raises: |
|
|---|
prompts
property
writable
¶
prompts: str
Access the localnode.prompts attribute.
Description
- This attribute determines if the instrument generates prompts in response to command messages.
Usage
- Accessing this property will send the
print(localnode.prompts)query. - Setting this property to a value will send the
localnode.prompts = valuecommand.
TSP Syntax
- localnode.prompts = value
- print(localnode.prompts)
| Raises: |
|
|---|
prompts4882
property
writable
¶
prompts4882: str
Access the localnode.prompts4882 attribute.
Description
- This attribute enables and disables the generation of prompts for IEEE Std 488.2 common commands.
Usage
- Accessing this property will send the
print(localnode.prompts4882)query. - Setting this property to a value will send the
localnode.prompts4882 = valuecommand.
TSP Syntax
- localnode.prompts4882 = value
- print(localnode.prompts4882)
| Raises: |
|
|---|
serialno
property
¶
serialno: str
Access the localnode.serialno attribute.
Description
- This attribute stores the serial number of the instrument.
Usage
- Accessing this property will send the
print(localnode.serialno)query.
TSP Syntax
- print(localnode.serialno)
| Raises: |
|
|---|
showevents
property
writable
¶
showevents: str
Access the localnode.showevents attribute.
Description
- This attribute sets whether or not the instrument automatically outputs generated events to the remote interface.
Usage
- Accessing this property will send the
print(localnode.showevents)query. - Setting this property to a value will send the
localnode.showevents = valuecommand.
TSP Syntax
- localnode.showevents = value
- print(localnode.showevents)
| Raises: |
|
|---|
version
property
¶
version: str
Access the localnode.version attribute.
Description
- This attribute stores the firmware version of the instrument.
Usage
- Accessing this property will send the
print(localnode.version)query.
TSP Syntax
- print(localnode.version)
| Raises: |
|
|---|
gettime
¶
gettime() -> None
Run the localnode.gettime() function.
Description
- This function retrieves the instrument date and time.
TSP Syntax
- localnode.gettime()
| Raises: |
|
|---|
settime
¶
settime(
year: str | None = None,
month: int | None = None,
day: int | None = None,
hour: int | None = None,
minute: int | None = None,
second: int | None = None,
) -> None
Run the localnode.settime() function.
Description
- This function sets the date and time of the instrument.
TSP Syntax
- localnode.settime()
| Parameters: |
|
|---|
| Raises: |
|
|---|