07-04-2016 03:18 AM
Good morning,
I’m searching a possibility to set the minimum time between conversions (NI9205) during the runtime in the block diagram. It’s important to edit this setting without editing the module properties dialog and recompiling the VI.
Thanks for all suggestions.
Greetings
Marcel
07-04-2016 06:44 AM
07-05-2016 12:50 AM
Hi Marcel,
unfortunately there is no Node where you could set this Property programmatically. I was wondering what your purpose behind your request is, why do you need to change this property on runtime? Maybe there is another solution. In case you missed it, here is some further information to this Property:
Conversion Timing for the NI 92059206 (FPGA Interface) - CompactRIO Reference and Procedures (FPGA Interface) - National Instruments
http://zone.ni.com/reference/en-XX/help/370984R-01/criodevicehelp/conversion_timing/
Best Regards,
Gregor
07-06-2016 01:29 AM
Thanks for reply,
the main problem is, that I've to modify an existing project and I would like to edit it as little as possible.
The current programm requests 1..32 AD-conversions parallel in seperate nodes and I need to slow down the time between the channels because of ghosting caused by high-impedance (MOhm) inputs. Depending on the measurment task a higher sampling rate could be needed. The sampling rate should be set without recompiling the module.
Is there a way to set/slow down the sampling rate without modifying the parallel structure of the current programm?
Marcel
08-01-2016 07:23 AM
Hi Marcel,
sorry for the late reply. From my understanding, the the system choses always the fastest sample rate from the two configuration possibilitys. That means, if you specify a minimum time between conversions of 10µs and you have 10 channels, the rate is 100µs. Now if you call the Node inside a loop and specify a faster loop rate, for example 50µs, The minimum time between conversions will be overwritten.
A possible option for you would be to set the minimum time between conversions to a very slow rate and then control the actual rate with the loop timer.
08-01-2016 07:44 AM