LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing Ardupilotmega with Labview with Mavlink Protocol

Sorry. i still Work on another project. What Kind of Terminal sw do u use?

and ive Some problems like u With different chipsets on rs232 converter.
Maybe try another on with another chipset
0 Kudos
Message 61 of 75
(4,050 Views)

i solved my problem...

it was still a missing converter on hardware side.

 

now i use a tll-rs232 converter (SparkFun RS232 Shifter SMD) - the UART port uses other voltage levels

to view the data on the laptop, i connect the PX4FMU first to the tll-rs232 and then to the rs232-usb converter.

 

 

0 Kudos
Message 62 of 75
(4,039 Views)

Hi,i want to read data from ardupilot by using labview,so  i use the exmple in the disscusion ,but its give me error in mavlink crc.vi    the message showing is : 
""  Error 7 occurred at Call Library Function Node in mavlink CRC.vi->initialize.vi->example usage.vi  ""    thanks for help

0 Kudos
Message 63 of 75
(4,002 Views)

achrafbak, the file "mavlink_crc.dll" needs to be in the same folder as the .llb file.  That error is saying that the library call node can not find the dll file.

CLAD, using LV2013SP1 + LV2015SP1+ LV2017 on Win7+cRIO
0 Kudos
Message 64 of 75
(3,992 Views)

thanks       Shadowclaw           for your help,i move the following file,but it still give me error : 

 

"Error 12 occurred at Call Library Function Node in mavlink CRC.vi->initialize.vi->example usage.vi"

0 Kudos
Message 65 of 75
(3,973 Views)

it looks like error 12 means that architecture is wrong.  The dll is a 32bit dll which means that it will only work with 32bit labview.

CLAD, using LV2013SP1 + LV2015SP1+ LV2017 on Win7+cRIO
0 Kudos
Message 66 of 75
(3,968 Views)

thanks, i have windows 7 64bit,i will test it in 32 bit and report the result,

thanks again

0 Kudos
Message 67 of 75
(3,945 Views)

whether it is 64bit or 32bit windows should not matter (I wrote the dll on a 64bit machine).  What matters is whether or not you installed the 32bit or 64bit version of labview.  I would recommand installing the 32bit version of labview even if you have 64bit Windows.  You get very few benefits out of the 64bit version of labview and in a most cases you will never notice a different between the two.

CLAD, using LV2013SP1 + LV2015SP1+ LV2017 on Win7+cRIO
0 Kudos
Message 68 of 75
(3,942 Views)

How do I use this software? when I open it in labview it is a whole bunch of file that seem to do different things, How do I make them all work in one interface?

Thankyou.

0 Kudos
Message 69 of 75
(3,790 Views)

Tryingtolearn, if you are refering to my mavlink software there should be an example_usage.vi in the llb that has some comments about what pieces do what.

CLAD, using LV2013SP1 + LV2015SP1+ LV2017 on Win7+cRIO
0 Kudos
Message 70 of 75
(3,784 Views)