03-27-2017 02:30 AM
Sorry.. i forgot to attach my VI.
Here it is.
03-27-2017 02:37 AM
Sorry..Forgot to post the VI.. Here it is
03-27-2017 02:42 AM - edited 03-27-2017 02:45 AM
Hi Pa1,
can you answer the questions from my last post?
Especially the question on TermChars?
Does your device wait for a special TermChar when receiving commands over RS232? What is mentioned in your manual on this topic? RTFM…
Using BytesAtPort is also wrong here! How many bytes do you expect in the receive buffer immediatly after sending a command? Either use the TermChar described in your manual or request the exact number of bytes in the expected message!
03-27-2017 02:55 AM
Here are the answers.
1) The coonections are perfect.
2) I have sent only the *IDN?\n command
3) What is TermChars?..Is it terminal characters. I have tried it with \n and without it..but the result is same
4) VI is attached?
03-27-2017 03:03 AM
03-27-2017 03:10 AM
Hii..GerdW...
The result is the same even if the \n is added.
03-27-2017 03:55 AM
03-27-2017 06:05 AM
Thanks GerdW...
Are RS232 and GPIB command format the same?
03-27-2017 06:54 AM
Hi Pa,
Are RS232 and GPIB command format the same?
As has been mentioned several times before: Read the manual of your device! RTFM…
(Most often the commands are the same. But as I already mentioned above the termchar may change.)
03-27-2017 09:19 AM
You are not configuring your serial port!
Try something like this: