# Instrument Control

**URL:** <https://scilab.discourse.group/t/instrument-control/61>\
**Category:** Atoms packages\
**Created:** [March 13, 2023, 8:20am UTC](https://scilab.discourse.group/t/instrument-control/61 "2023-03-13T08:20:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 13, 2023, 8:20am UTC](https://scilab.discourse.group/t/instrument-control/61/1 "2023-03-13T08:20:07Z")

</div>

Hi, my Name is Pascal and i’am working with instruments and homeworking systems like Bacnet.  
But the subject here is, that it would be nice to have a full VISA toolbox again, with Serial, GPIB, USB and TCP/IP. some kind of one toolbox for any physical interface. Also BACnet and MQTT would be nice.

M.f.G. Pascal

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [March 13, 2023, 8:24am UTC](https://scilab.discourse.group/t/instrument-control/61/2 "2023-03-13T08:24:58Z")

</div>

Hello,

When you say “a full VISA toolbox **again** ” does it mean that such a toolbox did exist in the past but was not ported to recent versions of Scilab ?

S.

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 13, 2023, 8:58am UTC](https://scilab.discourse.group/t/instrument-control/61/3 "2023-03-13T08:58:19Z")

</div>

No till scilab 6.02 there was a VISA Tollbox and then since then not supported anymore. Maybe i have overseen the tollbox here but there was one once.

---

<div class="post-metadata">

**Author:** ![cfuttrup](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@cfuttrup](https://scilab.discourse.group/u/cfuttrup)\
**Post date:** [March 13, 2023, 8:02pm UTC](https://scilab.discourse.group/t/instrument-control/61/4 "2023-03-13T20:02:00Z")

</div>

Google gave me these hits:  
[https://www.scilab.org/news/signal-acquisition-and-instrument-control-visa-toolbox](https://www.scilab.org/news/signal-acquisition-and-instrument-control-visa-toolbox)  
and  
[https://atoms.scilab.org/toolboxes/visa](https://atoms.scilab.org/toolboxes/visa)

/Claus

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [March 13, 2023, 9:03pm UTC](https://scilab.discourse.group/t/instrument-control/61/5 "2023-03-13T21:03:19Z")

</div>

The bad news is that this old toolbox is not open source. It is highly unprobable that it would be recompiled in the future.

S.

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 14, 2023, 6:06am UTC](https://scilab.discourse.group/t/instrument-control/61/6 "2023-03-14T06:06:42Z")

</div>

At least this, thank you. But VISA should be opensource maby we could take the IVI Visa?

M.f.G. Pascal

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [March 15, 2023, 8:08am UTC](https://scilab.discourse.group/t/instrument-control/61/7 "2023-03-15T08:08:05Z")

</div>

The problem is that the gateways sources were closed source. So even if IVI Visa is considered (instead of the proprieraty DLL) everything has to be done again.There is a package in Octave forge ([https://wiki.octave.org/Instrument\_control\_package](https://wiki.octave.org/Instrument_control_package)) but adapting to Scilab an Octave package is not that easy.

S.

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 15, 2023, 9:00am UTC](https://scilab.discourse.group/t/instrument-control/61/8 "2023-03-15T09:00:13Z")

</div>

Well it was worth questioning it. for Bacnet i have done it with the Windowstack and always made some dos commands. MQTT and WS i could make the same if there were a curl update. There are many serial toolboxes, but not an official one. Maybe there is a GPIB exe or in the future I will go over IP?. Well i think i will go or rest with python till now. But we will see how scilab is developing. Maybe I will come back later.

OK. Till now thanks for the Answers.

M.f.G. Pascal

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 15, 2023, 2:55pm UTC](https://scilab.discourse.group/t/instrument-control/61/9 "2023-03-15T14:55:22Z")

</div>

If i want a serial connection with putty, can i do it with scilab? i can open putty from console but not piping the datas trought scilab console or is there a way over powershell?

M.f.G. Pascal

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [March 15, 2023, 5:17pm UTC](https://scilab.discourse.group/t/instrument-control/61/10 "2023-03-15T17:17:02Z")

</div>

Do you know this Scilab toolbox : [https://atoms.scilab.org/toolboxes/serial](https://atoms.scilab.org/toolboxes/serial) ?

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [March 15, 2023, 9:00pm UTC](https://scilab.discourse.group/t/instrument-control/61/11 "2023-03-15T21:00:08Z")

</div>

yes, but it is old and not so good you can not read raw or line it is minor to pyserial and well maybe there something better?
