09-23-2016 05:12 AM
HI,
I am trying to write the signals on CAN of having same mesaage, for controlling motor and valve, with different repeatations, and time to transmit. the excel file is attached for refrence.
Please suggest.
09-23-2016 07:42 AM - edited 09-23-2016 07:42 AM
You have the same problem bennyk did, you didn't post any code. What are you trying to do? What isn't working? What have you tried? What is your setup?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-23-2016 09:19 AM
HI,
I am using NI-Xnet and, want to Run the motor and valves having Same message ID, but I have to control the signals in that for current and enabling the valves and motor, For that I am using Signal-single point. When iam running the valves and motor individually, all valves and motor runs , but when I, try to run all together, valve works , and motor not.
My problem is how to control the time and no of repetitions as all the functions having different repetitions and transmit time,, and I have to run all the functions at a time. I have attached a capture for the message frames for reference. We have to use only one message ID PSD1-605, it has all the information. The excel sheet contains the working information of the motor and valve.
09-23-2016 11:45 AM
What I think you are talking about is a muxed signal, which this thread has nothing to do with. You would probably be better off making your own thread, where you explain the issue (like what you've done here) and post the code you've tried.
What I think you'll end up needing to do is use another API other than a Signal Single Point. With the Frame Stream API you'll have full control over what gets written and when, and you can write custom code to generate, one frame at one interval, and another frame at another interval. If you want to convert your signals to frames, XNet also offers an API for doing that.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord