NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I implement commands in Labwindows?

I have a target with 8051 microprocessor. This microprocessor have a program in MS_DOS.
I want to do an emulation with Labwindows.
I comunicate with pc by RS232.
In the MSDOS program I use the following commands:

sp(back_espace key)= Initialitation board.
vx(direction memory)(enter key)= Readed memory

My question is: How can I implement commands in Labwindows?
0 Kudos
Message 1 of 3
(3,058 Views)
Hi,
erm, could you re-post this question in the LabWindows/CVI forum?
You might get a few more answers in there

When you talk about emulating, I assume you're refering to getting Windows (which flavour - 9x/NT/me/xp/2k) to do some sort of display depending on button presses from a user interface, or are you wanting to turn the whole PC into an emulator, whereby another PC communicates to it through the serial port, and you want the emulating pc to react as though it was the 8051?

Thanks

S.
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 3
(3,058 Views)
Im not sure what you would mean by commands, are you trying to have CVI execute something in the dos prompt? If so, you can use the system function for that. It starts running a program and waits for it to exit.

If you do not want to wait for the program to exit,
use the LaunchExecutable() function in the Utility Library.

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,058 Views)