Discussion:
Creating SDO Object error (-1074388956)
(too old to reply)
DirkW
2008-01-11 15:10:08 UTC
Permalink
Could you attache your code , so i can see what you are up to. I could have a look to the code then.
DirkW
can can canopen
2008-01-14 05:10:05 UTC
Permalink
Hi dre99gsx,
 
I can't see your code since I am using Labview 8.0.
 
I have attached the SDO WRITE example code for your reference. You say that you have used the module control at the end.The better way is to use this at the starting and setting it to either Pre-operational or Operational as SDO works in both.
The problem you may be facing is that,module control command you have given might not be proper,you may not be closing it at the end.
 
Please let me if I am wrong anywhere or in the code attached.
 
 


SDO create example.png:
http://forums.ni.com/attachments/ni/30/3099/1/SDO create example.png
DirkW
2008-01-14 14:40:13 UTC
Permalink
Yes thats correct, you need to execute the module control "Set preoperational before you operate any SDO command. Furthermore the second module control needs the interface create handle not the SDO handle. See the attached code.
DirkW


CanopenTEST[2].vi:
http://forums.ni.com/attachments/ni/30/3100/1/CanopenTEST[2].vi

Loading...