04-24-2011 10:21 PM
Hi,
I am having a problem of communicating with the hardware. I changed the computer and I installed all the drivers of the the hardware into the new computer. I was controlling the 3 different hardware equipments with RS232 communication, but when I changed the computer I am getting the error'1073807343 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi' for one of the hardware components(for thorlabs sc10 shutter). For the piezostage and translation stage control, I am getting this error:'1073807346 occurred at VISA Write'.
And how can I automatically redefine these adresses? Or is there any other source of the problem?
Best,
Serkut.
04-25-2011 12:08 PM
I'd say your problem is that you're trying to open a session to the parallel port, and you said you're trying to use the serial (RS-232) port. Check the VISA resource name that you're using in the code. Is this a front panel control, or is it hard-coded?
04-25-2011 12:42 PM
It is actually in the fron panel, the problem is also with the drivers I gues because when I open the Measurement and Automation manager, it says there is a problem with one of the communications showing an exclamation mark in a yellow triangle!
04-25-2011 04:33 PM
Hi kutal,
Looking at the device it is a RS232 device which would show up as COM(some number) and not LPT1 (which is a parallel port). Make sure your resource name matches the correct COM port on your machine that is connected to the instrument.
Thank you!
04-27-2011 06:14 PM
Hi back,
I am trying to get the in communication with the hardware and I have tried to write and read through VISA test panel. I guess the problem is due to reading from the serial port. I have attached a word document. I am really in need of help!
04-28-2011 09:36 AM
First, do not embed images inside of a Word document. Attach the image to the reply directly. DO NOT POST BITMAPS, AND DO NOT CHANGE THE EXTENSION OF THE FILE TO GET AROUND THE BAN ON BITMAPS.
Second, do not use a proprietary format like Word 2007. The world does not revolve around Microsoft, despite what they think.
Third, you haven't really told us anything. What happens when you try it with the VISA test panel? Do you get an error? The tab that you are on is the write command. What happens when you do the read?
Fourth, have you tried communicating with your device using a simple communication program, like HyperTerminal?
Fifth, have you verified in the device's programming manual that it actually implements the "*IDN?" command? Many devices don't, so sending this command is pointless.
04-28-2011 10:40 AM
I am really sorry for the inconvenience.
Ok I have tried to write and read , I didn't get any error from writing but for reading I am getting the error showed in this attachment. No, I didn't use the hyperterminal.
04-28-2011 10:48 AM
Did you try a search for that error code? That is a timeout error. It can be caused by several things, including an incorrect configuration of the serial port, or (most common) not configuring the termination character correctly, or the instrument not implementing that command. Have you read the programming manual for your instrument? Does it say whether a termination character is used so that you can tell VISA Read when it has to stop reading? If the instrument/device uses a termination character, then you need to configure the VISA session to enable termination character for reads, and to specify what that character is. This way, a read will stop once it sees that termination character. Otherwise, the read operation will sit there, waiting until it sees 1024 characters, and eventually time out when they don't show up.