Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN data transmit for a particular time interval

Hai
     I am using PCMCIA CAN card
In my program i am transmiting CAN data every five second,
When i click "TesterPresent" check box the data assigned is transmitted for every 5 sec till i select "Select" button. when i select "Select" button the loop will end
 
the other option i have in the program is to transmit the data by enter the data in the "TxMSG" control & by click on "Test 1" button the respective data is transmitted for every 5 seconds till i select "Select" button.
 
but when i select the "Select" button it takes some time to stop the loop.
 
I attached my program, please help me to solve this.
I am using LabVIEW 7.1
 
thanks
SK
0 Kudos
Message 1 of 4
(3,600 Views)
Please don't start the same thread twice. See my previous answer.
0 Kudos
Message 2 of 4
(3,592 Views)
OK, it was not in the same board. Please ignore my comment !
0 Kudos
Message 3 of 4
(3,590 Views)

Hi,

I had a look to your VI and changed the state machine search case, because this leads some time to wrong results with local variables.

Now both tester present and Tester 1 should end within the same time but it takes at least 5 seconds because of your wait.

Be careful with local variables in the future, try to avoid them when ever possiple.

DirkW

0 Kudos
Message 4 of 4
(3,587 Views)