User Tag List

Results 1 to 6 of 6

Thread: Named variable object

  1. #1
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Named variable object

    Hello

    How to access named variable object when its saving a file?

    I trying change a string in the array, but when its saving a big file a can't access the variables of the object.

    Why?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Named variable object

    I was not aware that the Named Variable Object was multithreaded...for me it actually freezes the application until it finishes saving and then continues. Could you upload a sample MFA to replicate this?
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named variable object

    Hello LB,

    It freezes the app if you choose set 0 to the second option, if you set 1 (use own thread) it work fine, but when load/save file can't access the variables. When its loading no problem.. but when saving its not good.

    the csv file load and save data very fast, but the ini file is slowest =p try to save a file with 1000000 variables... if you use csv file will work fast, you can save it as ini to try access the variables when saving.. but you can't access.

    cheers

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Named variable object

    Ah I see, I had not seen that option somehow.

    I actually think it may be a bug that you can access the variables while it is loading, or a limitation that you can access them while loading but not while saving..

    The only solution I can think of is a rather memory-hoggish one: have two instances and use both for making changes, one for reading and the other for saving. Although I am not sure how the NVO works if you have it set to use global data instead..
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named variable object

    Hello, LB.

    Thanks, I think that is a good idea, I will try to use one more object to save the file

    cheers

  6. #6
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named variable object

    Hello LB,

    working with 2 objects is to difficult =p

    I will try to contact the developer to try unblock access to the variables when saving.

    Cheers

Similar Threads

  1. Another Named Variable Object question
    By alxmrg in forum Hardware Accelerated Runtime
    Replies: 15
    Last Post: 26th May 2010, 05:25 PM
  2. Named Variable Object
    By MechatheSlag in forum Extension Development
    Replies: 1
    Last Post: 2nd December 2008, 03:35 AM
  3. The Named Variable Object Global?
    By ZayLong in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2008, 09:03 PM
  4. Decimals in the Named Variable Object
    By netninja in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th November 2007, 11:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •