10-22-2008 06:45 AM
There is a problem about my NI-USB 8473, High speed CAN device.
I have a excuted file to operate this CAN, programmed by CVI, but i dont have the source code. It works all fine when i want to change the baudrate.
But i have to develop a new prj for this device, i use the function ncConfig to set the parameters of the can. I use a easy way that i get the CAN baudrate from the uir, a ring control.
But things happened that the baudrate doesnt change at all. I dont know what is going on, is there any other functions can set the baudrate? And when i use ncConfig, the parameters are totally cool, without mistake.
And anther question, how to asign CAN dynamically, i mean how could i creat any new CAN control panel for a new can as i want, because i have one to control one CAN, but now i need to control several undetermined number of CANs, should i creat a new panel for each of them or just modify the CAN names for the orginal one?
10-23-2008 07:29 AM
Hi,
i attached you here a *.doc file with screenshots and Links to CAN USB 8473 example (Labview) and Forum Links to CVI.
Problem is that it exists examples to Labview but not to CVI - so you must create a new programm in CVI when your *.exe don´t can set other baud rates
Better you do it in Labview (create an *.exe) because you can use the solution of existing CAN USB vi (llb)
Best Regards
Johann
10-23-2008 07:34 AM
You can use the structure of labview examples for your CVI program. I had started NI Spy parallel when using labview example - so it shows you the functions you can use in same way in CVI - hope it helps. You can attach here your program because i not known what example (*.exe) do you use for CVI ?
For creating CVI source project you could use the links i sent you before:
http://forums.ni.com/ni/board/message?board.id=30&message.id=3640&requireLogin=False
http://digital.ni.com/public.nsf/allkb/F997E364CFAA63F6862573540064C028?OpenDocument
http://digital.ni.com/public.nsf/allkb/E1A44077DA6C819186257288006B76D7
10-23-2008 08:28 AM
10-23-2008 08:29 AM