09-21-2009 04:22 AM
Hi,
In my application i have to transmit 3 CAN messages at the same time over CAN bus. I donot want to use timestamp it means all three messages should be transmitted immediately.
But i am gatting one error
Error code : -1074388982
Description : NI-CAN: (Hex 0xBFF6200A) A known feature is not supported. Solutions: Refer to the descriptions in the manual to determine which feature is unsupported.
I am using one port PCI CAN/XS with labview 7.1.
Kindly help me out or if possile attach one example to transmit 3 messages simultaneously over CAN bus in Labview 7.1
Regards,
J
Solved! Go to Solution.
09-21-2009 07:24 AM
09-21-2009 07:28 AM
Hi,
Thanxs for the reply.
I had used the same function ncWriteNetMult.vi but still i got that error.
Kindly guide me.
/J
09-21-2009 07:51 AM
I would assume that you would start from the CAN Transmit Multiple.c example, removing the set of the NC_ATTR_TRANSMIT_MODE since you dont' want timestamped transmit.
Is that what you are doing?
09-21-2009 07:58 AM
i don't know how to remove the set of the nc_attr_transmit_mode. It will be nice if you can send some example in Labview 7.1.
In my vi i am first reading the data, once i have received the data after that i will transmit the 3 CAN message on the bus. Kindly attach some examples.
Regards,
J
09-21-2009 08:09 AM
Sorry-- I misread one of your posts and thought you were using C...
I actually don't have 7.1 on my computer... But the example should run with the program unmodified (you probably need to update front panel objects to send the correct data).
1. Open "CAN Transmit mulitple.vi"
2. Set your array of frames to be the 3 frames that you want to transmit
a. Right-click on array and choose Data Operations >> Empty Array
b. Fill up the array with desired data.
3. Set your interface, baud rate, and number to write (i.e., 3 in your case)
4. Run the example
By default, Timestamp transmit is disabled in the LV example
09-21-2009 08:30 AM
As i told you, in my VI i will be reading some data first, after receiving that data only i am transmitting 3 CAN messages. Since in the VI i am reading first so by using ncGetAttr.vi i have selected Read Pending Entries.
Now in the VI i will not be able to set the attribute again.
kindly guide me.
Regards,
J
09-21-2009 09:13 AM
Hey J, have a quick look at this KB, might solve your problem.
http://digital.ni.com/public.nsf/allkb/877CE322F3135D5F8625755200073D0B?OpenDocument
09-21-2009 11:18 PM
Thanxs Paul,
Now i am not getting any error.
Regards,
J
12-02-2009 05:31 PM
I am having the exact same error, but I am not using LabView, I am using LabWindows CVI,
I am also using ncWriteMult, not the "net" version which seems to be a Lab View thing.
Any help for LabWindows?
I found another post for LW that is similar to what I am doing, it is old, but close to what I am getting:
http://forums.ni.com/ni/board/message?board.id=180&message.id=27892&query.id=145834#M27892