I am using two NI USB-8473's (1-Port, High-Speed CAN, USB Interface), each controlling a different pump.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/203384
I am getting two different errors that may or may not be related and need some suggestions.
I have a VI (Attached, called "2 Pumps.vi") that is reading each Pump's Can Message and displaying its speed & current. Basically the VI has two identical loops, one for each pump. When I initially open LabVIEW and then run the VI, I get this error:"NI-CAN: (Hex 0xBFF6211D) Network Interface or CAN Object configuration is missing. All attributes of an object are deleted when the object is closed..." I then click "Stop" and try to "Run" the program again and get a different error: "NI-CAN: (Hex 0xBFF62007) you attempted to set a configuration attribute while the object is running..." I then click "Continue" and the same error pops back up (for the other pump) and I click "Continue" again. Then the program runs perfectly fine! I have to follow this procedure every time I open the program???
I noticed that removing one pump from the VI (Attached, called "1 Pump.vi") removes the initial error (Hex 0xBFF6211D)? Does this mean I am doing something wrong with configuring the two separate USB-8473's? Are they conflicting? However removing one pump did not stop the second error (Hex 0xBFF62007). I am assuming the second error has something to do with the program being "Aborted" before the ncCLose.vi is reached? Any suggestions in fixing these errors?