Hello,
I am coming from using Ca_Matlab-1.0.0
Previously i could use this command
channel_ADC1 = Channels.create(context, ChannelDescriptor('integer[]','mcaTest:aim_adc1')); Data_Array = channel_ADC1.get();
to pull an array of integer values from my hardware device via the matlab code.
I decided to try and rework my code to use the new version of Ca
Currently i am attempting to utilize this new version ca-1.3.2-all to do the same with the following code
channel = Channels.create(context, ChannelDescriptor('mcaTest:aim_adc1',java.lang.Integer(0).getClass())); value = channel.get()
But i cannot seem to get it to actually output an array of values.
This is hindered because i do not particularly find the
java.lang.Double(0).getClass()
type definition to be intuitive, at least not as intuitive as the previously used string based selections 'integer[]', 'double', etc in version 1.0.0
I have tried several iterations
Integer[], Integer[0], Integer[1],Integer(1), etc, etc to no avail.
Could you potentially expand the example section of the matlab code to directly explain the various type definitions available for use within matlab, with their proper format, etc.
as well as add an example pulling array data?
Hello,
I am coming from using Ca_Matlab-1.0.0
Previously i could use this command
channel_ADC1 = Channels.create(context, ChannelDescriptor('integer[]','mcaTest:aim_adc1')); Data_Array = channel_ADC1.get();to pull an array of integer values from my hardware device via the matlab code.
I decided to try and rework my code to use the new version of Ca
Currently i am attempting to utilize this new version ca-1.3.2-all to do the same with the following code
channel = Channels.create(context, ChannelDescriptor('mcaTest:aim_adc1',java.lang.Integer(0).getClass())); value = channel.get()But i cannot seem to get it to actually output an array of values.
This is hindered because i do not particularly find the
java.lang.Double(0).getClass()type definition to be intuitive, at least not as intuitive as the previously used string based selections
'integer[]','double', etc in version 1.0.0I have tried several iterations
Integer[],Integer[0],Integer[1],Integer(1), etc, etc to no avail.Could you potentially expand the example section of the matlab code to directly explain the various type definitions available for use within matlab, with their proper format, etc.
as well as add an example pulling array data?