01-20-2009 09:03 AM
Unless you are trying to communicate to the same RadioShack DMM (and it does not look like you are), you do not have the same problem and the setting of the handshake lines will not do you any good.
Please provide the make and model of the instrument. Also, have you tried communicating in Hyperterminal? That was a recomendation early in this old thread. Have you verified the com settings and that you are using the correct type of serial cable? There are two basic types - straight-through and null-modem.
Also, you would not want to modify the shipping example like the image shows. I also have no idea what you clicked on to get that list of properties. It certainly wasn't the VISA property node.
01-20-2009 09:06 AM
01-20-2009 09:12 AM
01-20-2009 09:13 AM
Hi,
is it necessary to connect a cable to the Com1(RS232 with CompuLab)? I thought the simulation uses the buffer of Labview to read it out?
There is no more Error message in the Basic Sample since I use the new modified one with the readTimer. But there is no Read Output? Here is the error-debug:
01-20-2009 09:17 AM
I understand your worries. I'am a german beginner student and it is not too easy to know what you mean.
But I will try.
Best regards
Sabrina Bangert
01-20-2009 09:20 AM
You are still not making any sense to me. What the heck is CompuLab and what kind of simulation do you think you are doing. Posting the block diagram of a standard LabVIEW VI is not productive either. There is absoultely nothing to debug in that code.
Do you actually have an instrument connected to the com port?
Please fully explain (in words) what you are doing.
01-20-2009 09:28 AM
01-20-2009 09:32 AM
Hi,
with hyperterminal you mean something like that? But how do I use in this hyperterminal the existing BasicSerialWriteAndRead.vi?I have no idea.
01-20-2009 09:55 AM
sabrinabangert wrote:Hi,
with hyperterminal you mean something like that? But how do I use in this hyperterminal the existing BasicSerialWriteAndRead.vi?I have no idea.
You don't use the BasicSerialWriteandRead.vi in hyperterminal. If you have problems with a LabVIEW serial VI, you need to determine whether you can communicate with the device using a terminal program such as hyperterminal. To be certain that your baud, parity, and stop bits are correct. That you are using the correct cable (null modem vs. straight through) and whether you need any type of handshaking. Do you need to send a special command? Are there termination characters you need to send? That takes any LabVIEW programming questions out of the equation. Once you get it working in a terminal program, then you can apply that knowledge to make the LabVIEW program do what you want.
01-20-2009 10:02 AM
Hi,
I use LabView 8.5. I did not connect any hardware device to the com ports.
1. For the first I only wanted to try out the exemple "BasicSerialWriteAndRead.vi".
2. But I get no read-output -- (but no error message, nothing. It terminates after timeout without any message)