.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/PyVisaDS
Contact:



Class Description


This class wraps the PyVisa python package from
http://pyvisa.sourceforge.net/ so it can be used as a device server for GPIB / Serial / Ethernet / ... devices

Families: Communication

Key words:

Language: Python

License:

Contact:

Class interface


Attributes:

Name Description
DelayScalar: DevFloat
SendEndScalar: DevBoolean
TermCharsScalar: DevString
ValuesFormatScalar: DevString
ChunkSizeScalar: DevShort
TimeoutScalar: DevFloat

Commands:

Name Description
TriggerInput: DevVoid
Output: DevVoid
Send a trigger signal to the device
ResetInput: DevVoid
Output: DevVoid
Performs a reset to the device
AskValuesInput: DevVarCharArray
Output: DevVarFloatArray
Perform a write command and return the answer from the device parsed to have a list of values using the attribute ValuesFormat. If you want to use another format for a specific answer, please, set the ValuesFormat before. Possible formats are: ascii (default), singe, double
AskInput: DevVarCharArray
Output: DevVarCharArray
Perform a write command and return the answer from the device.
ReadValuesInput: DevVoid
Output: DevVarFloatArray
Perform a read command and parses the result finding the different values. It uses the ValuesFormat attribute. If you want to use another format for a specific answer, please, set the ValuesFormat before. Possible formats are: ascii (default), singe, double
ReadLineInput: DevVoid
Output: DevVarCharArray
Read data until the end
ReadInput: DevUShort
Output: DevVarCharArray
Read the given amount of characters.
WriteInput: DevVarCharArray
Output: DevVoid
Write a string to the VISA device
CloseInput: DevVoid
Output: DevVoid
Close the VISA device
OpenInput: DevVoid
Output: DevVoid
Open the VISA device
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.

Pipes:

Properties:

Name Description
VisaNameDevString The name of the device understood by the VISA library


Please log in to comment.

22 Feb 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



20 Apr 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 10:53 a.m.