05-06-2015 08:43 AM
MAX version 14.5.0f0
DAQmx version 14.2
Hi, I'm stating to look at the logging feature.
I created a Task in MAX with 4 channels on a simulated USB-6255 device.
Set the Logging mode to Log and Read
Then in my 100% fully functional C++ code to run the Task.
It uses the DAQmx_Read_ChannelsToRead method.
Then I get the error -201300 DAQmxErrorAttributeNotSupportedWhenLogging
Why?
-cpede
Solved! Go to Solution.
05-07-2015 07:31 AM
OK, it seems that you cannot change the number of channels AFTER you have configured the logging?
-cpede
05-19-2015 05:38 AM
Hi cpede,
Once you have set up the channel and the task you can't change the parameters of as task that is running. Would it be possible for you to create multioke tasks and switch between them depending on what you which one you need.
05-19-2015 06:00 AM
This is not a problem for me, I just wanted to understand what was happening.
I created a task in MAX including the logging, then I loaded and changed the task programmatic using the DAQmx_Read_ChannelsToRead method.
-cpede
05-19-2015 06:15 AM
Hi cpede,
Once that task had been created you won't be able to modify it at run time. So this is expected behaviour.