Graphics

 View Only
  • 1.  Changing datalinq number string to int in visual logic for audio meter

    Posted 05-23-2016 13:21
    I have created a simple windows app that checks the audio level of a source on the computer and sends that as an ASCII value to datalinq a couple times each second. In my scene I want to make that value representative on a quad so it is like a moving audio level for our phone presenters.

    I would like to do this in Visual logic, but I cannot find a way to make the datalinq value into an integer which I can then work with. Instead it remains a string and I am unable to perform any math functions on it. I have tried this by using the datalinq visual logic box and also by using a text field that is tied to the datalinq.

    Is there a Cint() type of thing for visual logic? Any other ideas as to best make use of this?

    Mike


  • 2.  RE: Changing datalinq number string to int in visual logic for audio meter

    Posted 04-09-2019 18:21

    I have the same question.  i am looking at taking an xml feed with a string value and performing math operations to it, so would need to convert it to a decimal.  Is there any way to do that?

    Cam


    #XPression


  • 3.  RE: Changing datalinq number string to int in visual logic for audio meter

    Posted 07-08-2019 21:44

    Still looking for an answer to this one.  It looks like there is a FormatFloat function block that converts a value to a string, but I need to convert a string (always a number) to an integer.

    Thanks

    Cam


    #XPression


  • 4.  RE: Changing datalinq number string to int in visual logic for audio meter

    Posted 01-03-2020 02:41

    I am also looking for this!


    #XPression