Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

How to start UE9 with ubuntu 13.10

How to start UE9 with ubuntu

  • Please log in to reply
3 replies to this topic

#1 Lingue

Lingue
  • Members
  • 27 posts

Posted 11 February 2014 - 12:46 AM

Hello everybody, I'm a newbie and new member here...

I'm Have a new Labjack UE9 but i don't know to use this 

can anyone teach me how to use this? or give me some tutorial for beginer example to turn on and turn off LED using CONTROL FIO,AIN,DAC and etc..

 

im using Ubuntu 13.10 and using python, help me everyone... 

 

best regard's 



#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 11 February 2014 - 03:40 PM

First, for installing the Linux driver and LabJackPython take a look at the "In-depth Linux build instructions" on the Exodriver page. It provides the terminal commands for installation and the necessary Ubuntu libraries to install. Also, follow the instructions the Exodriver install script may tell you. Note the instructions use a U3 for Python test commands. For a UE9 an equivalent set of calls would be:

 

>>> import ue9

>>> d = ue9.UE9()

>>> d.commConfig()

 

For general LabJackPython information look at the LabJackPython page:

 

http://labjack.com/s...t/labjackpython

 

As for tutorials, we provide low-level commands and Modbus quickstart for the U3 which demonstrates DAC, AIN, FIO usage and toggles a LED. I recommend using the Modbus quickstart as much of the code and demonstration is interchangeable with the UE9. For a UE9, replace these calls:

 

>>> import u3

>>> d = u3.U3()

 

with:

 

>>> import ue9

>>> d = ue9.UE9()

 

The rest of the code will stay the same. The Modbus quickstart is here:

 

http://labjack.com/s...ckpython/modbus

 

The low-level commands quickstart isn't quite so interchangeable code-wise with a UE9. For most functionality you would use the feedback and singleIO UE9 methods.

 

http://labjack.com/s...ython/low-level



#3 Lingue

Lingue
  • Members
  • 27 posts

Posted 12 February 2014 - 01:07 AM

First, for installing the Linux driver and LabJackPython take a look at the "In-depth Linux build instructions" on the Exodriver page. It provides the terminal commands for installation and the necessary Ubuntu libraries to install. Also, follow the instructions the Exodriver install script may tell you. Note the instructions use a U3 for Python test commands. For a UE9 an equivalent set of calls would be:

 

>>> import ue9

>>> d = ue9.UE9()

>>> d.commConfig()

 

For general LabJackPython information look at the LabJackPython page:

 

http://labjack.com/s...t/labjackpython

 

As for tutorials, we provide low-level commands and Modbus quickstart for the U3 which demonstrates DAC, AIN, FIO usage and toggles a LED. I recommend using the Modbus quickstart as much of the code and demonstration is interchangeable with the UE9. For a UE9, replace these calls:

 

>>> import u3

>>> d = u3.U3()

 

with:

 

>>> import ue9

>>> d = ue9.UE9()

 

The rest of the code will stay the same. The Modbus quickstart is here:

 

http://labjack.com/s...ckpython/modbus

 

The low-level commands quickstart isn't quite so interchangeable code-wise with a UE9. For most functionality you would use the feedback and singleIO UE9 methods.

 

http://labjack.com/s...ython/low-level

thankyou very much LJSupport . it works on me  :rolleyes:

 

i training to make a led blinking for example code :

 

 

 
import time
import ue9
d = ue9.UE9()
 
while True:
        d.writeRegister(6001,1)
        time.sleep(0.2)
        d.writeRegister(6001,0)
        time.sleep(0.2)
 

it works , thankyou very much..



#4 ARDUINEM

ARDUINEM
  • Members
  • 6 posts

Posted 19 February 2014 - 12:48 AM

this thread helpful for newbie like me  thanks ljsupport




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users