![]() |
need some help with the OI, and wiring a display
most likely a light of some sort, i know the programmers can probably do something along the lines of this, maybe a simple printf statement, but i was wondering what kind of device should be used, and how to connect it to the OI?
any help will be gladly appreciated |
Re: need some help with the OI, and wiring a display
Quote:
You can't printf anything to the OI, the hardware doesn't support this. You can use the LEDs in the OI if you want though, have your programmers look in the ifi_aliases.h file for controlling those, I don't know off hand what the variable names are. The other option is to make a dashboard program. If you have any C++ or Flash MX gurus, it'll be pretty easy, I made a program that you can use with a few additions on your part. Look here for that. If you can, please be a bit more specific on what you're trying to do, it helps us help you :). |
Re: need some help with the OI, and wiring a display
Quote:
in short, whenever the compressor is on, i want it to have a light or something go on at the drivers station. thanks for listening |
Re: need some help with the OI, and wiring a display
That would be easy. IFI's website has information on how to wire LEDs to the Operator Interface and you can search ChiefDelphi for information on how to program them.
|
Re: need some help with the OI, and wiring a display
Quote:
Know those LEDs right on the OI? Those are controlled by two bytes, led_byte1 and led_byte2, that are broken up into their bits. I'm not sure off the top of my head what the bits are called, but look it up in ifi_aliases.h, I seem to remember it being fairly obvious what the variables were for. Once you find those variables, drop something like this into the code that controls you compressor (I'm writing pseudo-code, don't copy and paste ;))... Code:
if compressor is on:I'd write more, but I've got to run to my next class now, hopefully this is helpful, otherwise I'll check back this afternoon if you need more help :). |
Re: need some help with the OI, and wiring a display
We use our "user byte" selectable in the little display on the OI to show the pressure from the sensor, nicely converted to PSI in the software. We also have a telemetry select switch on our OI that lets us select different data (the pressure, arm sensor positions) to send to the user byte...another simple solution...
|
Re: need some help with the OI, and wiring a display
Quote:
for our compressor, its for a vacuum, so psi isnt that hard, thanks for the info, and i talked to one of our programmers, and he should be able to spit something up by the next regional thanks everyone |
Re: need some help with the OI, and wiring a display
just take a look in the default code - down at the bottom of Default_Routine there's code the sets the state of the LEDs on the OI - play around with that to your hearts content.
|
Re: need some help with the OI, and wiring a display
well, i dont have a problem with the programming, but more of not having the interface in front of me, so i dont know where to place something. also, i found out i can use the RS232 port for output on the OI, but it needs its own power source, and i am worried of toasting the OI with too much ampage...
|
| All times are GMT -5. The time now is 11:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi