I have LV 8 and PCI 6025E.
Using the new global virtual channels, and DAQmx, how do I have a VI that will intialize three global virtual channels/ports?
digital port A, B and C of PCI 6025E.
Pseudocode
array of virtual channels VC [ portA, portB, portC];
array of boolean portdata;
portdata = {false, false, false, false, false, false, false, false }; /* port ABC:0 - 7 */
For vc = portA to portC {
initializedigitalPort (VC, portdata); /* pass in virtual channels port A, B and C */
}
next port;
------------------------------------------------------------
begin of initializedigitalPort ( globalvirtualchannel VC, arrayofboolean portdata)
{
createtask (VC)
writetodigitalport ( task, portdata);
cleartask;
}
Please give me an example in LabView 8 and DAQmx for doing this, especially the for loop
Next;