Folks -
PCI-6225 DAQ board with one scb, one scc term block. Have been running in a Mac G5 with c routines, but now need to move the DAQ board to an XP box and use LV 8.5.1. need to start a task for 2500 samples on 17 differential channels, and would prefer to use the DAQmx vis (I think)to change sample count etc programmatically, rather than set tasks in MAX or in express vis. Sample clock timing, triggers, etc are all straightforward c to vis but I don't get the string formatting in e.g. DAQCreateVirtualChannel.vi.
thanks
Alex
已解決! 轉到解決方案。
在 04-04-2009 09:28 PM
Hey Alex,
You'll want to either make a control or indicator into the channel input of your DAQmxCreateVirtualChannel.vi and your syntax will be: Dev1/ai0:7,Dev1/ai16:23,Dev1/ai32 -so pretty much like you had it. LabVIEW does a pretty good job at not letting you enter improper syntax, and should populate your available channels and devices automatically. Happy programming!
aNitaB -
Here's my modified ACQ&Graph Voltage Int Clk -Dig Trig.vi with a few mods :
1.) I named my board "6225-pci" in MAX.
2.) Eight diff channels in.
3.) clock + trig as the old hardware (when it was running on mac in c).
I can see 16 channels, but not 8 combined differentially. Help ?
thanks
04-06-2009 11:01 AM - 已編輯 04-06-2009 11:03 AM
(banging head on desk) . Looks like I have a new hardware problem. I had not been seeing signals I had expected, and assumed that the problem was the channel assignment syntax, which was actually working. As soon as I tried index array on the waveforms back from the read vi ( after you pointed out the bonehaead nature of the question) , all became clear.
thanks for pointing that out.
Alex