Jump to content

plugin_preCharacteristic_pcm.txt


---
 Share

Recommended Posts

Having trouble using this file.. calypso is not reading it on the first run of the program.  It only starts reading it after a second run or re-crunch... ie if i run the part.. sn1, it won't read the file, but if i run sn2 or re-crunch sn1, then it reads it. 

Edited
Link to comment
Share on other sites

  • [Jo...] changed the title to plugin_preCharacteristic_pcm.txt

figured out what the problem was... i needed to put my copy file code in the pre_start pcm file instead of start.... but this leads to another problem .....

What i am trying to do is set a characteristic attribute to every characteristic in the program.  the same attribute will be the same for everything except the 1st characteristic..

i have a counter variable that i am using so the code looks like

setCFAttribute("u_my-var","null")

if counter == 1 then

setCFAttribute("u_my-var",my_var2)

counter=2

endif

 

this works perfectly except if the first characteristic is a  loop.. ie  (1,,8,1)mydim....  however if i manually put it into the pre-settings with just setCFAttribute("u_my-var",my_var2), it puts it in...   what am I missing?

Link to comment
Share on other sites

 Share

×
×
  • Create New...