Rob

Members
  • Posts

    8
  • Joined

  • Last visited

Rob's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am trying to Insert a line of data into an AZURE ODBC connection, at a specific time interval in lieu of using the Logging method because for some reason AZURE does not like the SQL that DAQFactory is using in the default.
  2. Trying to calculate the time duration since a logging event in minutes. Storing SysTime() in a variable and want to calculate the time in minutes since.
  3. This is the image captured manually This is the image captured via sequence: page.Capture("TURB_KW_GRAPH","C:\DAQFactory\UNIT_KW_REPORTING.jpeg")
  4. I am currently using 17.1 release.
  5. For some reason, when I perform a page.capture of a graph, the resultant .jpegs are all the same size and completely black
  6. Thank you I restarted the app, and it did begin to load correctly.
  7. So, I updated the global to a "string" and I am still getting the NaN's private statemodefile = file.open("41000063_50_STATE_LIST.csv",1,0,0,1) global string lookup_statemode = File.ReadDelim(statemodefile,-1,",",chr(10),0,1) file.close(statemodefile) I am reading a standard .csv file 0,Not Ready - Stopped - NONE 1,Not Ready - Stopped - WRN - WRN 2,Not Ready - Stopped - AL2 - AL2 3,Not Ready - Stopped - AL2/WRN - AL2/WRN 4,Not Ready - Stopped - AL1 5,Not Ready - Stopped - AL1/WRN 6,Not Ready - Stopped - AL1/AL2 7,Not Ready - Stopped - AL1/AL2/WRN
  8. I am working on a "Lookup" table for converting a numerical value, into a string value for displaying a interpreted machine state. For some reason, I cannot read the string using the File.ReadDelim function, with the [string] variable set to "1" private statemodefile = file.open("XXXXXXXXX_STATE_LIST.csv",1,0,0,1) global lookup_statemode = File.ReadDelim(statemodefile,0,",",chr(10),-1,1) file.close(statemodefile)