KenG

Members
  • Posts

    25
  • Joined

  • Last visited

KenG's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for the reply. Using your port 0 advice, I have been able to get rid of the error. It works from script or configurecomm() 1. change the port to 0. 2. initcomm() or save in configurecomm(.) 3. change the port back to 3. 4. initcomm() or save in configurecomm(). No error.
  2. If I go into the quick device configuration, Select the device name, and go to the configure screen and select save, I get the error: "Unable to initialize Com3: Can't access port. probably in use by another app" The error is correct. I am already using the port. I am just tweaking the timeout setting. How do you "close" a com port before using the Serial Port Configuration so it is no longer "in use" and thus not get the error message ?
  3. KenG

    log errors

    I'm having trouble creating an Onalert sequence per 5.28. I created a script called OnChar. Inside I put ? "OnChar Event " + char. This works I created a sequence named Onalert . Inside I put ? "Alert was captured". This does nothing when I generate errors such as disconnecting the communications line.
  4. I just tried to "look up" the variable by typing component._variablevalue.units and got nothing. How can us users navigate the "keyword" issue? I am assuming caption, precision, font, visible, blink, interval might be obvious, but font size? or speed key? or x size are getting a little harder to guess at.
  5. Haha... I knew it had to be something dumb on my part! Thanks.
  6. I have an U16 channel "Units" that contains 0 or 1. If I enter ? iif(units[0],format("%.3f",23),format("%.1f",23)) into the command / alert it works as expected. if I try to put the same thing inside a variable value component expression iif(units[0],format("%.3f",23),format("%.1f",23)) does not work. global myunits if I repeat the same expression with a global variable inside a variable value component expression iif(myunits,format("%.3f",23),format("%.1f",23)) it works. I have also tried this in the visibility expression with no success. What am I doing wrong ?
  7. Thank you. I look forward to trying the next release!
  8. Hi, I have two displays and when I open a popup window it always shows centered in display 1. How can I programmatically detect where the application window is located so I can set the coordinates for the popup to center where it is?