I am using Labview 8.2 to communicate with a microcontroller using serial write/read (at least I am trying to...).
I open the example file 'Basic_Serial_Write_and_Read.vi' and as soon as I press 'Run' the following error appears:
'Error -1073807202 occurred at Property Node in VISA Configure Serial Port (Instr).vi-> Basic_Serial_Write_and_Read.vi
This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.'
The same thing happens with every example using VISA serial communication I try to open.
My OS is Windows XP SP2.
Any ideas as to what is wrong and how I can fix it?
Thank you!
Visa Configure Serial Port takes too long to timeout (too old to reply) holomorph. Create a property node for the VISA control and set the 'Timeout' property to something like 1000ms. Yea I had opened the Configure Serial Port vi, and noticed it was just a property node wrapper, but didn't read.
Hello All, What exactly is the Termination Character on the VISA Configure
suppose to do. I ask this because it seems to behave different on
different PC's.
suppose to do. I ask this because it seems to behave different on
different PC's.
I'm doing work with CCD buses where each message is terminated with a
carriage return. So I initialize the com port with the term char for
that. I was getting some odd behaviour some PC's, so I wrote a small
vi that just reads the port and dumps the data into an array so I
could see what each read was doing.
carriage return. So I initialize the com port with the term char for
that. I was getting some odd behaviour some PC's, so I wrote a small
vi that just reads the port and dumps the data into an array so I
could see what each read was doing.
On some machines, it seemed to work fine, each cell in the array had a
complete message with the char rtn, on others the messages are split
between 2 or 3 cells, or are just not all there.
complete message with the char rtn, on others the messages are split
between 2 or 3 cells, or are just not all there.
Is there something about the port hardware that has to able to use the
term char? The machines that seem to work OK are newer Pentium 3s, the
others that don't work are older Pentium laptops around the 100-150MHz
range. The one exception to this is our PXI-8156B's. They show the
same problem. All of the ports are setup the same in the OS, which are
a mix of Win95, NT4 and 2000.
term char? The machines that seem to work OK are newer Pentium 3s, the
others that don't work are older Pentium laptops around the 100-150MHz
range. The one exception to this is our PXI-8156B's. They show the
same problem. All of the ports are setup the same in the OS, which are
a mix of Win95, NT4 and 2000.
Any Thoughts?
Ed
Ed