04-20-2009 09:35 AM
Hi all,
I need to write a battery monitor program in labview that communicates with a CanBus connection.
Is there any examples that i can use as a template? Do I need any driver & hardware for it??
Thanks,
04-20-2009 09:47 AM
If you have to communicate with a CAN device, you will need a CAN Interface of course. And, of course, this interface needs drivers.
So: What will the CAN Interface be?
If it is from NI, you will need NI CAN as driver. This driver installs examples for LV, so you will (hopefully) save developement time.
hope this helps,
Norbert
04-20-2009 09:54 AM - edited 04-20-2009 09:55 AM
the main interface is written by C and outputing thru the CanBus. The program im suppose to be writing is reading the Voltage & Current from that C program.
so, i should have NI Can as a driver and use the examples for the readings.
anyone that has those types of examples?
what kind of NI can interface hardware do i need to have? how does it communicates with the CanBus?
04-20-2009 10:04 AM
Depending on the CAN, you will need a CAN lowspeed or highspeed interface. There are devices with one or two ports available. Feel free to browse ni.com for CAN hardware and decide which could work with your CAN bus. You can always ask your local NI sales rep if you are unsure.
If you install NI CAN, examples for basic IO are installed too. So it is only the task to find the appropriate example for your task.
hope this helps,
Norbert
04-20-2009 10:05 AM
04-23-2009 09:16 AM
does anyone have a template for the simulating battery life???can't find any in the examples.
04-23-2009 09:48 AM
Hi anzw82,
what do you need? Do you need a real simulation from charged to empty? What about loads?
Can you explain a bit more?
Mike
04-23-2009 09:53 AM
yes, i need a simulator from charge to empty. this is what i got for my numbers.
amp: 500
volt: 28.80
load: .0576
power:14400
those numbers needs to send out when application is running.