Convert a Text Channel to a Asynchronous String Channel using C++ script
Is it possible to convert a Text Channel (for eg Global Variable) to an Asynchronous String Channel using C++ script in Math?
Technical support
Dear Dino,
unfortunately, it is not possible to "output" a string channel with the C++ script.
Regards
Hi. Thanks for the prompt response.
Page 60 of the DCOM manual talks about String Channels and page 298 tells how to add data to them using the AddAsyncString method. Questions then
- How can you create a string channel using Dewesoft setup?
- Can string channels be treated as asynchronous channels so each data will have a value and a timestamp?
Technical support
Dear Dino,
you can only create channels when creating new custom plugin. DCOM application is more appropriate for Automation of Dewesoft software.
Can we ask what is the application behind it? You can also reach the GlobalData in measurement. You can also use "discrete" values, where you can define a string description for a certain value of channel.
Regards
Hi
I would like to have a "string channel" which is asynchronous i.e value changes at random intervals. Assuming this channel is some kind of a list or array, each element will have a value and a timestamp (time when value changed).
My understanding is right now in a Dewesoft setup, you can only create a "text channel" which can only accept a single value. This is no good for my application.
I assumed there may be way of converting the single valued "text channel" to an asynchronous "string channel" using your C++ scripting feature, to which you have already said NO.
What are my other options in achieving this?
Regards
Technical support
Dear Dino,
you can try to adjust this with the Discrete display widget, where you can assignee a string to a different integer values of the wanted channel. First you need to add the Discrete display widget to the screen and assignee the wanted channel.
Then you can define a string to a different values, which will then be presented in a tabular or in a different widget. But the accepted values are only integers.
Regards
Hi,
Unfortunately, my string values cannot be "predefined",as they are not states.
They are different messages generated at random times. Any luck?
Technical support
Dear Dino,
this can only be done by custom plugin.
From where do you get the string values, which you want to present in Dewesoft?
Regards
Technical support
Dear Dino,
unfortunately, asynchronous string channel can only be created with custom plugin.
Regards