Hallöchen!
Sorry for the late response, but the subject didn't catch my
attention ...
Mike Meyer <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] writes:
>
>> In float mode, the instrument returns a sequence of bits that are
>> exactly the ieee754 number in the case of floats, or just the
>> flag
That looks pretty cool. I'll try it out.
thanks
Michael
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 06 Dec 2005 22:51:03 -, Grant Edwards <[EMAIL PROTECTED]> wrote:
>On 2005-12-06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> The only way to get the flags is as a float, either through an
>> ascii string or a true float.
>
>That's perverse.
>
>Really.
>
>Somebody needs to be sl
Actually that's probably the easiest way. I may want to use shorter
variable names :)
thanks
michael
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> In float mode, the instrument returns a sequence of bits that are
> exactly the ieee754 number in the case of floats, or just the flags in
> the case of flags. PyVisa, when set to float mode, will convert
> everything to float, because it is unaware apriori that one of
On 2005-12-06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The only way to get the flags is as a float, either through an
> ascii string or a true float.
That's perverse.
Really.
Somebody needs to be slapped.
> The value of the float, however, is representable as 24 bits
> of normal binar
Ok, I figured it out...
The only way to get the flags is as a float, either through an ascii
string or a true float. The value of the float, however, is
representable as 24 bits of normal binary.
So for example, the value returned is +4.608400E+04
which is really an int, 46084, which is more eas
Hi,
okay, let me be more concise. The lab equipment has two formatting
modes, ascii, and float.
In ascii mode, it returns strings that represent the numeric value, so
e.g. 3.14 is returned as '3.14'. PyVisa, when set to read ascii mode,
will convert these strings to float with "visa.read_values
[EMAIL PROTECTED] writes:
> Hi,
> I'm using python to run some lab equipment using PyVisa. When I read a
> list of values from the equipment, one of the fields is 32 bits of
> flags, but the value is returned as a floating point number, either in
> ASCII format, or pure binary.
Value returned by
On 2005-12-06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm using python to run some lab equipment using PyVisa. When I read a
> list of values from the equipment, one of the fields is 32 bits of
> flags, but the value is returned as a floating point number, either in
> ASCII format, or pur
10 matches
Mail list logo