From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-10-2014 11:19 AM - edited 04-10-2014 11:42 AM
i have a device that mesures pressure THERMOVAC TM22 by LEYBOLD the user's manual is here.
the communication to this device is through its RS232C port and with the 7-bit ASCII code.
to be clear i need some explaination about writing with 7-bit ASCII code:
the user manual in page 18 and 19 gives me some instruction about what should i write to get mesurements ( ,,MES R TM1 <CR>'' ) but i don't know, shoud i write it as it in the write buffer or what and to read information what should i do?
i did write it as it and an error (-1073807339) in the visa read.
the probleme is that i'm new with labview so after reading some topics in NI forums i found this guy who have a similar probleme as mine with the same error but i didn't understand a lot. So can anyone helpe me plz.
( sorry for may ignorance and my spelling)
04-10-2014 11:38 AM
04-10-2014 12:16 PM
ok i'll try hyper terminal tomorrow but first i need to ask how i write this instruction ( ,,MES R TM1 <CR>'' ) in the write buffer with 7 bit ascci code ?
04-10-2014 01:52 PM
04-10-2014 03:03 PM
i'm using one this VI take a look and tell me if it could do the task:
04-10-2014 03:42 PM
04-10-2014 04:22 PM
I saw another serial related thread today,m I think this VI has the same problem. You should almost never use BytesAtPort to determine the serial read. This will return immediatley, probably before the instrument has responded. Instead, enable the termination character when you initialise the port and wire a large number to Bytes To Read. Then the Viea Read will wait for the termination character and return the proper response.
04-10-2014 04:45 PM
sorry but i don't understand what do you mean about "check the display mode of the string control as I already said."
sorry i'm super amateur
04-10-2014 04:54 PM
Right click the string control and set display mode to codes display. Then you know what you are sending. try my idea too
04-10-2014 05:50 PM
thank you guys for helping meand as you adviced me i did modifiy my VI and i hope this will work, i'll test it tomorrow: