02-20-2019 02:09 PM
Cher David,
My apologies for not replying sooner. I'm uncertain why you can't find the Property, but possibly you have the wrong Property Node. You need to use the Timing Property from the DAQmx Palette. Here's a Snippet using a simulated DAQ device (I'm stuck at home, we have a "Snow Emergency" day, though it doesn't look so bad outside).
Note that the Property Node says "DAQmx Timing". The first entry is called "Sample Quantity", and it has two sub-entries, as I'm showing here. Note that here we don't need this at all, as the previous Timing function set the Sample mode (Continuous) and the Samples per Channel (10). Don't forget (as I did!!) to wire Samples per Channel into the DAQmx Read function.
Bob Schor
02-20-2019 04:09 PM
Cher Bob,
Once more thanks for your help ...
I have found the problem !
It is because, as I told you, I don't have the MyDAQ device with me. So the timing property node does not have the sub entries.
I have been searching for how to simulate a MyDAQ device with MAX, and I have found the solution. And now I can see the sub propoerty nodes like you !
Hope your Snow emergency day is not so bad, I'm on winter holidays, snowboarding in France (les Alpes), and at the end of the day, I work a little bit for my students 😉 !
Thanks a lot, I hold back 2 important things from this discussion :
1 : possibility to create a task in MAX (very usefull)
2 : oversampling, with free noise reduction, and works with "each" sample ....
King regards,
David
02-21-2019 07:53 AM
Cher David,
Je vous en prie. Your students are lucky to have a teacher who works while snowboarding in les Alpes.
Bob Schor
02-22-2019 11:05 AM
😉 !
See you soon, perhaps one day I will need your precious help again for another "problem" !