08-01-2012 10:46 AM
If I have a CAN BUSS, and want to transmit different frames that correspond to different sensors, how is a network created with NI-XNET. The examples show a way to do it with NI-CAN, but it is not what I am looking for.
Say I have two sensors on a CAN BUSS, how would I have them transmit on the same port in a specified periodic manner using the API, what the user inputs in the front end VI?
If I am working at the frame level, how can I get the signal list for the frame? It comes back empty and throws an error.
08-01-2012 11:10 AM
What does it mean to have the maximum number of sessions exceeded when using the Conversion block?
08-02-2012 08:59 AM
Interesting....
I cannot get the example figure 15 in http://www.ni.com/white-paper/9717/en to work out.
I get the error message:
Error -1074384883 occurred at XNET Create Session (Frame Output Single-point).vi:1
Possible reason(s):
NI-XNET: (Hex 0xBFF6300D) You tried to open the same frame twice. This is not permitted. Solution: open each frame only once.
Any ideas?
08-02-2012 04:21 PM
Hello estradjm,
If I understand what you are doing you have 2 sensors that are sending data onto a port then you are sending that to the bus. You can send the 2 sensors on the same port but it would come in as a single frame, which it seems you are seeing. You would use the API to parse that frame to split between the 2 sensors data. Or you could send 2 frames and have each correspond to a single sensor.
As far as the error when you run the Fig 15 example, can you verify that error is thrown when you have Measurement & Automation Explorer and your other LabVIEW programs closed?
Hope this helps.