LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a LabVIEW Program from an ATmega128

Dear Community,

At the Moment im working on a Fuel Cell System, which was once controlled by a LabVIEW Program, however the harddrive, that it used to be saved on has apparently been lost and the Company, that produced the Fuel Cell System doesnt exist anymore. The System seems to be using an Atmel ATmega 128 and it was suggested to me, that it may be possible, that the controls for the System are still saved on there. I am new to LabVIEW and was told, that it might be possible to use LabVIEW to acces the controls, that are still on the ATmega 128. The Board with the chip is connected to the PC via RS232, if this helps in any way.

If anyone knows something about this, or could point me in the right direction, i would be very thankful. I might be entirely on the wrong path here for all i know.

 

Cheers

0 Kudos
Message 1 of 2
(533 Views)

Hi Moritz,

 


@Moritz_H wrote:

The System seems to be using an Atmel ATmega 128 and it was suggested to me, that it may be possible, that the controls for the System are still saved on there. I am new to LabVIEW and was told, that it might be possible to use LabVIEW to acces the controls, that are still on the ATmega 128. The Board with the chip is connected to the PC via RS232, if this helps in any way.


One thing for sure: there is no LabVIEW program saved on your ATmega128.

 

The most probable situation: The ATmega really controls your device using its DO/AO pins. The ATmega program communicates over its (virtual) COM port with a tool on a (Windows) computer. That tool might be created using LabVIEW.

 

Your task now is to re-engineer that communication:

  • you should read the manuals/documentation for that ATmega128 software (if possible). That's the best way to learn about the commands and messages used in here. (Otherwise you might be lost in the dark and need to play a guessing game…)
  • you should watch this to learn how to use aserial ports in LabVIEW the best way.
  • Then send to commands to the µC board and read its responses…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(524 Views)