05-19-2017 07:41 PM
I have a state machine in which I write to my controller in one of the states...the very first time the state writes perfect but when it comes to loop back into that state the state - it doesn't write... I don't get an error, and I can see that I have the right session, my bit just isn't changing... is there anything special I need to do to constantly write to this command?
05-22-2017 09:15 AM
Could you attach the code to which you are referring? It is difficult to understand the possible issue without seeing how you have written the code.
05-22-2017 02:32 PM
Having an idea of what the code looks like is definitely helpful. Without it I can suggest the following:
05-30-2017 10:31 AM
Maybe enable Echo Transmitted Frames for the hardware, and then on the read, see if the hardware believes the message went out. Providing the code would help. Also it is odd no error is generated are you sure there isn't one?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-02-2017 12:52 PM - edited 06-02-2017 12:53 PM
Not knowing your code:
Make sure that you are not re-initializing the interface (Opening/Connecting) without first Disconnecting or Closing it first. It will try to create a new connection and won't work. Initialize, Open, and Connect prior to your loop, then read/write the results based on your loop. When exiting the loop, you will then Disconnect and Close.