キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

microcontroller programming using LabVIEW

解決済み
解決策を見る
Is it possible to write a code for microcontroller, like 8051, in LabVIEW? if yes, HOW?

Message Edited by pritam on 10-29-2007 02:08 AM

0 件の賞賛
メッセージ1/12
8,324件の閲覧回数

Hi Pritam,

LV is a Graphical Prog Lang, in which you can "wire" anything スマイリー ハッピー, but NOT "write". スマイリー 悲しい

So, maybe you re looking for something else, or am I missing something ? スマイリー ウインク

- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ2/12
8,302件の閲覧回数

The anwser is No.You have to write code for 8051 by ASM or C51 up to now.

It's true that NI has a embedded moule for Micor processer,but 8051 is not surpported.

陈树学
QQ:276509891 .
EMAIL:CSXCS_366@126.COM
qq群:78561268 80754347 37591940
http://labview.weebly.com/
新书《LabVIEW实用工具详解》已经发售,敬请关注。
0 件の賞賛
メッセージ3/12
8,293件の閲覧回数

what do you want to do exactly

 

write a program that can download your mahine code into controller

or

Write a LabVIEW program that itself will determine how your controller should function (i.e. use labview instead of assembly or C)

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 件の賞賛
メッセージ4/12
8,292件の閲覧回数

hey... i mean... is there any cross-compiler which can convert .vi cde into .asm so that it can be burned in microcontroller... or any other stuff like that.... (jst like how we do FPGA programming in labview.... compiler converts the labview code into VHDL)

 

 

 

0 件の賞賛
メッセージ5/12
8,247件の閲覧回数

Pritam,

Maybe the below links should kindle your interest. スマイリー ハッピー

http://zone.ni.com/devzone/cda/tut/p/id/6207

https://lumen.ni.com/nicif/us/demolvportembd/content.xhtml

- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ6/12
8,236件の閲覧回数
Hi!
   csxcs_366  is right, and, more in general, with LabView you can someway cross-compile for 32-bit processors, while for 8 bit it's a little bit more difficult (even if possible, generating C code).  8051 is not targetable at all, for what I know. 

   But the question is: why are you willing to target 8051? I think LabView philosophy is opposite than 8051 philosophy, I'd use LabView for more complex architectures....

   Have a nice day!

graziano
メッセージ7/12
8,236件の閲覧回数

Sorry, I forgot you were asking about 8-bit uC. スマイリー 悲しい

- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ8/12
8,231件の閲覧回数
well... the thing is i jst hate text based programming.... n is jst trying to find out d way to program a microcontroller by graphical prog. lang.... being specific by labview......
0 件の賞賛
メッセージ9/12
8,185件の閲覧回数
Pritam,

I do not know of any cross-compiler for the 8051, but it is certainly possible to write one. Back in the LV 3 or LV 4 days I started to write a 6502 cross-assembler in LV. The project was cancelled before I completed it, but I had done enough to know that it could be made to work. It requires a lot of effort and you must know the details of the target processor assembly language and machine code. I was taking a text file with the assembly language program and parsing it. It was not an attempt to convert LV code to assembler to binary.

Lynn
0 件の賞賛
メッセージ10/12
8,158件の閲覧回数