10-08-2012 09:57 AM
New to LabVIEW and have my first task. I have connected to a Setra pressure transducer via rs232 in Com port 4. I'm trying to track and log pressure over a given period of time. A command of "P" must be sent to the transducer for it to return a pressure reading. By searching, so far I have VISA open, close, read and write on my block diagram. I tried to create a constant from the VISA read resource name and connect it to COM4, but that did not work. Not sure how to accomplish my goal or how to wire everything up correctly. Any help for a beginner is appreciated.
10-08-2012 10:06 AM
Use the example finder (Help->Find Examples...) and search for something along the lines of "simple serial communication". There is a good example in there.
10-08-2012 10:28 AM
I get Error -1073807246 at the VISA configure serial port. It tells me the resource is valid, but the VISA cannot currently access it. Is this because I have not sent a "P" command to the device?
10-08-2012 10:35 AM
10-08-2012 10:45 AM
That error is due to some process already having exclusive rights to the port. Do you have Hyperterminal or something else the could be using the COM port open? Did you not close out the VISA reference during previous runs?
10-08-2012 01:05 PM
You were correct! I had forgotten to close digiquartz, which I used to test my connection. Now I can communicate with the transducer, just trying to get it to give me a pressure reading. I'll be back!