05-05-2007 09:00 PM
05-07-2007 12:50 PM
Dhawal,
I would like to ask for a bit more clarification about your project and what you are trying to accomplish. Are you looking for a trigger so that when AI6 crosses a voltage level, the entire task starts? The ‘Start >> Analog Window’ is the trigger type you are looking for, but is not supported in the cDAQ chassis (9172 specifications - http://www.ni.com/pdf/manuals/371747c.pdf). One example you may look at, although software timed, is Cont Acq&Graph Voltage-Analog SW Trigger.vi (Help >> Find Examples… >> Hardware Input and Output >. DAQmx >> Analog measurements >> Voltage)
05-08-2007 01:15 AM
05-08-2007 04:03 PM
05-08-2007 06:25 PM
Dhawal,
My best suggestion is to have your setup the exact same as the example previously mentioned. I re-examined the shipping example, and the reason why your .01 input is being rounded to .00 is because of the settings for the ‘Level’ control. Right-click on the control, and choose ‘properties’. Go to the ‘data range’ tab, and then change the ‘Increment’ setting from ‘Coerce to nearest’ to ‘Ignore’. This will eliminate rounding all together. I did not quite follow ‘calling a macro’, but strongly feel the software trigger is going to accomplish what you are looking for.