04-16-2010 09:09 AM
Hello to everyone. I am using two signals to feed the Keil MCB2300 board. One is for engine rpm, and the other for load factor (% of throttle pressed). I want to control a simple on/off output which is supposed to be seen through an led on the board. Up to now I have 2 gauges to monitor the signals in labview through CAN-bus. I need now a 2 dimensional map (5 by 10) in order to be able to set in every conditions the on/off state of the vvt (led). What kind of a map do I need to choose from labview? Any help?
Thank you!
04-20-2010 07:13 AM
Hi madk4speed,
are you refering to a logic table you want to implement in LabVIEW? E.g. Bit 1 and 3 and 5 are TRUE => LED ON?
If so you could use a KV-Diagramm to reduce your matrix and then implement the boolean equations in LabVIEW (http://en.wikipedia.org/wiki/Karnaugh_map)
Alternatively you could implement the map as a 2D boolean array, then search the array line by line for a match and then turn on or off the led.
Best Regards,
04-30-2010 08:31 AM - edited 04-30-2010 08:33 AM
Thank you Andreas
So should I use Number to Array <<conversion>>? Which one is the correct one?
Kostas Kritikos
04-30-2010 08:53 AM
Hi Kostas,
I'm not sure if the conversion is the correct thing.
Maybe you can explain your problem a bit more - as easy as possible. You could attach a image of your example data and what you need to get done.
Best Regards,
04-30-2010 10:52 AM
2 signals go to the mcb2300 board:
load: range from 0-1023 (1024 values)
rpm: range from 0-4999 (5000 values)
I scale the signals to a map 5x10, so i have 10 lines (load) and 5 columns(rpm). I have preset values (0 and 1) in the cells so as to define the output of the VVT controller. I would like to have this map in labview and a way to highlight in which cell (load vs rpm) the engine is working.
Also is it possible to to alter the values in the cells without running Uvision but instead through labview? So that everytime i change the configuration of the vvt output i don't have to re-flash my board?