I am a project student and I'm very new to LabVIEW 8. My device is using a MSP430F169 microcontroller to run a program using a software, IAR Embedded Workbench IDE though RS232 cable (Connected to COM 1) and display the output using LabVIEW. I'm using the example given in LabVIEW (Basic Serial Write and Read.vi).
Basically, my objective is to run the program using IAR Embedded Workbench IDE with the device connected to COM1 and display the output (the program will display 0 - 9 when any key is pressed on the keyboard) in LabVIEW 8. It Run correctly for the first two key pressed, but it didnt work for the 3rd key. Whenever i Run LabVIEW, it will display this error message:
Error - 1073807253 occurred at VISA Read in Basic Serial Write and Read.vi
Possible reason(s):
VISA: (Hex 0xBFFF006B) A Framing error occurred during transfer.
Under Measurement & Automation:
Error message when i click on Validate:
Could not open a VISA session to "ASRL1::INSTR".
VISA error code 0xBFFF0072.
The resource is valid, but VISA cannot currently access it.
Under Device Status:
VISA returned this device when finding resources, and MAX could use VISA to parse the resource name. The resource is busy, so MAX could not succesfully open a VISA session to the device.
Does anyone know what is the problem? Is it the connection between VISA and my device? the Programming is not compatibale or Configuration of LabVIEW?
Please Help~ Thanks.