11-13-2007 05:13 AM
11-13-2007 08:31 AM
11-14-2007 03:01 PM
11-14-2007 03:10 PM
You could be sending the wrong command, have the wrong com settings, have the wrong type of serial cable, sending the correct command but in the wrong format, sending the correct command but not the correct termination character, etc. There'sa lot of things that could be wrong with a serial connection. You mention using a program to communicate with it. Is this a program from the vendor or a regular terminal emulation program such as Hyperterminal (or whatever the equivalent is on on Linux box)? If it's a program from the vendor, there could be a lot the program does to format the commands before they are actually sent. Assuming you have a programming manual, I would recomend you first get everything to work with a terminal emulation program. Doing it in MAX should work about the same it's just that if you have problems, it's more likely that the vendor can help explain why a standard program like Hyperterminal does not work.
If you have an electronic copy or a link to the programming manual, someone could also give that a look.
11-14-2007 05:40 PM
11-14-2007 07:13 PM
First, the link only brings me to gmail. You can attach the document to a post and it will be hosted here. Just click the browse button next to the Attachment box below the message body.
No, you don't have to create a driver. A driver is what you would write with LabVIEW if you chose to do that. Communicating with MAX or Hyperterminal would be enough to test the connection.
11-14-2007 07:16 PM
11-14-2007 07:27 PM
It looks like the commands are straight ASCII so using MAX should be no problem. In the VISA test panel, when you first open it, it has *IDN?\n as the default. Did you include the \n with your command or replace it with a \r? The \n is a special way to include a LF character and the \r is a way to include a CR character. According to the manual, you need to have a CR at the end of each command. If you haven't, try adding it and see if it makes a difference.
11-15-2007 03:03 PM