12-28-2006 03:05 AM
12-28-2006 10:14 AM
12-28-2006 08:52 PM
Thank you for your kind reply. I modified my VI as attached. This will be a pop up keyboard for the user in the field. So, everytime the user wants to calibrate the sensor, he will just put the cursor on the "string to write" and the keyboard will pop-up.
"you could predefine a size 64 string array that contains all the right strings at the right location, then simply index into it using the event number."-I will try to study how can I modify to this.
May i ask additional question regarding the result i am getting after i put the command "hardiron cal". Kindly see the attached screen shots. The first screen shot is my sample LabVIEW VI and the second is the hyperterminal. In the hyperterminal, once i log "hardiron cal", it will give me directions including the Xmin, Ymin, Xmax, Ymax and lastly the offset value. But in my sample program, I can get the directions, but i can't read the min. and max. values. What i am getting is "*" (asterisk) only, i.e.
-36.8 150.3 *
-36.9 149.7 *
-36.7 150.3 *
Why do you think this is happening? I would appreciate any advise. Thank you very much.
12-29-2006 02:39 PM
12-29-2006 08:24 PM
What are other options i can do or test? Thank you for your kind help.
regards,
bong
01-02-2007 11:18 AM
Hi Bong,
Looking at this information, it seems that there is some step that your
instrument requires between each execution of this command; something similar
to a reset. The reason I say this is because the function is not
functioning correctly in MAX or LabVIEW. MAX allows commands to be sent
directly to the instrument, eliminating the possibility of programming
error. Please review the user manual for your instrument, and see if
there is a different command that should be used or if there is something that
should be used between each execution of this command.
Please let me know if you have any further questions. Best of luck on
your application, and have a wonderful day!!
01-15-2007 08:23 PM
01-17-2007 10:20 AM
I have looked through the screen shots that you attached, and could not see anything that seemed out of the ordinary. It seems that the code will stop if you press either the OK or the Cancel button. If this not the case, it could possibly be something with the "hardiron cal" command. The LabVIEW code doesn’t seem to have anything that could be causing this.
Does the “hardiron cal” command work in Measurement and Automation Explorer without stopping?
Please let me know if you have any other questions. Best of luck on your application, and have a great day!!
01-23-2007 12:21 AM
01-23-2007 04:59 PM