LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Send and Receive data

Hai
 
I attached my VI
 
i can send data by reading the data from a file or by clicking the LED indicator or the default value
if i click send the data will send to my hardware through the CAN
 
but i should read the transmitted data from my hardware always, when my program starts it should read the data transmitted by the hardware
 
if i send the data that data should be transmitted to the H/W till i send the next data.
 
example if i send ON data to my relay the relay should be ON
till i send the next data as OFF or ON
 
i attached my program, please give me an idea to do this
 
 
I am using LabView 7.1
 
thanks
sasi
 
0 Kudos
Message 1 of 2
(2,299 Views)

It sounds like you want to be able to send a CAN message any time you click the send button but that when you are not sending messages, you want to monitor traffic on the CAN bus? Is this right?

You might want to take a look at the example codes at http://zone.ni.com/devzone/devzone.nsf/webcategories/78EED7C11E9DC0D2862567E10070684B

My memory is a little fuzzy but the CAN card may have come with example VIs for a CAN bus monitor program or there may be one on ni.com

 

 

Message Edited by nyc on 03-17-2006 10:23 AM

0 Kudos
Message 2 of 2
(2,295 Views)