Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Send and Receive

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
(3,518 Views)
hi,
 
This sounds like you need two threads for your application, one for Read and one for write.
I modified your VI to do so.
 
Hope that helps.
 
DirkW
0 Kudos
Message 2 of 2
(3,512 Views)