[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47617] Packages not installed correctly
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #47617] Packages not installed correctly |
Date: |
Wed, 13 Apr 2016 19:40:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #6, bug #47617 (project octave):
This Fails
----------
GNU Octave, version 4.0.1
...
For information about changes from previous versions, type 'news'.
>> pkg load instrument-control
>> tsttcp
error: 'tcp' undefined near line 4 column 14
error: called from
tsttcp at line 4 column 12
>>
This Works
----------
GNU Octave, version 4.0.0
...
For information about changes from previous versions, type 'news'.
>> pkg load instrument-control
>> tsttcp
Voltage 0.699741
>>
The instrument-control package does work using the Tatsuro 64bit Octave 4.0.1.
available here:
http://www.tatsuromatsuoka.com/octave/Eng/Win/
Thanks, OP
The Code
--------
function tsttcp()
% Create TCP object, IP address, port, timeout in ms
Instrument = tcp("192.168.1.154", 5555, 2000);
% Send command, Object, Message
tcp_write(Instrument, "MEAS:ITEM? VRMS,CHANNEL1"); % Set measurement type
% Receive the data, NBytes
[data n]= tcp_read(Instrument,100);
% Read and display data
v=sscanf(char(data),'%f');
fprintf('Voltage %fn', v);
tcp_close(Instrument);
endfunction
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47617>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly ., anonymous, 2016/04/04
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly ., John Donoghue, 2016/04/04
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, Rik, 2016/04/04
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, Mike Miller, 2016/04/04
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, Mike Miller, 2016/04/04
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, Nicholas Jankowski, 2016/04/05
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, anonymous, 2016/04/11
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly, John W. Eaton, 2016/04/13
- [Octave-bug-tracker] [bug #47617] Packages not installed correctly,
anonymous <=
- [Octave-bug-tracker] [bug #47617] mxe-octave: instrument-control package not installed correctly in official release, Mike Miller, 2016/04/19
- [Octave-bug-tracker] [bug #47617] mxe-octave: instrument-control package not installed correctly in official release, John Donoghue, 2016/04/20
- [Octave-bug-tracker] [bug #47617] mxe-octave: instrument-control package not installed correctly in official release, John Donoghue, 2016/04/26