Graphics

 View Only
  • 1.  What kind of VB scripts are supported in Xpression?

    Posted 12-21-2016 06:19
    We have a task to show some SMS\Phone voting graphics. Provider, that recieving and counting sms\calls gives us "not very nicely formatted" text file or even byte stream. It's basically just unformatted stream that I can handle in "normal" vb.net. But for embedded in XPression vb.net i have many questions:
    1. Can I use "using" directive (for example using system.io)? Because i really need streamreader or something similiar
    2. What kind of usual VB syntaxis I can use and cant use?
    3. Can I call another process from vb script in XPression and pass the result of it to Xpression variable?
    and so on...
    Is there any documentation regarding not only Xpression sdk/api calls, but the scripting itself? Embedded IDE not showing what operators I can use and what I cant.


  • 2.  RE: What kind of VB scripts are supported in Xpression?

    Posted 12-21-2016 18:24
    The scripts executed from XPression run inline with the render process and as such must be realtime and non-blocking. If you do anything like FileIO in the script you can block the entire render and cause stuttering in your output.

    I would recommend you do your parsing in a standalone application and either output the data into a format that can be read by XPression Datalinq parser (such as an XML file); or you parse the data in VB and use the XPression API to send data to XPression (not through scripting).

    This video shows how to access the XPression API from an external application: http://www.rossvideo.com/graphics-system/xpression/xpression-u/video-tutorial-301/

    The help file for the API SDK can be found in the XPression folder of the Windows Start Menu.

    #XPression


  • 3.  RE: What kind of VB scripts are supported in Xpression?

    Posted 12-22-2016 05:36
    Thank you for answering. Now I see that best way is to control expression from my app without any limits, literally. beginning to love this CG )
    #XPression