05-14-2008 09:46 AM
hi, I have the same spectrapro 500 and tend, to connet it as Juanni had made with the RS232 port . As noticed in the usual manual I used the cables and connection. The main problem is that I can’t receive any data from the device. In order to communicate with, I use the Visa without any success.
05-14-2008 10:50 AM - edited 05-14-2008 10:54 AM
Can you communicate via the Acton software? Have you tried communicating with hyperterminal? I had good luck communicating via hyperterminal, but no luck with visa for quite some time. You say that you cannot receive info from the mono... I seem to remember having this difficulty. Does the grating respond if you tell it to go to a wavelength? I wrote a vi to scan mine, but it is quirky and on an old computer with an old version of labview. Among the quirks that I remember:
1) don't forget that the serial communication is case sensitive (you have to use all caps). Hyperterminal seems to take care of this for you, but you have to do it yourself in labview
2) I couldn't make the /n codes work in the serial com, so I had to append the carraige return character using concatenate strings and the CR character on the strings palette
3) sometimes it took longer than others for the controller to return the OK response (depending on the command/query), so I just made a VI that looped reading the port and checking the string for "OK". I seem to remember a few random spots where I had to throw in a couple of ms of delay to keep things from hanging
If you don't have any luck, I can post my VI, but it is really quirky. Good luck with getting any help out of PIActon with such an old instrument.
J
05-14-2008 11:03 AM
juanni wrote:
2) I couldn't make the /n codes work in the serial com, so I had to append the carraige return character using concatenate strings and the CR character on the strings palette
05-14-2008 11:29 AM
one other issue I just remembered:
4) I threw in a few random visa "reads", (e.g. after opening the visa serial) since the whole thing stopped up if I didn't get a message from the controller. This is probably just my ignorance of serial com, not a quirk.
09-16-2008 04:48 AM
09-18-2008 11:25 PM
i have some trouble as you...
juanni , can you post your vi for me? thanks a lot