09-04-2020 10:38 AM
Im currently working with a HMT330 Visala dewpoint and temperature transmitter and its currently timing out everytime i start the program. i need some of the information parsed, this model isn't currently supported by labview, however in the past we were able to get it to work. a few errors that i get is "-1073807346 VISA write" "-1073807246 propert node (arg 1) in VISA configure" and "-1073807339 VISA read" . Ive tried all the solutions online with not much success. attached is some of the scripts running if more information is needed i can provide it if need be.
09-04-2020 11:16 AM
09-04-2020 12:07 PM
Did you set that string constant to codes view? If not then that could explain the timeout error. As for your other error, is it possible that you have some other program open which has the port reserved?
09-04-2020 12:50 PM
so for the arg 1 i found out that only occurs when i have it opened up in hyperterminal (simple mistake to fix), as for the other solution the byte number (45) right next to the read is where i have it held constant right now, and changing where it reads from hasnt done anything unless i have it confused with something else
09-04-2020 01:19 PM
In that string that you're sending is the constant set to show codes? If not you are sending the wrong command string.
09-04-2020 01:24 PM
what do you mean by that?
09-04-2020 01:49 PM
@Jkahn wrote:
what do you mean by that?
You have a string that says "send\r\n" which is the string that you're sending. If that constant is not set to codes view then you're sending a literal "send\r\n" instead of the intended "send" with a carriage return and linefeed appended. Also, what is your termination character supposed to be?
09-04-2020 02:10 PM
Im working with someone elses code so i wouldnt know if it is working the way that its intended how would i check that
09-04-2020 02:36 PM
Could you copy and paste just the code that you pictured into a vi and post it?
Also, check the manual for the device to verify the termination character that it uses. I'm assuming that it uses a termination character, so you should set Enable Termination to T and put a byte count greater than expected on your read.
09-04-2020 04:09 PM
so i talked with the support help of Vaisala and i looked into it apparently the settings were turned off and im not quite sure how to turn them back on