From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-17-2007 08:06 AM
07-17-2007 09:42 AM - edited 07-17-2007 09:42 AM
Message Edited by smercurio_fc on 07-17-2007 09:43 AM
07-17-2007 02:50 PM
smercurio,
thank you for your help but after trying your idea it didnt seem to work the way i was hoping there really isnt to much to my project it just opens the com port and reads when the read button is pushed i just need the information from the packet that i bolded in my last post. I have found out that in a string indicator that reads hex the information it reads could look like this:
0028 387E 000C 8356 782E 0020 0018 367E
with that kind of string i dont know if that is the reason im not getting the right data out of the string as i would like with your solution What do you think about using scan string for token and set my token to be 7E
07-17-2007 04:49 PM
07-17-2007 06:30 PM
A couple other questions, what is the format of the two parts of the packet that you need to convert to decimals? Are they just integers? Also you should be planning on testing the checksum (the last byte?). It's there to tell you whether you can trust the rest of the data.
Mike...