U3 python FIO | LabJack
 

U3 python FIO

2 posts / 0 new
Last post
Thomas
ThomasD3's picture
U3 python FIO

Hi, I'm using a U3-HV with python 2.7.
Is there a function to retrieve the state of an FIO input ?

Thanks

LabJack Support
LabJack Support's picture
Hello Thomas,

Hello Thomas,

We have a function to get the FIO states in our LabJackPython library. You will need the Exodriver (Linux/Mac) or UD library(Windows) installed as well:

https://labjack.com/support/software/examples/ud/labjackpython

https://labjack.com/support/software/installers/ud

Currently we do not have many website pages about all of the LabJackPython functions, but the u3.py source file included in the download has a bunch of useful function definitions, many of which include a short example for how to use the function. The two functions you would want to check out are getFIOState and getDIOState.