Jump to content

patjdixon

Members
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    1

patjdixon last won the day on September 14

patjdixon had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

patjdixon's Achievements

Explorer

Explorer (4/14)

  • Dedicated Rare
  • One Month Later
  • Collaborator Rare
  • Reacting Well
  • First Post

Recent Badges

2

Reputation

  1. Thanks James, that is the answer. I duplicated the workbook and got the Error Report. I assume this always happens when you have a CSV import?
  2. I have items imported from a CSV, and they show up in Workbench and I can create signals from Value Search. However, if I try to use any of the item in a formula it says The item with ID 00000000-0000-0000-0000-000000000276 could not be found
  3. This is great, but in my case I already have a topic and worksheets created. What I would like to do is append the end of each Organizer worksheet with the appropriate plot. For example, my worksheets could be 'Tensile' , 'Burst', 'Tear', and 'Fold'. On each one, I want to append the plot of the property to the worksheet, so 'Tensile' would have a plot of Tensile, 'Burst' a plot of Burst, etc. I cannot figure out a way to do pull/push to make this work. Any ideas?
  4. I have DataLab code that generates a plot: I thought there was a way in DataLab to push "ax" to an Organizer topic/sheet, but I can't find any information on how to do this. The result I am looking for would be like: Is there a way to do this, or do I have to export an image from DataLab and then manually import it into Organizer?
  5. The problem was: RampCond_Tags['Archived']='True' This should not be set to a string, it needs to be set to a boolean: RampCond_Tags['Archived']=True
  6. I get an error for Maximum Duration:
  7. I am having trouble removing signals from DataLab. I tried this, and it looks like it set all signals to ARCHIVE: Notice the ID 18B29A83-783F-475D-B2BB-7ACF2BFB8362 for QCS_BasisWeight_RampCond says it is Archived: However, in WorkBench the same ID shows it is not archived: How can I use DataLab to remove/delete/archive signals?
  8. I figured it out! Set all-properties to True. Lab_Pred_DF = spy.search({ 'Name': 'Lab_*_PRED', 'Scoped To':scopedtoid }, all_properties=True) Lab_Pred_DF
  9. I am trying to access the 'Formula Parameters' on specific signals that I created. I notice that if I do a spy.search to return the signals I created, when I try to show 'Formula Parameters' they are not there: However, if I do a spy.search on a worksheet, I can access the 'Formula Parameters': Notice I am access the same signal ID in both cases. Is there some way to do spy.search on specific signals and have that search return the 'Formula Parameters'?
  10. I had an archived asset tree 'PM_SIM_AssetTree' with items in it that were not archived. This was because of a prior error on my part. To fix it, I used an API call to delete it. Afterwards, the script runs each time and overwrites the existing tree
  11. I do have archived items. What do I do to fix this? Do I use remove()?
  12. What I am trying to do is create a DataLab script that will create an asset tree regardless of whether it is a new tree or an existing tree in the workbook. Ideally I would just like to overwrite whatever tree is already there so that every time I run the script I end up with the same asset tree. The problem I have is that apparently every time spy.assets.Tree is used, it tries to create a new tree. This contradicts the SPy documentation for Asset Trees 1 - Introduction, which says: "Say you have an existing asset tree in Seeq, perhaps from an external datasource like OSIsoft PI AF, and you wish to clean up the tree or add calculations to it for further analysis. You can define a tree in SPy using this existing tree as a starting point by referring to it by name in the spy.assets.Tree input." If I try to create a reference to my existing tree PM_SIM_AssetTree using PM_SIM_AssetTree = spy.assets.Tree('PM_SIM_AssetTree', workbook=scopedtoid), I get an error saying that there is an invalid item. The path suggests that it is trying to insert a new tree instead of creating a reference to the existing tree: It doesn't matter whether I use workbook=scopedtoid or workbook=workbook_name, I get the same result. I know that the scopeid reference to my workbook is correct. What is required to do either of these? - detect the existence of a tree and remove it so that I can create the new one - create the tree everytime with overwrite if it already exists
×
×
  • Create New...