08-06-2015 04:14 AM
Hello,
I'm trying to develop an automated calibration system for the PTB220 digital barometer. Right now I'm trying to test the barometer with the example provided here : Help ->Find examples ... ->Hardware Input and Output -> Serial -> Continuous serial write and read. I fill in the parameters and when i execute a commande the response is exactly the same as the commande fro example if I ask it to continuously provide me with the pressure using the "r" commande I get as a result the letter "r" continuously printing instead of the pressure.
Another thing : the barometer works with the Hyperterminal.
PTB220 documentation : https://www.mesonet.org/files/instruments/VAISALA_PTB220_UserGuide.pdf
RS232 to USB converter : Edgeport 4
Thanks.
08-06-2015 11:45 AM
08-07-2015 04:52 AM
I didn't forget the termination character, I tried bothe /n and /r, here is exactly what I'm doing :
Thanks.
08-07-2015 09:00 AM
08-07-2015 05:35 PM
I have tried it both with and without flow control, same result. I've seen here http://digital.ni.com/public.nsf/allkb/171D2D70CFB66E74862571390062D12B that this problem occurs either because of the termination character as you said or the speed with wich labview communicates with the instrument, I'll try this second option. But what makes me wonder is that it returns the same input if the was a problem with the settings shouldn't it just return some gibberish?
08-07-2015 05:42 PM
08-08-2015 03:26 PM
Read my first post I tried commands from the manual such as the "R" command. The thing is it echos back anything you try. Also both R and *IDN? work on the hyperterminal.
08-08-2015 03:43 PM
08-08-2015 03:55 PM
I'll try your suggestion (MAX) though I won't get access to the equipment until the week after the next, the person in charge of the equipment will be away on business. For the attachment I tried multiple things that day and ended posting the last thing i tried.
Hope you still get back at me then and thanks.