Instrument control package: Difference between revisions

Jump to navigation Jump to search
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
! i2c
! i2c
| bgcolor="green" | v0.1.0 || -                        || -                        || bgcolor="skyblue" | stalled || -  
| bgcolor="green" | v0.1.0 || -                        || -                        || bgcolor="skyblue" | stalled || -  
|-
! modbus
| bgcolor="yellow" | WIP || bgcolor="yellow" | WIP || bgcolor="yellow" | WIP || -                        || bgcolor="yellow" | WIP
|-
|-
! spi
! spi
Line 67: Line 70:
To be able to use GPIB on windows, the linux-gpib library needs to be 'faked'. This can be done by copying the following script and run it in a bash-terminal.
To be able to use GPIB on windows, the linux-gpib library needs to be 'faked'. This can be done by copying the following script and run it in a bash-terminal.


<source lang="bash">
<syntaxhighlight lang="bash">
#!/bin/bash
#!/bin/bash
# fake_linux_gpib.sh, Kire Pûdsje, Dec 2017
# fake_linux_gpib.sh, Kire Pûdsje, Dec 2017
Line 103: Line 106:
#cleanup  
#cleanup  
rm -f ${NI_DEF_FILE}
rm -f ${NI_DEF_FILE}
</source>
</syntaxhighlight>


== MacOS ==
== MacOS ==
Line 468: Line 471:
# Convert uint8 array to string,  
# Convert uint8 array to string,  
char(data)  
char(data)  
# close usbtmc session
# close VXI11 session
vxi11_close(t0)
vxi11_close(t0)
</syntaxhighlight>
</syntaxhighlight>
}}
}}
=== Limitations ===
=== Limitations ===
For now,
For now,
Anonymous user

Navigation menu