A method for executing a graphical program in a system comprising a host computer system and a device, wherein the host computer system includes a host CPU, a host memory and a display, wherein the device is coupled to the computer system, wherein the device includes an embedded CPU and an embedded memory, the method comprising:
- storing a graphical program in the host computer system, wherein the graphical program includes a diagram comprising a plurality of nodes;
- compiling the graphical program in the host computer system to produce a compiled graphical program;
- downloading at least a portion of the compiled graphical program to the embedded memory comprised on the device;
- the device executing the at least a portion of the compiled graphical program;
- the device transferring debugging information to the host computer system during the device executing the at least a portion of the compiled graphical program;
- the host computer displaying on the display the diagram of the graphical program during the device executing the at least a portion of the compiled graphical program;
- and
- the host computer system displaying the debugging information in the diagram in response to said transferring, wherein the host computer system displaying the debugging information comprises the host computer system highlighting execution of said nodes in the diagram as said nodes are executed in the device.