Jump to content

ali_rzb

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by ali_rzb

  1. @Fausto Dear Fausto, I wanted to ask if you got a chance to follow up on this issue, Currently, a few projects in our lab are paused due to this issue and we would appreciate it if you could help us resolve this situation. Sincerely, Ali
  2. @Fausto Dear Fausto, Thank you for your reply, I substituted the files you gave , added the toolbox and updated my device ID in the example. Im still getting the error : Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element." The error pops from line 31 of the example : "startBackground(s);" Please advice Thank you for your time, Ali
  3. Hello @Fausto I am using DT9857E, after updating the device ID in the example file I came across this error :"Invalid default value for property 'AsynchronousIoChannel' in class 'daq.dt.internal.ChannelGroupOL': Unable to resolve the name 'asyncio.Channel.empty'' Then I made all the revisions you mentioned namnely : In the 'AsyncOLChannel.m' file, I made the following changes. Line 1: classdef AsyncOLChannel < matlabshared.asyncio.internal.Channel Line 21: obj@matlabshared.asyncio.internal.Channel(pluginInfo.devicePath, ... Line 23: 'Options', channelOptions,... Line 24: 'StreamLimits', streamLimits); Line 35: matlabshared.asyncio.internal.DataEventInfo(remainderIn) ); Line 51: matlabshared.asyncio.internal.DataEventInfo(remainderOut) ); In the 'ChannelGroupOL.m' file, I made the following single change. Line 23: AsynchronousIoChannel = matlabshared.asyncio.internal.Channel.empty(); BUT, now I get this error " Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element" I have attached the two altered m filed in this message. Could you please advise. Sincerely, Ali AsyncOLChannel.m ChannelGroupOL.m
  4. Hello @Fausto I am using DT9857E, after updating the device ID in the example file I came across this error :"Invalid default value for property 'AsynchronousIoChannel' in class 'daq.dt.internal.ChannelGroupOL': Unable to resolve the name 'asyncio.Channel.empty'' Then I made all the revisions you mentioned namnely : In the 'AsyncOLChannel.m' file, I made the following changes. Line 1: classdef AsyncOLChannel < matlabshared.asyncio.internal.Channel Line 21: obj@matlabshared.asyncio.internal.Channel(pluginInfo.devicePath, ... Line 23: 'Options', channelOptions,... Line 24: 'StreamLimits', streamLimits); Line 35: matlabshared.asyncio.internal.DataEventInfo(remainderIn) ); Line 51: matlabshared.asyncio.internal.DataEventInfo(remainderOut) ); In the 'ChannelGroupOL.m' file, I made the following single change. Line 23: AsynchronousIoChannel = matlabshared.asyncio.internal.Channel.empty(); BUT, now I get this error " Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element" I have attached the two altered m filed in this message. Could you please advise. Sincerely, Ali AsyncOLChannel.m ChannelGroupOL.m
×
×
  • Create New...