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.


UE9 and Profilab

  • Please log in to reply
5 replies to this topic

#1 Anu

  • Members
  • 8 posts

Posted 21 January 2010 - 12:36 PM

Hello Everybody, I am working on a system that uses UE9. The system has been programmed using Profilab Expert. The source file for this project is not available. We are running the system using the .exe file given to us. This set-up was done a long time ago and now we are ready to make changes due to the break throughs in our research. As the source code is not available, I resorted to going back and coding everything from the scratch. All i am trying to do in STEP 1 is to just read out the values of the Analog inputs (AIN0-AIN13). So i shut down the running system and unhooked the other software from the system. I connected my laptop containing my new Profilab .exe file to only read out the Analog inputs. There are about 6 pumps connected to this system. For some unknown reason, all the pumps start when i run this program. I debugged the program completely and made sure that all the digital i-os are disabled and still some value is being fed to the pumps and they start up. As i am trying to reverse engineer this already built system, I am terribly confused about what could cause the pumps to start by themselves. This is a very unsafe operating condition and I plan not to test on this anymore as more than twice it cut off the communication and caused the system to shut down. Does the Labjack possess default HIGH state for the digital ios? I tried adding an inverter and shutting all the pumps on start up. Yet, the pumps started up. Please advise! Thanks!

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 21 January 2010 - 05:40 PM

For some unknown reason, all the pumps start when i run this program.

Use a DVM to measure the voltage from one of the IO to GND before and after you start the program. Do you see it change?

Does the Labjack possess default HIGH state for the digital ios?

The digital I/O have 3 possible states, as discussed in the middle of Section 2.9.0 of the UE9 User's Guide. Note that when set to input a line has a 100k pull-up to 3.3 volts, so it will set at about 3.3 volts if not loaded, but because of the high impedance cannot source much current.

You can control the power-up default of the I/O. One easy way is the config defaults screen in LJControlPanel. From the factory, all I/O defaults to input at power-up.

In this case, when you run the program you are not powering-up, so I don't think that is exactly the problem. Try to figure out what the I/O are changing from and to, then we can try to figure out why an AIN read in Profilab is causing that.

#3 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 22 January 2010 - 02:24 PM

After phone discussion with Anu, the EIO/CIO lines on the UE9 are connected to 7 relays and 4 valves (directly to the valves, or is there a relay for the valves also?). Need to get the model numbers of the relays/valves, and need to know how each IO line is connected to them. Is VS connected to all positive control terminals and the IO line to the negative (sinking control), or are IO lines connected to all positive terminals and GND to the negative terminals (sourcing control)?

#4 Anu

  • Members
  • 8 posts

Posted 25 January 2010 - 02:28 PM

The part number for the Relay: 706-0005 We are using 12 relays to control 7 pumps and 5 valves. I am working on getting you a wiring diagram which will make things clearer. Thanks!

#5 ypc

  • Members
  • 1 posts

Posted 23 May 2011 - 05:18 AM

We expect to develop an application using UE9 and PROFILAB EXPERT. Do you have any experience on adressing analog output? "Profilab" says that it's not possible but it seems to me surprising. Regards and thank's for your feed back if any.

#6 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 23 May 2011 - 09:44 AM

We don't have any experience with Profilab ourselves, but it seems strange that it would support DO, DI, and AIN, but not DACs. In general, controlling the DACs through our driver is pretty simple:



If Profilab can't add support for the DACs, perhaps you could use Modbus/TCP to control them as it appears Profilab Expert supports modbus.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users